List All Assets From All Wallets

Through this endpoint customers can obtain information about available assets in all of their wallets, regardless of the blockchain protocol or network.

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /wallet-as-a-service/wallets/all-assets

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 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
        coins array
        • Required
          blockchain string

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

          Example : bitcoin
        • Required
          confirmedBalance string

          Defines the total balance of the address that is confirmed. It doesn't include unconfirmed transactions.

          Example : 0.00009179
        • 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 : testnet
        • Required
          totalReceived string

          Defines the total amount of all coins received to the address, based on confirmed transactions.

          Example : 5.6
        • Required
          totalSpent string

          Defines the total amount of all spent by this address coins, based on confirmed transactions.

          Example : 2.1
        • Required
          unit string

          Represents the unit of the confirmed balance.

          Example : BTC
      • Required
        fungibleTokens array

        Represents fungible tokens'es detailed information

        • Required
          amount string

          Defines the amount of the fungible tokens.

          Example : 0.254
        • Required
          blockchain string

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

          Example : ethereum
        • Required
          identifier string

          Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract.

          Example : 0xdac17f958d2ee523a2206206994597c13d831ec7
        • 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 : mainnet
        • Required
          symbol string

          Defines the symbol of the fungible tokens.

          Example : USDT
        • Required
          type string

          Defines the specific token type.

          Example : ERC-20
      • Required
        nonFungibleTokens array

        Represents non-fungible tokens'es detailed information.

        • Required
          blockchain string

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

          Example : ethereum
        • Required
          identifier string

          Defines the specific token identifier. For Bitcoin-based transactions it should be the propertyId and for Ethereum-based transactions - the contract.

          Example : 0x90ca8a3eb2574f937f514749ce619fdcca187d45
        • 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 : goerli
        • Required
          symbol string

          Defines the symbol of the non-fungible tokens.

          Example : ENS
        • Required
          tokenId string

          Represents tokens' unique identifier.

          Example : 0x000000000000000000000000000000000000000000000000000000000000195b
        • Required
          type string

          Defines the specific token type.

          Example : ERC-721
      • Required
        walletId string

        Defines the unique ID of the Wallet.

        Example : 60c9d9921c38030006675ff6
      • Required
        walletName string

        Represents the name of the wallet.

        Example : exampleName

Credits Cost : 500 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/wallet-as-a-service/wallets/all-assets?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": [
            {
                "coins": [
                    {
                        "blockchain": "bitcoin",
                        "confirmedBalance": "0.00009179",
                        "network": "testnet",
                        "totalReceived": "5.6",
                        "totalSpent": "2.1",
                        "unit": "BTC"
                    }
                ],
                "fungibleTokens": [
                    {
                        "amount": "0.254",
                        "blockchain": "ethereum",
                        "identifier": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                        "network": "mainnet",
                        "symbol": "USDT",
                        "type": "ERC-20"
                    }
                ],
                "nonFungibleTokens": [
                    {
                        "blockchain": "ethereum",
                        "identifier": "0x90ca8a3eb2574f937f514749ce619fdcca187d45",
                        "network": "goerli",
                        "symbol": "ENS",
                        "tokenId": "0x000000000000000000000000000000000000000000000000000000000000195b",
                        "type": "ERC-721"
                    }
                ],
                "walletId": "60c9d9921c38030006675ff6",
                "walletName": "exampleName"
            }
        ]
    }
}