Jump to
Ctrl
+
/

List Vaults by Asset ID

GET
/assets/{assetId}/{blockchain}/vaults/{networkType}

This endpoint allows users to retrieve information about their specific asset in all their vaults.

Path Parameters

assetId string Required

The specific asset ID for the blockchain.

blockchain string Required

The specific blockchain, e.g Bitcoin, Ethereum, Binance Smart Chain, Tron.

networkType string Required

The specific type of the vault - MAIN or TEST (small or capital letters).

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
exchangeRate string Required

The current exchange rate.

1.2
vaults array Items (object) Required
allocatedAmount string Required

Allocated amount of the specific asset in the Vault.

2
availableAmount string Required

Available amount of the specific asset in the Vault.

3.1
blockedAmount string Required

Blocked amount of the specific asset in the Vault.

0
totalAmount string Required

Total amount of the specific asset in the Vault.

5.00001
vaultColor string Required

The specific color of the Vault.

#FF991F
vaultId string Required

Defines the unique ID of the Vault which contains the specific asset.

654a4ad6d6aeb3000769074d
vaultName string Required

The name of the Vault.

Main Vault
vaultType string Required

Represents the type of the Vault, e.g. Smart, General.

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

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "exchangeRate": "1.2",
            "vaults": [
                {
                    "allocatedAmount": "2",
                    "availableAmount": "3.1",
                    "blockedAmount": "0",
                    "totalAmount": "5.00001",
                    "vaultColor": "#FF991F",
                    "vaultId": "654a4ad6d6aeb3000769074d",
                    "vaultName": "Main Vault",
                    "vaultType": "general"
                }
            ]
        }
    }
}