Get Wallet Asset Details

Through this endpoint customers can obtain details on all assets (coins, fungible tokens, non-fungible tokens) for the entire Wallet.

Single Result - This endpoint returns only one single result. GET /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}

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

    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 : 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
      item object
      • Required
        confirmedBalance object

        Specifies the confirmed balance.

        • Required
          amount string

          Specifies the amount of the confirmed balance.

          Example : 0.0101
        • Required
          unit string

          Specifies the unit of the amount of the confirmed balance.

          Example : ETH
      • Required
        depositAddressesCount integer

        Specifies the count of deposit addresses in the Wallet.

        Example : 5
      • Required
        fungibleTokens array

        Represents fungible tokens'es detailed information

        • Required
          confirmedAmount string

          Defines the amount of the fungible tokens.

          Example : 0.254
        • 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
          symbol string

          Defines the symbol of the fungible tokens.

          Example : USDT
        • Required
          type string

          Defines the specific token type.

          Example : ERC-20
      • Required
        name string

        Defines the name of the Wallet given to it by the user.

        Example : main vault
      • Required
        nonFungibleTokens array

        Represents non-fungible tokens'es detailed information.

        • 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
          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
        recievedConfirmedAmount object

        Specifies the confirmed amount that has been received.

        • Required
          amount string

          Specifies the confirmed amount that has been received.

          Example : 0.0345
        • Required
          unit string

          Specifies the unit of the confirmed amount that has been received.

          Example : ETH
      • Required
        sentConfirmedAmount object

        Specifies the confirmed amount that has been sent.

        • Required
          amount string

          Specifies the confirmed amount that has been sent.

          Example : 0.0134
        • Required
          unit string

          Specifies the unit of the confirmed amount that has been sent.

          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/60c9d9921c38030006675ff6/ethereum/sepolia?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "confirmedBalance": {
                "amount": "0.0101",
                "unit": "ETH"
            },
            "depositAddressesCount": 5,
            "fungibleTokens": [
                {
                    "confirmedAmount": "0.254",
                    "identifier": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                    "symbol": "USDT",
                    "type": "ERC-20"
                }
            ],
            "name": "main vault",
            "nonFungibleTokens": [
                {
                    "identifier": "0x90ca8a3eb2574f937f514749ce619fdcca187d45",
                    "symbol": "ENS",
                    "tokenId": "0x000000000000000000000000000000000000000000000000000000000000195b",
                    "type": "ERC-721"
                }
            ],
            "recievedConfirmedAmount": {
                "amount": "0.0345",
                "unit": "ETH"
            },
            "sentConfirmedAmount": {
                "amount": "0.0134",
                "unit": "ETH"
            }
        }
    }
}