Home

ListOwnedObjects

POST
https://iota-grpc.nownodes.io/iota.grpc.v1.state_service.StateService/ListOwnedObjects

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Lists the Owned Objects held by an address from the iota.grpc.v1.state_service.StateService gRPC service. An optional objectType filter restricts results (for example 0x2::coin::Coin<0x2::iota::IOTA>). Results are paginated (default 50, max 1000); the default read_mask is reference,bcs. Pagination fix: a page no longer skips an unchanged entry when the entry referenced by the page token changed between requests (for example, the cursor coin balance changed).

Full method:

Copied!
iota.grpc.v1.state_service.StateService/ListOwnedObjects

Endpoint: iota-grpc.nownodes.io (gRPC, TLS). Pass the API key in the api-key metadata header.

Example:

Copied!
grpcurl \
  -insecure \
  -H 'api-key: YOUR_API_KEY' \
  -d '{"owner":{"address":"BASE64_ADDRESS"},"objectType":"0x2::coin::Coin<0x2::iota::IOTA>","pageSize":50}' \
  'iota-grpc.nownodes.io' \
  iota.grpc.v1.state_service.StateService/ListOwnedObjects

Body

application/json
object

Response

200OK

A successful response.