Jump to
Ctrl
+
/

List Assets By Vault

GET
/vaults/{vaultId}/assets

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

Path Parameters

vaultId string Required

Defines the unique ID of the Vault.

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.

2024-05-09
requestId string Required

Defines the ID of the request. The requestId is generated by Vaultody 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
assets array Items (object) Required
assetData object Required
allocatedAmount string Required

Represents the allocated amount of the asset in the particular vault.

0
availableAmount string Required

Represents the available amount of the asset in the particular vault.

986.1
blockedAmount string Required

Represents the blocked amount of the asset in the particular vault.

0
contract string Required

Represents the token identifier.

0x1c7d4b196cb0c7b01d743fbc6116a902379c7238
standard string Required

Represents the token standard, e.g. ERC-20, TRC-20.

ERC-20
totalAmount string Required

Represents the amount of the asset in the particular vault.

986.1
assetId string Required

Represents the specific asset ID.

6523e058a06ebf1322d7dd6f
blockchain string Required

Represents the blockchain of the asset in the particular vault, e.g. Bitcoin, Ethereum, Binance Smart Chain, Tron.

bitcoin
exchangeRate string Required

Represents the exchange rate of the asset.

0.9999615316886441
network string Required

Represents the network of the asset in the particular vault, e.g. Testnet, Sepolia, Nile.

mainnet
symbol string Required

The specific asset symbol, e.g BTC, ETH, BNB, TRX, USDT, USDC.

BTC
type string Required

Represents the type of the asset - COIN/TOKEN

COIN
Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "assets": [
                {
                    "assetData": {
                        "allocatedAmount": "0",
                        "availableAmount": "986.1",
                        "blockedAmount": "0",
                        "contract": "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
                        "standard": "ERC-20",
                        "totalAmount": "986.1"
                    },
                    "assetId": "6523e058a06ebf1322d7dd6f",
                    "blockchain": "bitcoin",
                    "exchangeRate": "0.9999615316886441",
                    "network": "mainnet",
                    "symbol": "BTC",
                    "type": "COIN"
                }
            ]
        }
    }
}