List All Assets By Wallet ID

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

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

Path Parameters

  • Required
    walletId string

    Defines the unique ID of the 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.

    Example : yourExampleString

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.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 : yourExampleString
  • Required
    data object
    • Required
      item object
      • 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", "ropsten" 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", "ropsten" 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", "ropsten" are test networks.

          Example : ropsten
        • 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 : 5 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/v2/wallet-as-a-service/wallets/60c9d9921c38030006675ff6/assets?context=yourExampleString
Headers
Host: https://rest.cryptoapis.io/v2
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2.0.0",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "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": "ropsten",
                    "symbol": "ENS",
                    "tokenId": "0x000000000000000000000000000000000000000000000000000000000000195b",
                    "type": "ERC-721"
                }
            ],
            "walletId": "60c9d9921c38030006675ff6",
            "walletName": "exampleName"
        }
    }
}