ListBalances
Parameters:
owner - string Required. The owner's Sui address.
page_size - uint32 The maximum number of balance entries to return. The service may return fewer than this value. If unspecified, at most 50
entries will be returned. The maximum value is 1000
; values above 1000
will be coerced to 1000
.
page_token - bytes A page token, received from a previous ListBalances
call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListBalances
must match the call that provided the page token.
Returns:
balances - Balance The list of coin types and their respective balances.
next_page_token - bytes A token, which can be sent as page_token
to retrieve the next page. If this field is omitted, there are no subsequent pages.
Example:
grpcurl -proto .sui/rpc/v2beta2/live_data_service.proto
-H "x-token: YOUR_TOKEN_VALUE"
-d
'{
"owner": "0x0feb54a725aa357ff2f5bc6bb023c05b310285bd861275a30521f339a434ebb3"
}'
sui.blockpi.network sui.rpc.v2beta.LiveDataService/ListBalances
Last updated
Was this helpful?