Method Name
public/get_vault_balances
public/get_vault_balancesGet all vault assets held by user. Can query by smart contract address or smart contract owner.
Includes VaultERC20Pool balances
Parameters
|
smart_contract_owner
string If wallet not provided, can query balances by EOA that owns smart contract wallet |
|
wallet
string Ethereum wallet address of smart contract |
Response
| id string or integer required |
| result array of objects required |
| result[]. address string required |
| result[]. amount string required |
| result[]. chain_id integer required |
| result[]. name string required |
| result[]. vault_asset_type string required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}