Sui 풀 노드 gRPC 메시지 및 타입 정의
이 페이지는 Sui 풀 노드 gRPC API의 모든 메시지, enum, scalar 타입 정의를 나열한다.
sui/rpc/v2/ledger_service.proto
Messages
BatchGetObjectsRequest
Fields
read_mask
Proto3 optional
Mask specifying which fields to read. If no mask is specified, defaults to
object_id,version,digest.requests
Repeated []
BatchGetObjectsResponse
BatchGetTransactionsRequest
BatchGetTransactionsResponse
GetCheckpointRequest
Fields
read_mask
Proto3 optional
Mask specifying which fields to read. If no mask is specified, defaults to
sequence_number,digest.Union field checkpoint_id can be only one of the following.
digest
The digest of the requested checkpoint.
sequence_number
The sequence number of the requested checkpoint.
GetCheckpointResponse
GetEpochRequest
GetEpochResponse
GetObjectRequest
Fields
object_id
read_mask
Proto3 optional
Mask specifying which fields to read. If no mask is specified, defaults to
object_id,version,digest.version
Proto3 optional
Request a specific version of the object. If no version is specified, and the object is live, then the latest version of the object is returned.
GetObjectResponse
GetServiceInfoRequest
GetServiceInfoResponse
Fields
chain
Proto3 optional
Human-readable name of the chain that this node is on. This is intended to be a human-readable name like
mainnet, testnet, and so on.chain_id
Proto3 optional
The chain identifier of the chain that this node is on. The chain identifier is the digest of the genesis checkpoint, the checkpoint with sequence number 0.
checkpoint_height
epoch
lowest_available_checkpoint
Proto3 optional
The lowest checkpoint for which checkpoints and transaction data are available.
lowest_available_checkpoint_objects
server
timestamp
GetTransactionRequest
GetTransactionResponse
GetTransactionResult
sui/rpc/v2/signature_verification_service.proto
Messages
VerifySignatureRequest
Fields
address
Proto3 optional
Optional. Address to validate against the provided signature. If provided, this address will be compared against the the address derived from the provide signature and a successful response will only be returned if they match.
jwks
Repeated []
The set of JWKs to use when verifying Zklogin signatures. If this is empty the current set of valid JWKs stored onchain will be used
message
Proto3 optional
The message to verify against. Today the only supported message types are
PersonalMessage and TransactionData and the Bcs.name must be set to indicate which type of message is being verified.signature
sui/rpc/v2/checkpoint.proto
Messages
Checkpoint
Fields
contents
digest
objects
Proto3 optional
Set of objects either referenced as inputs or produced as outputs by transactions included in this checkpoint. In order to benefit from deduplication of objects that appear in multiple transactions in this checkpoint, objects will only be present here and the
transactions.objects field will not be populated.sequence_number
signature
Proto3 optional
An aggregated quorum signature from the validator committee that certified this checkpoint.
summary
transactions
sui/rpc/v2/transaction_execution_service.proto
Messages
CommandOutput
CommandResult
An intermediate result/output from the execution of a single command
ExecuteTransactionRequest
Fields
read_mask
Proto3 optional
Mask specifying which fields to read. If no mask is specified, defaults to
effects.status,checkpoint.signatures
Repeated []
Set of
UserSignatures authorizing the execution of the provided transaction.transaction
ExecuteTransactionResponse
Response message for NodeService.ExecuteTransaction.
SimulateTransactionRequest
Fields
checks
Proto3 optional
Specify whether checks should be ENABLED (default) or DISABLED while executing the transaction
do_gas_selection
Proto3 optional
Perform gas selection based on a budget estimation and include the selected gas payment and budget in the response. This option will be ignored if
checks is DISABLED.read_mask
transaction
Proto3 optional
SimulateTransactionResponse
Fields
command_outputs
Repeated []
suggested_gas_price
Proto3 optional
A suggested gas price to use, that is above RGP, in order to provide a better chance of the transaction being included in the presence of congested objects.
transaction
Proto3 optional
Enums
TransactionChecks
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
Values
ENABLEDDISABLEDsui/rpc/v2/event.proto
Messages
Event
An event.
Fields
contents
event_type
json
module
Proto3 optional
Module name of the top-level function invoked by a
MoveCall command that triggered this event to be emitted.package_id
Proto3 optional
Package ID of the top-level function invoked by a
MoveCall command that triggered this event to be emitted.sender
sui/rpc/v2/input.proto
Messages
FundsWithdrawal
Input
An input to a user transaction.
Fields
digest
funds_withdrawal
kind
Proto3 optional
literal
mutability
Proto3 optional
NOTE: For backwards compatibility purposes the addition of the new
NON_EXCLUSIVE_WRITE mutability variant requires providing a new field. The old mutable field will continue to be populated and respected as an input for the time being.mutable
object_id
pure
Proto3 optional
A move value serialized as BCS. For normal operations this is required to be a move primitive type and not contain structs or objects.
version
Proto3 optional
Requested version of the input object when
kind is IMMUTABLE_OR_OWNED or RECEIVING or if kind is SHARED this is the initial version of the object when it was sharedEnums
Source
Values
SOURCE_UNKNOWNSENDERSPONSORInputKind
Values
INPUT_KIND_UNKNOWNPUREA move value serialized as BCS.
IMMUTABLE_OR_OWNEDA Move object that is either immutable or address owned.
SHAREDA Move object whose owner is "Shared".
RECEIVINGA Move object that is attempted to be received in this transaction.
FUNDS_WITHDRAWALReservation to withdraw balance from a funds accumulator
Mutability
Values
MUTABILITY_UNKNOWNIMMUTABLEMUTABLENON_EXCLUSIVE_WRITENon-exclusive write is used to allow multiple transactions to simultaneously add disjoint dynamic fields to an object. (Currently only used by settlement transactions).
sui/rpc/v2/executed_transaction.proto
Messages
ExecutedTransaction
Fields
balance_changes
Repeated []
checkpoint
digest
effects
events
Proto3 optional
The
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.objects
Proto3 optional
Set of objects either referenced as inputs or produced as outputs from this Transaction.
signatures
Repeated []
List of user signatures that are used to authorize the execution of this transaction.
timestamp
transaction
sui/rpc/v2/error_reason.proto
Enums
ErrorReason
Values
ERROR_REASON_UNKNOWNFIELD_INVALIDFIELD_MISSING