# GetTransactionsResponse

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    ErrorEmpty:
      type: array
      items:
        type: object
        properties: {}
        x-apidog-orders: []
      maxItems: 0
      x-apidog-folder: ''
    ProviderId:
      type: string
      enum:
        - coinbase
        - gemini
        - kraken
        - binance-us
        - ethereum
        - bitcoin
        - fidelity
      description: >-
        Provider holding the assets, e.g. an exchange (e.g. Coinbase) or chain
        (Bitcoin, Ethereum).
      x-apidog-folder: ''
    PageData:
      type: object
      properties:
        next_uri:
          type: string
          description: URL for the next page
          format: uri-reference
          examples:
            - >-
              /transactions?start_time=2025-11-22T23%3A45%3A50Z&end_time=2026-01-25T22%3A47%3A34Z&limit=30&cursor=DLVsbG8sIFdvcmxkIQ==
      x-apidog-orders:
        - next_uri
      x-apidog-folder: ''
    UncategorizedTransaction:
      title: Uncategorized transaction data
      description: Uncategorized transaction data
      type: object
      x-apidog-refs:
        01KGSN8FWHH3335XXDTGF6B5CK: &ref_1
          $ref: '#/components/schemas/BaseTransaction'
          x-apidog-overrides: {}
      properties:
        input:
          allOf:
            - &ref_0
              $ref: '#/components/schemas/CurrencyValue'
          description: The transaction amount without any fees applied.
        output:
          allOf:
            - *ref_0
          description: The transaction amount with fees applied.
      x-apidog-orders:
        - 01KGSN8FWHH3335XXDTGF6B5CK
        - input
        - output
      x-apidog-folder: ''
    InputOutputTransaction:
      title: Transactions with input and output
      description: Input/output transaction data
      type: object
      x-apidog-refs:
        01KGSN3QQH9ZFM3R69Z9VWWQD3: *ref_1
      properties:
        input:
          allOf:
            - *ref_0
          description: The transaction amount without any fees applied.
        output:
          allOf:
            - *ref_0
          description: The transaction amount with fees applied.
      required:
        - input
        - output
      x-apidog-orders:
        - 01KGSN3QQH9ZFM3R69Z9VWWQD3
        - input
        - output
      x-apidog-folder: ''
    OutputOnlyTransaction:
      title: Output only transaction data
      description: Output only transaction data
      type: object
      x-apidog-refs:
        01KGSN20XXAFGGD2FYKHD3WVFH: *ref_1
      properties:
        output:
          allOf:
            - *ref_0
          description: The transaction amount with fees applied.
      required:
        - output
      x-apidog-orders:
        - 01KGSN20XXAFGGD2FYKHD3WVFH
        - output
      x-apidog-folder: ''
    ReceiveTransaction:
      title: Receive transaction data
      description: Receive transaction data
      type: object
      x-apidog-refs:
        01KGSN2X4MRQWKJBF9W4D2QK52: *ref_1
      properties:
        output:
          allOf:
            - *ref_0
          description: The transaction amount with fees applied.
        senders:
          type: array
          items:
            type: string
            x-apidog-mock: '{{$string.alphanumeric(length=42)}}'
          description: Addresses the transaction was sent from.
      required:
        - output
      x-apidog-orders:
        - 01KGSN2X4MRQWKJBF9W4D2QK52
        - output
        - senders
      x-apidog-folder: ''
    SendTransaction:
      title: Send transaction data
      description: Send transaction data
      type: object
      x-apidog-refs:
        01KGSN0GC2CFDSXQRC35MHKCF6: *ref_1
      properties:
        input:
          allOf:
            - *ref_0
          description: The transaction amount without any fees applied.
        receivers:
          type: array
          items:
            type: string
            x-apidog-mock: '{{$string.alphanumeric(length=42)}}'
          description: Addresses the transaction was sent to.
      required:
        - input
      x-apidog-orders:
        - 01KGSN0GC2CFDSXQRC35MHKCF6
        - input
        - receivers
      x-apidog-folder: ''
    InputOnlyTransaction:
      title: Input only transactions
      description: Input only transactions
      type: object
      x-apidog-refs:
        01KGSMZ4EPS4BA980745P909J4: *ref_1
      properties:
        input:
          allOf:
            - *ref_0
          description: The transaction amount without any fees applied.
      required:
        - input
      x-apidog-orders:
        - 01KGSMZ4EPS4BA980745P909J4
        - input
      x-apidog-folder: ''
    BaseTransaction:
      description: Data common to all transaction types
      title: Transactions data
      type: object
      properties:
        timestamp:
          type: string
          description: >-
            The time the transaction settled as a string timestamp (ISO-8601
            UTC).
          format: date-time
          x-apidog-mock: '{{$date.isoTimestamp}}'
        transaction_type:
          description: The semantic interpretation of the transaction.
          allOf:
            - $ref: '#/components/schemas/TransactionType'
        categorization:
          description: >-
            Transaction categorization details show more information about what
            this transaction does.
          allOf:
            - $ref: '#/components/schemas/TransactionCategorization'
        fee:
          description: Shows fee from transacting with the exchange or network involved.
          allOf:
            - $ref: '#/components/schemas/FeeObject'
        metadata:
          type: string
          description: Optional, additional data for a transaction.
        provider_id:
          description: >-
            The facilitator of the transaction. This could be an exchange,
            crypto network, or wallet client. Valid values include "coinbase" or
            "bitcoin".
          allOf:
            - $ref: '#/components/schemas/ProviderId'
        provider_transaction_id:
          type: string
          description: >-
            The identifier given to this transaction by the exchange it was
            fetched from.
          x-apidog-mock: '{{$string.nanoid(min=20,max=20)|upper}}'
        hashed_txn:
          type: string
          description: Unique calico identifier for a transaction.
          x-apidog-mock: '{{$string.alphanumeric(length=36)}}'
        connection_id:
          type: string
          format: uuid
          description: >-
            A unique, anonymous Calico identifier for the connected exchange or
            wallet that holds this asset or transaction.
          x-apidog-mock: '{{$string.uuid}}'
        wallet_address_redacted:
          type: string
          deprecated: true
          description: The last four characters of the wallet address.
      x-apidog-orders:
        - provider_transaction_id
        - timestamp
        - provider_id
        - transaction_type
        - categorization
        - fee
        - metadata
        - hashed_txn
        - wallet_address_redacted
        - connection_id
      required:
        - hashed_txn
        - provider_id
        - transaction_type
        - timestamp
        - connection_id
      x-apidog-folder: ''
    CurrencyValue:
      type: object
      properties:
        value:
          type: string
          description: The amount of 'currency' for the parent asset
        currency:
          type: string
          description: USD, ETH, BTC, etc.
        asset_type:
          type: string
          enum:
            - NFT
            - COIN
            - FIAT
            - LP_TOKEN
          description: The semantic classification of the asset.
      required:
        - value
        - currency
        - asset_type
      x-apidog-orders:
        - value
        - currency
        - asset_type
      x-apidog-folder: ''
    FeeObject:
      type: object
      properties:
        itemized_receipt:
          description: An array of the fees that apply to this transaction.
          type: array
          items:
            $ref: '#/components/schemas/FeeItem'
      required:
        - itemized_receipt
      x-apidog-orders:
        - itemized_receipt
      x-apidog-folder: ''
    FeeItem:
      type: object
      properties:
        source:
          type: string
          enum:
            - NETWORK
            - PLATFORM
            - UNCATEGORIZED
          description: >-
            The source of the fee. E.g. an Ethereum gas fee, in which case the
            value would be "NETWORK", or a Coinbase fee, in which case the value
            would be "PLATFORM". If not known, then it is "UNCATEGORIZED".
        value:
          type: string
          description: The amount of the fee, units in "Currency".
        currency:
          type: string
          description: USD, ETH, BTC, etc.
      required:
        - source
        - value
        - currency
      x-apidog-orders:
        - source
        - value
        - currency
      x-apidog-folder: ''
    TransactionType:
      type: string
      description: The semantic interpretation of the transaction.
      enum:
        - BUY
        - SELL
        - SWAP
        - SEND
        - RECEIVE
        - DEPOSIT
        - WITHDRAWAL
        - BRIDGE
        - STAKING
        - UNSTAKING
        - REWARD
        - MINT
        - BURN
        - UNCATEGORIZED
      x-apidog-enum:
        - value: BUY
          name: ''
          description: A digital asset was bought with currency (such as USD).
        - value: SELL
          name: ''
          description: A digital asset was sold for currency (such as USD).
        - value: SWAP
          name: ''
          description: A digital asset was exchanged for another.
        - value: SEND
          name: ''
          description: A digital asset was sent from a wallet or an exchange account.
        - value: RECEIVE
          name: ''
          description: A digital asset was received into a wallet or an exchange account.
        - value: DEPOSIT
          name: ''
          description: A deposit was made into an exchange account.
        - value: WITHDRAWAL
          name: ''
          description: A withdrawal was made from an exchange account.
        - value: BRIDGE
          name: ''
          description: A digital asset was transferred between protocols or networks.
        - value: STAKING
          name: ''
          description: Assets were delegated to a staking pool.
        - value: UNSTAKING
          name: ''
          description: Assets were withdrawn from a staking pool.
        - value: REWARD
          name: ''
          description: >-
            A reward was issued. Often given for staking, mining, interest, or
            crypto card use.
        - value: MINT
          name: ''
          description: A new token or digital asset was created.
        - value: BURN
          name: ''
          description: A token or digital asset was removed from circulation.
        - value: UNCATEGORIZED
          name: ''
          description: A transaction occurred in an uncategorized category.
      x-apidog-folder: ''
    TransactionCategorization:
      type: object
      properties:
        protocol_name:
          type: string
          description: If applicable, the protocol that a contract is involved in.
        contract_type:
          type: string
          enum:
            - STAKING
            - GENERIC_YIELD_BEARING
          description: >-
            If applicable, the semantic interpretation of what the contract is
            doing, "staking" or "generic_yield_bearing".
        network_name:
          type: string
          description: >-
            The name of the network that the transaction happened on for the
            user. E.g. if a user sends ETH from Ethereum to Optimism, the
            network name would be "Ethereum." If the user receives OP, the
            network would be "Optimism."
      x-apidog-orders:
        - protocol_name
        - contract_type
        - network_name
      x-apidog-folder: ''
    GetTransactionsData:
      type: object
      properties:
        transactions:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/InputOnlyTransaction'
              - $ref: '#/components/schemas/SendTransaction'
              - $ref: '#/components/schemas/OutputOnlyTransaction'
              - $ref: '#/components/schemas/ReceiveTransaction'
              - $ref: '#/components/schemas/InputOutputTransaction'
              - $ref: '#/components/schemas/UncategorizedTransaction'
      x-apidog-orders:
        - transactions
      required:
        - transactions
      x-apidog-folder: ''
    GetTransactionsResponse:
      type: object
      properties:
        page:
          $ref: '#/components/schemas/PageData'
        data:
          $ref: '#/components/schemas/GetTransactionsData'
        errors:
          $ref: '#/components/schemas/ErrorEmpty'
      x-apidog-orders:
        - page
        - data
        - errors
      required:
        - data
        - errors
        - page
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: ''
    description: Cloud Mock
  - url: https://api.getcalico.com
    description: Platform v2
security: []

```
