List Wallet Transactions

Through this endpoint customers can list Transactions from and to their Wallet. The data returned will include transactionId, direction of the transaction - incoming or outgoing, amount and more.

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/transactions

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

    Example : ethereum
    Possible Values : bitcoin bitcoin-cash litecoin dogecoin dash ethereum ethereum-classic xrp zcash binance-smart-chain tron
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

    Example : sepolia
    Possible Values : mainnet testnet mordor nile sepolia
  • Required
    walletId string

    Represents the unique ID of the specific Wallet.

    Example : 629df9dbae857c00073de9c8

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 0

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Required
        direction string

        Defines the direction of the transaction, e.g. incoming, outgoing or even (when the transaction is made to the same wallet).

        Example : incoming
      • Required
        fee object
        • Required
          amount string

          Defines the fee for the transaction.

          Example : 0.00003
        • Required
          convertedAmount string

          Defines the converted amount of the transaction's fee.

          Example : 1.50
        • Required
          exchangeRateUnit string

          Defines the exchange rate for the transaction's unit.

          Example : USD
        • Required
          symbol string

          Defines the unit of the transaction's fee.

          Example : ETH
      • Optional
        fungibleTokens array

        Represents fungible tokens'es detailed information

        • Required
          amount string

          Defines the amount of the fungible tokens.

          Example : 0.254
        • Required
          convertedAmount string

          Defines the tokens' converted amount value.

          Example : 0.0034
        • Required
          exchangeRateUnit string

          Represents token's exchange rate unit.

          Example : USD
        • Required
          name string

          Defines the token's name as a string.

          Example : Tether USD
        • Required
          recipient string

          The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one

          Example : 0x229f7172eab232d09d2de05a3e3b7b79c9abfe3b
        • Required
          sender string

          Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.

          Example : 0x1b7aa44088a0ea95bdc65fef6e5071e946bf7d8f
        • Required
          symbol string

          Defines the symbol of the fungible tokens.

          Example : ETH
        • Required
          tokenDecimals integer

          Defines the decimals of the token, i.e. the number of digits that come after the decimal coma of the token.

          Example : 6
        • Required
          type string

          Defines the specific token type.

          Example : ERC-20
      • Optional
        internalTransactions array
        • Required
          amount string

          Defines the specific amount of the transaction.

          Example : 0.001
        • Required
          convertedAmount string

          Represents the converted amount.

          Example : 4.30365936483792
        • Required
          exchangeRateUnit string

          Defines the base asset symbol to get a rate for.

          Example : USD
        • Required
          operationId string

          Represents the unique internal transaction ID in regards to the parent transaction (type trace address).

          Example : call_0
        • Required
          recipient string

          Represents the recipient address with the respective amount.

          Example : 0x07344b7649c5ff096b0317957d9a208931d04d5e
        • Required
          sender string

          Represents the sender address with the respective amount.

          Example : 0x4b8ec9e58a8b08f3803f84fb52d0a50e84444592
        • Required
          symbol string

          Represents the unique unit symbol.

          Example : ETH
      • Optional
        nonFungibleTokens array

        Represents non-fungible tokens'es detailed information.

        • Required
          convertedAmount string

          Defines the tokens' converted amount value.

          Example : 0.034
        • Required
          exchangeRateUnit string

          Represents token's exchange rate unit.

          Example : USD
        • Required
          name string

          Defines the token's name as a string.

          Example : Axie Infinity
        • Required
          recipient string

          Defines the address to which the recipient receives the transferred tokens.

          Example : 0xdac17f958d2ee523a2206206994597c13d831ec7
        • Required
          sender string

          Defines the address from which the sender transfers tokens.

          Example : 0x65b895f400dae5541d70cbbec07527210158f6e2
        • Required
          symbol string

          Defines the symbol of the non-fungible tokens.

          Example : AXS
        • Required
          tokenId string

          Represents tokens' unique identifier.

          Example : 13383
        • Required
          type string

          Defines the specific token type.

          Example : ERC-721
      • Required
        recipients array

        Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

        • Required
          address string

          The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.

          Example : 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5
        • Required
          amount string

          Represents the amount received to this address.

          Example : 0.00427167
        • Optional
          label string

          Defines a plain text string as a label for the recipient.

          Example : yourStringHere
      • Required
        senders array

        Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

        • Required
          address string

          Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.

          Example : 0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5
        • Required
          amount string

          Represents the total amount sent by this address including the fee.

          Example : 0.0001
        • Optional
          label string

          Defines a plain text string as a label for the sender.

          Example : yourStringHere
      • Required
        status string

        Defines the status of the transaction, if it is confirmed or unconfirmed.

        Example : confirmed
      • Required
        timestamp integer

        Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.

        Example : 1622466746
      • Required
        transactionId string

        Represents the unique TD of the transaction.

        Example : b3ddf04d74e5bd57f3ccb5375db6f39d228ed98cfa1ae9bf959b9406fc975f01
      • Required
        value object
        • Required
          amount string

          Defines the transaction amount.

          Example : 0.001
        • Required
          convertedAmount string

          Defines the converted amount of the transaction as a string.

          Example : 150
        • Required
          exchangeRateUnit string

          Defines the exchange rate's unit.

          Example : USD
        • Required
          symbol string

          Defines the unit of the transaction's amount.

          Example : ETH

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/wallet-as-a-service/wallets/629df9dbae857c00073de9c8/ethereum/sepolia/transactions?context=yourExampleString&limit=50&offset=0
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "direction": "incoming",
                "fee": {
                    "amount": "0.00003",
                    "convertedAmount": "1.50",
                    "exchangeRateUnit": "USD",
                    "symbol": "ETH"
                },
                "fungibleTokens": [
                    {
                        "amount": "0.254",
                        "convertedAmount": "0.0034",
                        "exchangeRateUnit": "USD",
                        "name": "Tether USD",
                        "recipient": "0x229f7172eab232d09d2de05a3e3b7b79c9abfe3b",
                        "sender": "0x1b7aa44088a0ea95bdc65fef6e5071e946bf7d8f",
                        "symbol": "ETH",
                        "tokenDecimals": 6,
                        "type": "ERC-20"
                    }
                ],
                "internalTransactions": [
                    {
                        "amount": "0.001",
                        "convertedAmount": "4.30365936483792",
                        "exchangeRateUnit": "USD",
                        "operationId": "call_0",
                        "recipient": "0x07344b7649c5ff096b0317957d9a208931d04d5e",
                        "sender": "0x4b8ec9e58a8b08f3803f84fb52d0a50e84444592",
                        "symbol": "ETH"
                    }
                ],
                "nonFungibleTokens": [
                    {
                        "convertedAmount": "0.034",
                        "exchangeRateUnit": "USD",
                        "name": "Axie Infinity",
                        "recipient": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                        "sender": "0x65b895f400dae5541d70cbbec07527210158f6e2",
                        "symbol": "AXS",
                        "tokenId": "13383",
                        "type": "ERC-721"
                    }
                ],
                "recipients": [
                    {
                        "address": "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5",
                        "amount": "0.00427167",
                        "label": "yourStringHere"
                    }
                ],
                "senders": [
                    {
                        "address": "0x6f61e3c2fbb8c8be698bd0907ba6c04b62800fe5",
                        "amount": "0.0001",
                        "label": "yourStringHere"
                    }
                ],
                "status": "confirmed",
                "timestamp": 1622466746,
                "transactionId": "b3ddf04d74e5bd57f3ccb5375db6f39d228ed98cfa1ae9bf959b9406fc975f01",
                "value": {
                    "amount": "0.001",
                    "convertedAmount": "150",
                    "exchangeRateUnit": "USD",
                    "symbol": "ETH"
                }
            }
        ]
    }
}