Jump to
Ctrl
+
/

Get HD Wallet (xPub, yPub, zPub) Assets

GET
/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/assets

This endpoint will return details on assets we support for a specified from the customer extended public key (xPub). These could be cryptocurrencies, fungible or non-fungible (NFT) tokens. Each asset has a unique identifier - assetId, and a unique symbol in the form of a string, e.g. "USDT".

Path Parameters

blockchain string Required

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

extendedPublicKey string Required

Defines the account extended publicly known key which is used to derive all child public keys.

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.

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.

derivation string Optional

The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly.

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
fungibleTokens array Items (object) Optional

Represents fungible tokens'es detailed information

amount string Required

Defines the amount of the fungible tokens.

0.100000000000000000
identifier string Required

Represents tokens' contract address.

0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa
symbol string Required

Defines the symbol of the fungible token.

WEENUS
type string Required

Defines the specific token type.

ERC-20
nonFungibleTokens array Items (object) Optional

Represents non-fungible tokens'es detailed information.

identifier string Required

Represents tokens' contract address.

0x90ca8a3eb2574f937f514749ce619fdcca187d45
symbol string Required

Defines the symbol of the non-fungible token.

GA
tokenId string Required

Represents tokens' unique identifier.

0x000000000000000000000000000000000000000000000000000000000000195b
type string Required

Defines the specific token type.

ERC-721
confirmedBalance object Required
amount string Required

Represents the confirmed balance for the specified blockchain protocol.

0.008516447598774679
unit string Required

Specifies the unit of the amount of the confirmed balance.

ETH

Credits Cost : 100 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "fungibleTokens": [
                {
                    "amount": "0.100000000000000000",
                    "identifier": "0x101848d5c5bbca18e6b4431eedf6b95e9adf82fa",
                    "symbol": "WEENUS",
                    "type": "ERC-20"
                }
            ],
            "nonFungibleTokens": [
                {
                    "identifier": "0x90ca8a3eb2574f937f514749ce619fdcca187d45",
                    "symbol": "GA",
                    "tokenId": "0x000000000000000000000000000000000000000000000000000000000000195b",
                    "type": "ERC-721"
                }
            ],
            "confirmedBalance": {
                "amount": "0.008516447598774679",
                "unit": "ETH"
            }
        }
    }
}