v1

latestOpenAPI 3.0.02026-07-2442242189.1 KB
Balances

RefreshAssetAddressBalance

Refreshes address balance for given address.

post/v2/vaults/{vault_id}:refreshAssetAddressBalance

Path parameters

vault_idstring required

Request body

assetstring required
addressstring required
includeReferencedResourcesboolean

Include referenced resources in the response.

Example request

{
  "asset": "assets/e72ff35a5b15"
}

Response

A successful response.

referencedResourcesobject

A mapping of the referenced resources in the message. The key is the resource name and the value is the corresponding resource. This field is only populated if the includeReferencedResources field is set to true.

Example response

{
  "balance": {
    "asset": "assets/native.ethereum-mainnet",
    "value": "1.3",
    "rawValue": "13000000",
    "frozenValue": "0.3"
  }
}