List Owned Objects
List staking positions for an address by filtering objects of type 0x3::staking_pool::StakedSui via StateService/ListOwnedObjects. Most addresses have no stakes.
Service
sui.rpc.v2.StateService
Parity
Composite
This method is part of a composite mapping for suix_getStakes.
Request
Parameters
{
"owner": "0x0000000000000000000000000000000000000000000000000000000000000000",
"object_type": "0x3::staking_pool::StakedSui"
}
Example (grpcurl)
grpcurl -H "x-api-key: YOUR_API_KEY" \
-d '{"owner":"0x0000000000000000000000000000000000000000000000000000000000000000","object_type":"0x3::staking_pool::StakedSui"}' \
grpc.surflux.dev:443 \
sui.rpc.v2.StateService/ListOwnedObjects
Response
The response structure is defined by the sui/rpc/v2/state_service.proto definition.
Response Fields
| Field | Type | Description |
|---|---|---|
objects | Object | See proto definition |
next_page_token | bytes | See proto definition |
info
For full field definitions, please refer to the Sui Protobuf definitions.