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 a list of data of the same type 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 zcash
  • 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", "ropsten" are test networks.

    Example : ropsten
    Possible Values : mainnet testnet ropsten
  • Required
    walletId string

    Represents the unique ID of the specific Wallet.

    Example : 60c9d9921c38030006675ff6

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.

  • 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 : 10

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 : 2.0
  • 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 : You can add any text here
  • Required
    data object
    • Required
      offset integer

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

      Example : 0
    • Required
      limit integer

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

      Example : 50
    • 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.

        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
      • 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
        • Optional
          tokenIdentifier string

          Defines the token's identifier of the transaction's amount.

          Example : 0x20fe562d797a42dcb3399062ae9546cd06f63280

Credits Cost : 1 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/wallet-as-a-service/wallets/60c9d9921c38030006675ff6/ethereum/ropsten/transactions?limit=50&offset=10
Headers
Host: https://rest.cryptoapis.io/v2
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2.0",
    "requestId": "601c1710034ed6d407996b30",
    "context": "You can add any text here",
    "data": {
        "offset": 0,
        "limit": 50,
        "total": 100,
        "items": [
            {
                "direction": "incoming",
                "fee": {
                    "amount": "0.00003",
                    "convertedAmount": "1.50",
                    "exchangeRateUnit": "USD",
                    "symbol": "ETH"
                },
                "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",
                    "tokenIdentifier": "0x20fe562d797a42dcb3399062ae9546cd06f63280"
                }
            }
        ]
    }
}