gRPCGetObject
sui-mainnet.nodit.io:443 sui.rpc.v2.LedgerService/GetObjectunaryRetrieves the information of the specified object.
Request and response messages are identical for both transports. Only the wire protocol, headers, and client library differ.
- Protocol
- Native gRPC over HTTP/2 with TLS. Suited to server-side clients and grpcurl.
- Content-Type
application/grpc- Headers
x-api-key- Streaming
- Server, client, and bidirectional streaming are all supported.
- Errors
- grpc-status and grpc-message are delivered as HTTP/2 trailers.
Required. The ObjectId of the requested object.
Request a specific version of the object. If no version is specified, and the object is live, the latest version is returned.
The set of field mask paths (e.g. "object_id", "version", "digest").
This Object serialized as BCS.
Name that identifies the type of the serialized value.
Bytes of a BCS serialized value.
ObjectId of the object.
Version of the object.
The digest of this Object.
Owner of the object.
Kind of ownership.
Address or ObjectId of the owner.
The initial_shared_version if kind is SHARED or start_version if kind is CONSENSUS_ADDRESS.
Type of the object.
DEPRECATED. Whether the object has public transfer.
BCS bytes of a Move struct value. Only set for Move structs.
Name that identifies the type of the serialized value.
Bytes of a BCS serialized value.
Package data if the object is a package.
Package ObjectId (storage ID).
ID of the first published version.
Version of the package.
Modules in the package.
Name of the module.
Serialized bytecode.
Datatypes defined in the module.
Fully qualified type name.
Package storage ID that defines the type.
Module name.
Datatype name.
Abilities of the datatype.
Generic type parameters.
Whether it is a struct or enum.
Fields of the datatype.
Variants if the datatype is an enum.
Functions defined in the module.
Name of the function.
Visibility (public/private/public(friend)).
Whether the function is an entry function.
Generic type parameters.
Parameter types.
Return types.
Type origins for the package's types.
Name of the defining module.
Name of the datatype.
Package ID where the type originated.
Transitive dependencies (linkage table).
Original package ID.
Upgraded package ID.
Upgraded package version.
Digest of the transaction that created or last mutated this object.
Storage rebate for the object.
JSON rendering of the object.
Current balance if this object is a 0x2::coin::Coin<T>.
Template-based display rendering.
Substituted display fields.
Fields that failed to render.