Skip to main content

suix_getAllCoins RPC Method

Return all Coin objects owned by an address.

Updated on
Dec 10, 2024

Parameters

owner
string
REQUIRED

The owner's Sui address

cursor
string

The paging cursor

limit
integer

The maximum number of items per page. Defaults to 50 if not specified. Maximum value is 50

Returns

result
object

The result containing the list of coin objects and pagination details

data
array

A list of coin objects with their details

coinType
string

The type of the coin (e.g. token contract address and module)

coinObjectId
string

The unique identifier for the coin object

version
string

The version of the coin object

digest
string

The digest of the coin object

balance
string

The balance of the coin object in its smallest unit

previousTransaction
string

The ID of the previous transaction associated with this coin object

nextCursor
string

The cursor for the next page of results, if available

hasNextPage
boolean

Indicates whether there is another page of results

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free