Refresh asset balance data
POST {{baseUrl}}/vault/accounts/:vaultAccountId/:assetId/balance
Updates the balance of a specific asset in a vault account.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Idempotency-Key
|
string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | |
Accept
|
string |
RESPONSES
status OK
{
"id": "<string>",
"total": "<string>",
"balance": "<string>",
"available": "<string>",
"pending": "<string>",
"frozen": "<string>",
"lockedAmount": "<string>",
"staked": "<string>",
"totalStakedCPU": "<number>",
"totalStakedNetwork": "<string>",
"selfStakedCPU": "<string>",
"selfStakedNetwork": "<string>",
"pendingRefundCPU": "<string>",
"pendingRefundNetwork": "<string>",
"blockHeight": "<string>",
"blockHash": "<string>",
"rewardsInfo": {
"pendingRewards": "<string>"
}
} |
ENDPOINTS