HomeDocumentationAPI Reference
Log In
API Reference

Get Vault Balances

Method Name

public/get_vault_balances

Get all vault assets held by user. Can query by smart contract address or smart contract owner.

Includes VaultERC20Pool balances

Parameters

smart_contract_ownerstring
If wallet not provided, can query balances by EOA that owns smart contract wallet
walletstring
Ethereum wallet address of smart contract

Response

idstring or integerrequired
resultarray of objectsrequired
result[].addressstringrequired
result[].amountstringrequired
result[].chain_idintegerrequired
result[].namestringrequired
result[].vault_asset_typestringrequired

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}