API reference
Vaultody
GET
/vaults/{vaultId}/assets
List Assets by Vault
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
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
Returns 200 the request has been successful.
apiVersion
string
required
Specifies the version of the API that incorporates this endpoint.
requestId
string
required
Defines the ID of the request. The `requestId` is generated by Vaultody and it's unique for every request.
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.
data
object
required
item
object
required
assets
object[]
required
assetData
object
required
allocatedAmount
string
required
Represents the allocated amount of the asset in the particular vault.
availableAmount
string
required
Represents the available amount of the asset in the particular vault.
contractAddress
string
required
Represents the token identifier.
standard
string
required
Represents the token standard, e.g. ERC-20, TRC-20.
totalAmount
string
required
Represents the amount of the asset in the particular vault.
assetId
string
required
Represents the specific asset ID
assetUnit
string
required
The specific asset symbol, e.g BTC, ETH, BNB, TRX, USDT, USDC.
blockchain
string
required
Represents the blockchain of the asset in the particular vault, e.g. Bitcoin, Ethereum, Binance Smart Chain, Tron.
exchangeRateUnit
string
required
Represents the exchange rate of the asset in USD.
network
string
required
Represents the network of the asset in the particular vault, e.g. testnet, sepolia, nile.
type
string
required
Represents the type of the asset - COIN/TOKEN