Skip to main content

get_sweepable_balances

Get the sweepable balances for each currency in your wallet.

Returns

An object with keys as currency and values as the sweepable balance.

Example

Request

{
"id": 1,
"jsonrpc": "2.0",
"method": "get_sweepable_balances",
}

Response

{
"id": 1,
"jsonrpc": "2.0",
"result": {
"SOL": "0",
"spl-USDT": "0",
},
}