Get vault information by id
POST/0/private/GetCustodyVault
Retrieve information and balances for a specific vault.
Request
Query Parameters
Possible values: >= 14 characters
and <= 14 characters
, Value must match regular expression ^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$
Vault ID
- application/json
Body
required
Nonce used in construction of API-Sign
header
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
pending
: The HSM vault is still initializingcreated
: The HSM vault has been createdfailed
: The HSM vault creation has faileddisabled
: The underlying account has been disabled- Array [
- ]
result objectnullable
Metadata of a vault
Possible values: >= 14 characters
and <= 14 characters
, Value must match regular expression ^V[A-Z2-7]{12}[ACEGIKMOQSUWY246]$
An ID uniquely identifying the vault
Possible values: <= 13 characters
Vault creation time
Possible values: <= 13 characters
Last time an attribute of the vault was changed
Count of the number of unique assets for a vault
asset_details object[]required
A list of the assets in this vault
Possible values: non-empty
and <= 16 characters
The asset as ISO x-iso-4217-a3
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Current USD price of the asset
available_balance objectrequired
Available amount of a crypto-asset
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Current USD value of the asset
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Asset quantity
total_balance objectrequired
Total amount of a crypto-asset
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Current USD value of the asset
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Asset quantity
Possible values: [pending
, created
, failed
, disabled
]
Vault status:
Possible values: >= 14 characters
and <= 42 characters
The IIBAN of the vault.
Possible values: non-empty
and <= 32 characters
, Value must match regular expression ^[a-zA-Z0-9\s\/-]+$
Vault name
Possible values: <= 1024 characters
A description of the vault
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Total balance in fiat currency
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Balance percentage daily change relative to midnight's total balance
Possible values: non-empty
and <= 64 characters
, Value must match regular expression ^-?[0-9]+(\.[0-9]+)?$
Available balance in fiat currency
errors object[]required
Possible values: [E
, W
]
API error severity.
{
"result": {
"id": "VW44KPQC4C62K6",
"name": "My Vault 1",
"description": "My vault description",
"created_at": "1710877421",
"updated_at": "1710877421",
"balance_fiat": "1000.0000",
"balance_diff": "1.25",
"available_balance_fiat": "1000.0000",
"count_assets": 3,
"asset_details": [
{
"asset": "BTC",
"current_usd_price": "7.00",
"available_balance": {
"current_usd_value": "20.0",
"quantity": "0.00000500"
},
"total_balance": {
"current_usd_value": "5.00",
"quantity": "0.00001000"
}
}
],
"status": "created",
"iiban": "AA88 N84G AET3 RAOA",
"deposit_lock_rekeying_only": false
},
"errors": [
{
"severity": "E",
"errorClass": "string",
"type": "string",
"errorMessage": "string"
}
]
}