GetBalance
POST GetBalance
GetBalance returns the details of a asset balance.
Request mpcvault.platform.v1.GetBalanceRequest
network_type
network_type is the type of the network.
chain_id
(optional) chain_id is the chain id of the network.
wallet_address
wallet_address this is the wallet address.
token_address
(optional) token_address this is the token address
if not set, it will return the balance of the native token.
Response mpcvault.platform.v1.GetBalanceResponse
balance
The balance is in the smallest denomination.
error
enum mpcvault.platform.v1.NetworkType
0
1
2
3
4
5
6
7