Jump to
Ctrl
+
/

List All Assets By Wallet ID

GET
/wallet-as-a-service/wallets/{walletId}/assets

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.

Path Parameters

walletId string Required

Defines the unique ID of the Wallet.

Query Parameters

context string Optional

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.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2023-04-25
requestId string Required

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

601c1710034ed6d407996b30
context string Optional

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.

yourExampleString
data object Required
item object Required
coins array Items (object) Required
blockchain string Required

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

bitcoin
confirmedBalance string Required

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

0.00009179
network string Required

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", "sepolia" are test networks.

testnet
totalReceived string Required

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

5.6
totalSpent string Required

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

2.1
unit string Required

Represents the unit of the confirmed balance.

BTC
fungibleTokens array Items (object) Required

Represents fungible tokens'es detailed information

amount string Required

Defines the amount of the fungible tokens.

0.254
blockchain string Required

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

ethereum
identifier string Required

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

0xdac17f958d2ee523a2206206994597c13d831ec7
network string Required

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", "sepolia" are test networks.

mainnet
symbol string Required

Defines the symbol of the fungible tokens.

USDT
type string Required

Defines the specific token type.

ERC-20
nonFungibleTokens array Items (object) Required

Represents non-fungible tokens'es detailed information.

blockchain string Required

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

ethereum
identifier string Required

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

0x90ca8a3eb2574f937f514749ce619fdcca187d45
network string Required

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", "sepolia" are test networks.

goerli
symbol string Required

Defines the symbol of the non-fungible tokens.

ENS
tokenId string Required

Represents tokens' unique identifier.

0x000000000000000000000000000000000000000000000000000000000000195b
type string Required

Defines the specific token type.

ERC-721
walletId string Required

Defines the unique ID of the Wallet.

60c9d9921c38030006675ff6
walletName string Required

Represents the name of the wallet.

exampleName

Credits Cost : 500 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "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": "goerli",
                    "symbol": "ENS",
                    "tokenId": "0x000000000000000000000000000000000000000000000000000000000000195b",
                    "type": "ERC-721"
                }
            ],
            "walletId": "60c9d9921c38030006675ff6",
            "walletName": "exampleName"
        }
    }
}