Get Sui Balance
Retrieves the current or historical token balance for a specified SUI blockchain address, with the option to specify a block number for precise point-in-time analysis.
💡 Compute Unit Value: 185 (Fixed)
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/chain/getsuibalance
- AuthAPI key in header X-API-Key
Query parameters
The unique ID to direct queries or transactions to the correct blockchain. Find more here.
The abbreviated chain name for queries or transactions.
The block number for which the balance is to be retrieved. Defaults to the latest block if not specified.
The public address for which the balance is to be retrieved.
The address of the token to retrieve the balance for.
A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"balance": "444322190134",
"prices": {
"usd": [
{
"0x2::sui::SUI": "3.7069046350777892"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.