Sui Full Node gRPC
Sui full node gRPC API replaces JSON-RPC on full nodes. JSON-RPC is deprecated.
sui/rpc/v2/argument.proto
Messages
Argument
An argument to a programmable transaction command.
Enums
ArgumentKind
ARGUMENT_KIND_UNKNOWNGASINPUTProgrammableTransaction inputs).RESULTProgrammableTransaction commands).sui/rpc/v2/signature_verification_service.proto
Messages
VerifySignatureRequest
PersonalMessage and TransactionData and the Bcs.name must be set to indicate which type of message is being verified.VerifySignatureResponse
is_valid is false, this is the reason for why the signature verification failed.Services (signature_verification_service.proto)
SignatureVerificationService
sui/rpc/v2/move_package_service.proto
Messages
GetDatatypeRequest
GetDatatypeResponse
GetFunctionRequest
GetFunctionResponse
GetPackageRequest
GetPackageResponse
ListPackageVersionsRequest
1000 entries will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.ListPackageVersions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListPackageVersions must match the call that provided the page token.ListPackageVersionsResponse
page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.PackageVersion
A simplified representation of a package version
Services (move_package_service.proto)
MovePackageService
sui/rpc/v2/checkpoint_summary.proto
Messages
CheckpointCommitment
A commitment made by a checkpoint.
CheckpointSummary
A header for a checkpoint on the Sui blockchain.
On the Sui network, checkpoints define the history of the blockchain. They are quite similar to the concept of blocks used by other blockchains like Bitcoin or Ethereum. The Sui blockchain, however, forms checkpoints after transaction execution has already happened to provide a certified history of the chain, instead of being formed before execution.
Checkpoints commit to a variety of state, including but not limited to:
- The hash of the previous checkpoint.
- The set of transaction digests, their corresponding effects digests, as well as the set of user signatures that authorized its execution.
- The objects produced by a transaction.
- The set of live objects that make up the current state of the chain.
- On epoch transitions, the next validator committee.
CheckpointSummarys themselves don't directly include all of the previous information but they
are the top-level type by which all the information is committed to transitively via cryptographic
hashes included in the summary. CheckpointSummarys are signed and certified by a quorum of
the validator committee in a given epoch to allow verification of the chain's state.
CheckpointSummary. This will be None only for the first, or genesis, checkpoint.CheckpointSummary is not an evolvable structure - it must be readable by any version of the code. Therefore, to allow extensions to be added to CheckpointSummary, opaque data can be added to checkpoints, which can be deserialized based on the current protocol version.EndOfEpochData
Data, which when included in a CheckpointSummary, signals the end of an Epoch.
ValidatorCommittee for the next epoch.Enums
CheckpointCommitmentKind
CHECKPOINT_COMMITMENT_KIND_UNKNOWNECMH_LIVE_OBJECT_SETCHECKPOINT_ARTIFACTSsui/rpc/v2/transaction_execution_service.proto
Messages
CommandOutput
CommandResult
An intermediate result/output from the execution of a single command
ExecuteTransactionRequest
effects.status,checkpoint.UserSignatures authorizing the execution of the provided transaction.ExecuteTransactionResponse
Response message for NodeService.ExecuteTransaction.
SimulateTransactionRequest
checks is DISABLED.SimulateTransactionResponse
Services (transaction_execution_service.proto)
TransactionExecutionService
Enums
TransactionChecks
ENABLEDDISABLEDsui/rpc/v2/ledger_service.proto
Messages
BatchGetObjectsRequest
object_id,version,digest.BatchGetObjectsResponse
BatchGetTransactionsRequest
digest.BatchGetTransactionsResponse
GetCheckpointRequest
sequence_number,digest.GetCheckpointResponse
GetEpochRequest
epoch.GetEpochResponse
GetObjectRequest
object_id,version,digest.GetObjectResponse
GetObjectResult
GetServiceInfoRequest
GetServiceInfoResponse
mainnet, testnet, and so on.GetTransactionRequest
digest.GetTransactionResponse
GetTransactionResult
Services (ledger_service.proto)
LedgerService
sui/rpc/v2/event.proto
Messages
Event
An event.
MoveCall command that triggered this event to be emitted.MoveCall command that triggered this event to be emitted.TransactionEvents
Events emitted during the successful execution of a transaction.
sui/rpc/v2/owner.proto
Messages
Owner
Enum of different types of ownership for an object.
initial_shared_version if kind is SHARED or start_version if kind CONSENSUS_ADDRESS.Enums
OwnerKind
OWNER_KIND_UNKNOWNADDRESSOBJECTSHAREDIMMUTABLECONSENSUS_ADDRESSsui/rpc/v2/object.proto
Messages
Object
An object on the Sui blockchain.
ObjectSet
Set of Objects
sui/rpc/v2/jwk.proto
Messages
Jwk
A JSON web key.
Struct that contains info for a JWK. A list of them for different kinds can be retrieved from the JWK endpoint (for example, &#lt;https://www.googleapis.com/oauth2/v3/certs>). The JWK is used to verify the JWT token.
JwkId
Key to uniquely identify a JWK.
sui/rpc/v2/effects.proto
Messages
AccumulatorWrite
ChangedObject
Input/output state of an object that was changed during execution.
output_state is OUTPUT_OBJECT_STATE_ACCUMULATOR_WRITETransactionEffects
The effects of executing a transaction.
None if the transaction does not emit any event.changed_objects vector. System transactions that don't require gas will leave this as None.UnchangedConsensusObject
A consensus object that wasn't changed during execution.
Enums
AccumulatorOperation
ACCUMULATOR_OPERATION_UNKNOWNMERGESPLITIdOperation
ID_OPERATION_UNKNOWNNONECREATEDDELETEDInputObjectState
INPUT_OBJECT_STATE_UNKNOWNINPUT_OBJECT_STATE_DOES_NOT_EXISTINPUT_OBJECT_STATE_EXISTSOutputObjectState
OUTPUT_OBJECT_STATE_UNKNOWNOUTPUT_OBJECT_STATE_DOES_NOT_EXISTOUTPUT_OBJECT_STATE_OBJECT_WRITEOUTPUT_OBJECT_STATE_PACKAGE_WRITEOUTPUT_OBJECT_STATE_ACCUMULATOR_WRITEUnchangedConsensusObjectKind
UNCHANGED_CONSENSUS_OBJECT_KIND_UNKNOWNREAD_ONLY_ROOTMUTATE_CONSENSUS_STREAM_ENDEDREAD_CONSENSUS_STREAM_ENDEDCANCELEDPER_EPOCH_CONFIGsui/rpc/v2/executed_transaction.proto
Messages
ExecutedTransaction
TransactionEvents for this transaction. This field might be empty, even if it was explicitly requested, if the transaction didn't produce any events. sui.types.TransactionEffects.events_digest is populated if the transaction produced any events.sui/rpc/v2/name_service.proto
Messages
LookupNameRequest
@name as well as name.sui formats.LookupNameResponse
NameRecord
Field<Domain,NameRecord>.RegistrationNFT assigned to this record. The owner of the corresponding RegistrationNFT has the rights to be able to change and adjust the target_address of this domain. It is possible that the ID changes if the record expires and is purchased by someone else.