Full Node Protocol
sui.node.v2.proto
BalanceChange
Field | Type | Label | Description |
---|---|---|---|
address | Address | optional | |
coin_type | TypeTag | optional | |
amount | I128 | optional |
BalanceChanges
Field | Type | Label | Description |
---|---|---|---|
balance_changes | BalanceChange | repeated |
EffectsFinality
Field | Type | Label | Description |
---|---|---|---|
certified | ValidatorAggregatedSignature | ||
checkpointed | uint64 | ||
quorum_executed | Empty |
ExecuteTransactionOptions
Field | Type | Label | Description |
---|---|---|---|
effects | bool | optional | Include the sui.types.TransactionEffects message in the response.Defaults to false if not included |
effects_bcs | bool | optional | Include the TransactionEffects formatted as BCS in the response.Defaults to false if not included |
events | bool | optional | Include the sui.types.TransactionEvents message in the response.Defaults to false if not included |
events_bcs | bool | optional | Include the TransactionEvents formatted as BCS in the response.Defaults to false if not included |
balance_changes | bool | optional | Include the BalanceChanges in the response.Defaults to false if not included |
ExecuteTransactionRequest
Field | Type | Label | Description |
---|---|---|---|
transaction | Transaction | optional | |
transaction_bcs | Bcs | optional | |
signatures | UserSignatures | optional | |
signatures_bytes | UserSignaturesBytes | optional | |
options | ExecuteTransactionOptions | optional |
ExecuteTransactionResponse
Field | Type | Label | Description |
---|---|---|---|
finality | EffectsFinality | optional | |
effects | TransactionEffects | optional | |
effects_bcs | Bcs | optional | |
events | TransactionEvents | optional | |
events_bcs | Bcs | optional | |
balance_changes | BalanceChanges | optional |
FullCheckpointObject
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
digest | Digest | optional | The digest of this object |
object | Object | optional | |
object_bcs | Bcs | optional |
FullCheckpointObjects
Field | Type | Label | Description |
---|---|---|---|
objects | FullCheckpointObject | repeated |
FullCheckpointTransaction
Field | Type | Label | Description |
---|---|---|---|
digest | Digest | optional | The digest of this transaction |
transaction | Transaction | optional | |
transaction_bcs | Bcs | optional | |
effects | TransactionEffects | optional | |
effects_bcs | Bcs | optional | |
events | TransactionEvents | optional | |
events_bcs | Bcs | optional | |
input_objects | FullCheckpointObjects | optional | |
output_objects | FullCheckpointObjects | optional |
GetCheckpointOptions
Field | Type | Label | Description |
---|---|---|---|
summary | bool | optional | Include the sui.types.CheckpointSummary in the response.Defaults to false if not included |
summary_bcs | bool | optional | Include the CheckpointSummary formatted as BCS in the response.Defaults to false if not included |
signature | bool | optional | Include the sui.types.ValidatorAggregatedSignature in the response.Defaults to false if not included |
contents | bool | optional | Include the sui.types.CheckpointContents message in the response.Defaults to false if not included |
contents_bcs | bool | optional | Include the CheckpointContents formatted as BCS in the response.Defaults to false if not included |
GetCheckpointRequest
Field | Type | Label | Description |
---|---|---|---|
sequence_number | uint64 | optional | |
digest | Digest | optional | |
options | GetCheckpointOptions | optional |
GetCheckpointResponse
Field | Type | Label | Description |
---|---|---|---|
sequence_number | uint64 | optional | The sequence number of this Checkpoint |
digest | Digest | optional | The digest of this Checkpoint's CheckpointSummary |
summary | CheckpointSummary | optional | |
summary_bcs | Bcs | optional | |
signature | ValidatorAggregatedSignature | optional | |
contents | CheckpointContents | optional | |
contents_bcs | Bcs | optional |
GetCommitteeRequest
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional |
GetCommitteeResponse
Field | Type | Label | Description |
---|---|---|---|
committee | ValidatorCommittee | optional |
GetFullCheckpointOptions
Field | Type | Label | Description |
---|---|---|---|
summary | bool | optional | Include the sui.types.CheckpointSummary in the response.Defaults to false if not included |
summary_bcs | bool | optional | Include the CheckpointSummary formatted as BCS in the response.Defaults to false if not included |
signature | bool | optional | Include the sui.types.ValidatorAggregatedSignature in the response.Defaults to false if not included |
contents | bool | optional | Include the sui.types.CheckpointContents message in the response.Defaults to false if not included |
contents_bcs | bool | optional | Include the CheckpointContents formatted as BCS in the response.Defaults to false if not included |
transaction | bool | optional | Include the sui.types.Transaction message in the response.Defaults to false if not included |
transaction_bcs | bool | optional | Include the Transaction formatted as BCS in the response.Defaults to false if not included |
effects | bool | optional | Include the sui.types.TransactionEffects message in the response.Defaults to false if not included |
effects_bcs | bool | optional | Include the TransactionEffects formatted as BCS in the response.Defaults to false if not included |
events | bool | optional | Include the sui.types.TransactionEvents message in the response.Defaults to false if not included |
events_bcs | bool | optional | Include the TransactionEvents formatted as BCS in the response.Defaults to false if not included |
input_objects | bool | optional | Include the input objects for transactions in the response.Defaults to false if not included |
output_objects | bool | optional | Include the output objects for transactions in the response.Defaults to false if not included |
object | bool | optional | Include the sui.types.Object message in the response.Defaults to false if not included |
object_bcs | bool | optional | Include the Object formatted as BCS in the response.Defaults to false if not included |
GetFullCheckpointRequest
Field | Type | Label | Description |
---|---|---|---|
sequence_number | uint64 | optional | |
digest | Digest | optional | |
options | GetFullCheckpointOptions | optional |
GetFullCheckpointResponse
Field | Type | Label | Description |
---|---|---|---|
sequence_number | uint64 | optional | The sequence number of this Checkpoint |
digest | Digest | optional | The digest of this Checkpoint's CheckpointSummary |
summary | CheckpointSummary | optional | |
summary_bcs | Bcs | optional | |
signature | ValidatorAggregatedSignature | optional | |
contents | CheckpointContents | optional | |
contents_bcs | Bcs | optional | |
transactions | FullCheckpointTransaction | repeated |
GetNodeInfoRequest
GetNodeInfoResponse
Field | Type | Label | Description |
---|---|---|---|
chain_id | Digest | optional | The chain identifier of the chain that this Node is on |
chain | string | optional | Human readable name of the chain that this Node is on |
epoch | uint64 | optional | Current epoch of the Node based on its highest executed checkpoint |
checkpoint_height | uint64 | optional | Checkpoint height of the most recently executed checkpoint |
timestamp | Timestamp | optional | Unix timestamp of the most recently executed checkpoint |
lowest_available_checkpoint | uint64 | optional | The lowest checkpoint for which checkpoints and transaction data is available |
lowest_available_checkpoint_objects | uint64 | optional | The lowest checkpoint for which object data is available |
software_version | string | optional |
GetObjectOptions
Field | Type | Label | Description |
---|---|---|---|
object | bool | optional | Include the sui.types.Object message in the response.Defaults to false if not included |
object_bcs | bool | optional | Include the Object formatted as BCS in the response.Defaults to false if not included |
GetObjectRequest
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
options | GetObjectOptions | optional |
GetObjectResponse
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
digest | Digest | optional | The digest of this object |
object | Object | optional | |
object_bcs | Bcs | optional |
GetTransactionOptions
Field | Type | Label | Description |
---|---|---|---|
transaction | bool | optional | Include the sui.types.Transaction message in the response.Defaults to false if not included |
transaction_bcs | bool | optional | Include the Transaction formatted as BCS in the response.Defaults to false if not included |
signatures | bool | optional | Include the set of sui.types.UserSignature's in the response.Defaults to false if not included |
signatures_bytes | bool | optional | Include the set of UserSignature's encoded as bytes in the response.Defaults to false if not included |
effects | bool | optional | Include the sui.types.TransactionEffects message in the response.Defaults to false if not included |
effects_bcs | bool | optional | Include the TransactionEffects formatted as BCS in the response.Defaults to false if not included |
events | bool | optional | Include the sui.types.TransactionEvents message in the response.Defaults to false if not included |
events_bcs | bool | optional | Include the TransactionEvents formatted as BCS in the response.Defaults to false if not included |
GetTransactionRequest
Field | Type | Label | Description |
---|---|---|---|
digest | Digest | optional | |
options | GetTransactionOptions | optional |
GetTransactionResponse
Field | Type | Label | Description |
---|---|---|---|
digest | Digest | optional | The digest of this transaction |
transaction | Transaction | optional | |
transaction_bcs | Bcs | optional | |
signatures | UserSignatures | optional | |
signatures_bytes | UserSignaturesBytes | optional | |
effects | TransactionEffects | optional | |
effects_bcs | Bcs | optional | |
events | TransactionEvents | optional | |
events_bcs | Bcs | optional | |
checkpoint | uint64 | optional | |
timestamp | Timestamp | optional |
UserSignatures
Field | Type | Label | Description |
---|---|---|---|
signatures | UserSignature | repeated |
UserSignaturesBytes
Field | Type | Label | Description |
---|---|---|---|
signatures | bytes | repeated |
sui.types.proto
ActiveJwk
Field | Type | Label | Description |
---|---|---|---|
id | JwkId | optional | |
jwk | Jwk | optional | |
epoch | uint64 | optional |
Address
Field | Type | Label | Description |
---|---|---|---|
address | bytes | optional |
AddressDeniedForCoinError
Field | Type | Label | Description |
---|---|---|---|
address | Address | optional | |
coin_type | string | optional |
Argument
Field | Type | Label | Description |
---|---|---|---|
gas | Empty | ||
input | uint32 | ||
result | uint32 | ||
nested_result | NestedResult |
AuthenticatorStateExpire
Field | Type | Label | Description |
---|---|---|---|
min_epoch | uint64 | optional | |
authenticator_object_initial_shared_version | uint64 | optional |
AuthenticatorStateUpdate
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
round | uint64 | optional | |
new_active_jwks | ActiveJwk | repeated | |
authenticator_object_initial_shared_version | uint64 | optional |
Bcs
Field | Type | Label | Description |
---|---|---|---|
bcs | bytes | optional |
Bn254FieldElement
Field | Type | Label | Description |
---|---|---|---|
element | bytes | optional |
CancelledTransaction
Field | Type | Label | Description |
---|---|---|---|
digest | Digest | optional | |
version_assignments | VersionAssignment | repeated |
CancelledTransactions
Field | Type | Label | Description |
---|---|---|---|
cancelled_transactions | CancelledTransaction | repeated |
ChangeEpoch
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | The next (to become) epoch ID. |
protocol_version | uint64 | optional | The protocol version in effect in the new epoch. |
storage_charge | uint64 | optional | The total amount of gas charged for storage during the epoch. |
computation_charge | uint64 | optional | The total amount of gas charged for computation during the epoch. |
storage_rebate | uint64 | optional | The amount of storage rebate refunded to the txn senders. |
non_refundable_storage_fee | uint64 | optional | The non-refundable storage fee. |
epoch_start_timestamp_ms | uint64 | optional | Unix timestamp when epoch started |
system_packages | SystemPackage | repeated | System packages (specifically framework and move stdlib) that are written before the newepoch starts. This tracks framework upgrades on chain. When executing the ChangeEpoch txn,the validator must write out the modules below. Modules are provided with the version theywill be upgraded to, their modules in serialized form (which include their package ID), anda list of their transitive dependencies. |
ChangedObject
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
not_exist | Empty | ||
exist | ObjectExist | ||
removed | Empty | ||
object_write | ObjectWrite | ||
package_write | PackageWrite | ||
none | Empty | ||
created | Empty | ||
deleted | Empty |
CheckpointCommitment
Field | Type | Label | Description |
---|---|---|---|
ecmh_live_object_set | Digest |
CheckpointContents
Field | Type | Label | Description |
---|---|---|---|
v1 | V1 |
V1
Field | Type | Label | Description |
---|---|---|---|
transactions | CheckpointedTransactionInfo | repeated |
CheckpointSummary
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
sequence_number | uint64 | optional | |
total_network_transactions | uint64 | optional | |
content_digest | Digest | optional | |
previous_digest | Digest | optional | |
epoch_rolling_gas_cost_summary | GasCostSummary | optional | |
timestamp_ms | uint64 | optional | |
commitments | CheckpointCommitment | repeated | |
end_of_epoch_data | EndOfEpochData | optional | |
version_specific_data | bytes | optional |
CheckpointedTransactionInfo
Field | Type | Label | Description |
---|---|---|---|
transaction | Digest | optional | TransactionDigest |
effects | Digest | optional | EffectsDigest |
signatures | UserSignature | repeated |
CircomG1
Field | Type | Label | Description |
---|---|---|---|
e0 | Bn254FieldElement | optional | |
e1 | Bn254FieldElement | optional | |
e2 | Bn254FieldElement | optional |
CircomG2
Field | Type | Label | Description |
---|---|---|---|
e00 | Bn254FieldElement | optional | |
e01 | Bn254FieldElement | optional | |
e10 | Bn254FieldElement | optional | |
e11 | Bn254FieldElement | optional | |
e20 | Bn254FieldElement | optional | |
e21 | Bn254FieldElement | optional |
Command
Field | Type | Label | Description |
---|---|---|---|
move_call | MoveCall | ||
transfer_objects | TransferObjects | ||
split_coins | SplitCoins | ||
merge_coins | MergeCoins | ||
publish | Publish | ||
make_move_vector | MakeMoveVector | ||
upgrade | Upgrade |
CommandArgumentError
Field | Type | Label | Description |
---|---|---|---|
argument | uint32 | optional | |
type_mismatch | Empty | The type of the value does not match the expected type | |
invalid_bcs_bytes | Empty | The argument cannot be deserialized into a value of the specified type | |
invalid_usage_of_pure_argument | Empty | The argument cannot be instantiated from raw bytes | |
invalid_argument_to_private_entry_function | Empty | Invalid argument to private entry function. Private entry functions cannot take arguments from other Move functions. | |
index_out_of_bounds | uint32 | Out of bounds access to input or results | |
secondary_index_out_of_bounds | NestedResult | Out of bounds access to subresult | |
invalid_result_arity | uint32 | Invalid usage of result. Expected a single result but found either no return value or multiple. | |
invalid_gas_coin_usage | Empty | Invalid usage of Gas coin. The Gas coin can only be used by-value with a TransferObjects command. | |
invalid_value_usage | Empty | Invalid usage of move value. Mutably borrowed values require unique usage. Immutably borrowed values cannot be taken or borrowed mutably. Taken values cannot be used again. | |
invalid_object_by_value | Empty | Immutable objects cannot be passed by-value. | |
invalid_object_by_mut_ref | Empty | Immutable objects cannot be passed by mutable reference, &mut. | |
shared_object_operation_not_allowed | Empty | Shared object operations such a wrapping, freezing, or converting to owned are not allowed. |
CongestedObjectsError
Field | Type | Label | Description |
---|---|---|---|
congested_objects | ObjectId | repeated |
ConsensusCommitPrologue
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
round | uint64 | optional | |
commit_timestamp_ms | uint64 | optional | |
consensus_commit_digest | Digest | optional | |
sub_dag_index | uint64 | optional | |
consensus_determined_version_assignments | ConsensusDeterminedVersionAssignments | optional |
ConsensusDeterminedVersionAssignments
Field | Type | Label | Description |
---|---|---|---|
cancelled_transactions | CancelledTransactions |
Digest
Field | Type | Label | Description |
---|---|---|---|
digest | bytes | optional |
EndOfEpochData
Field | Type | Label | Description |
---|---|---|---|
next_epoch_committee | ValidatorCommitteeMember | repeated | |
next_epoch_protocol_version | uint64 | optional | |
epoch_commitments | CheckpointCommitment | repeated |
EndOfEpochTransaction
Field | Type | Label | Description |
---|---|---|---|
transactions | EndOfEpochTransactionKind | repeated |
EndOfEpochTransactionKind
Field | Type | Label | Description |
---|---|---|---|
change_epoch | ChangeEpoch | ||
authenticator_state_expire | AuthenticatorStateExpire | ||
authenticator_state_create | Empty | Use higher field numbers for kinds which happen infrequently | |
randomness_state_create | Empty | ||
deny_list_state_create | Empty | ||
bridge_state_create | Digest | ||
bridge_committee_init | uint64 |
Event
Field | Type | Label | Description |
---|---|---|---|
package_id | ObjectId | optional | |
module | Identifier | optional | |
sender | Address | optional | |
event_type | StructTag | optional | |
contents | bytes | optional |
ExecutionStatus
Field | Type | Label | Description |
---|---|---|---|
success | bool | optional | |
status | FailureStatus | optional |
FailureStatus
Field | Type | Label | Description |
---|---|---|---|
command | uint64 | optional | |
insufficient_gas | Empty | Insufficient Gas | |
invalid_gas_object | Empty | Invalid Gas Object. | |
invariant_violation | Empty | Invariant Violation | |
feature_not_yet_supported | Empty | Attempted to used feature that is not supported yet | |
object_too_big | SizeError | Move object is larger than the maximum allowed size | |
package_too_big | SizeError | Package is larger than the maximum allowed size | |
circular_object_ownership | ObjectId | Circular Object Ownership | |
insufficient_coin_balance | Empty | Coin errors Insufficient coin balance for requested operation | |
coin_balance_overflow | Empty | Coin balance overflowed an u64 | |
publish_error_non_zero_address | Empty | Publish/Upgrade errors Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero. | |
sui_move_verification_error | Empty | Sui Move Bytecode Verification Error. | |
move_primitive_runtime_error | MoveError | MoveVm Errors Error from a non-abort instruction. Possible causes: Arithmetic error, stack overflow, max value depth, etc." | |
move_abort | MoveError | Move runtime abort | |
vm_verification_or_deserialization_error | Empty | Bytecode verification error. | |
vm_invariant_violation | Empty | MoveVm invariant violation | |
function_not_found | Empty | Programmable Transaction Errors Function not found | |
arity_mismatch | Empty | Arity mismatch for Move function. The number of arguments does not match the number of parameters | |
type_arity_mismatch | Empty | Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments. | |
non_entry_function_invoked | Empty | Non Entry Function Invoked. Move Call must start with an entry function. | |
command_argument_error | CommandArgumentError | Invalid command argument | |
type_argument_error | TypeArgumentError | Type argument error | |
unused_value_without_drop | NestedResult | Unused result without the drop ability. | |
invalid_public_function_return_type | uint32 | Invalid public Move function signature. Unsupported return type for return value | |
invalid_transfer_object | Empty | Invalid Transfer Object, object does not have public transfer. | |
effects_too_large | SizeError | Post-execution errors Effects from the transaction are too large | |
publish_upgrade_missing_dependency | Empty | Publish or Upgrade is missing dependency | |
publish_upgrade_dependency_downgrade | Empty | Publish or Upgrade dependency downgrade. Indirect (transitive) dependency of published or upgraded package has been assigned an on-chain version that is less than the version required by one of the package's transitive dependencies. | |
package_upgrade_error | PackageUpgradeError | Invalid package upgrade | |
written_objects_too_large | SizeError | Indicates the transaction tried to write objects too large to storage | |
certificate_denied | Empty | Certificate is on the deny list | |
sui_move_verification_timedout | Empty | Sui Move Bytecode verification timed out. | |
shared_object_operation_not_allowed | Empty | The requested shared object operation is not allowed | |
input_object_deleted | Empty | Requested shared object has been deleted | |
execution_cancelled_due_to_shared_object_congestion | CongestedObjectsError | Certificate is cancelled due to congestion on shared objects | |
address_denied_for_coin | AddressDeniedForCoinError | Address is denied for this coin type | |
coin_type_global_pause | string | Coin type is globally paused for use | |
execution_cancelled_due_to_randomness_unavailable | Empty | Certificate is cancelled because randomness could not be generated this epoch |
GasCostSummary
Field | Type | Label | Description |
---|---|---|---|
computation_cost | uint64 | optional | |
storage_cost | uint64 | optional | |
storage_rebate | uint64 | optional | |
non_refundable_storage_fee | uint64 | optional |
GasPayment
Field | Type | Label | Description |
---|---|---|---|
objects | ObjectReference | repeated | |
owner | Address | optional | |
price | uint64 | optional | |
budget | uint64 | optional |
GenesisObject
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
owner | Owner | optional | |
object | ObjectData | optional |
GenesisTransaction
Field | Type | Label | Description |
---|---|---|---|
objects | GenesisObject | repeated |
I128
Little-endian encoded i128
Field | Type | Label | Description |
---|---|---|---|
bytes | bytes | optional |
Identifier
Field | Type | Label | Description |
---|---|---|---|
identifier | string | optional |
Input
Field | Type | Label | Description |
---|---|---|---|
pure | bytes | ||
immutable_or_owned | ObjectReference | ||
shared | SharedObjectInput | ||
receiving | ObjectReference |
Jwk
Field | Type | Label | Description |
---|---|---|---|
kty | string | optional | Key type parameter, https://datatracker.ietf.org/doc/html/rfc7517#section-4.1 |
e | string | optional | RSA public exponent, https://datatracker.ietf.org/doc/html/rfc7517#section-9.3 |
n | string | optional | RSA modulus, https://datatracker.ietf.org/doc/html/rfc7517#section-9.3 |
alg | string | optional | Algorithm parameter, https://datatracker.ietf.org/doc/html/rfc7517#section-4.4 |
JwkId
Field | Type | Label | Description |
---|---|---|---|
iss | string | optional | |
kid | string | optional |
MakeMoveVector
Field | Type | Label | Description |
---|---|---|---|
element_type | TypeTag | optional | |
elements | Argument | repeated |
MergeCoins
Field | Type | Label | Description |
---|---|---|---|
coin | Argument | optional | |
coins_to_merge | Argument | repeated |
ModifiedAtVersion
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional |
MoveCall
Field | Type | Label | Description |
---|---|---|---|
package | ObjectId | optional | |
module | Identifier | optional | |
function | Identifier | optional | |
type_arguments | TypeTag | repeated | |
arguments | Argument | repeated |
MoveError
Field | Type | Label | Description |
---|---|---|---|
location | MoveLocation | optional | |
abort_code | uint64 | optional |
MoveField
Field | Type | Label | Description |
---|---|---|---|
name | Identifier | optional | |
value | MoveValue | optional |
MoveLocation
Field | Type | Label | Description |
---|---|---|---|
package | ObjectId | optional | |
module | Identifier | optional | |
function | uint32 | optional | |
instruction | uint32 | optional | |
function_name | Identifier | optional |
MoveModule
Field | Type | Label | Description |
---|---|---|---|
name | Identifier | optional | |
contents | bytes | optional |
MovePackage
Field | Type | Label | Description |
---|---|---|---|
id | ObjectId | optional | |
version | uint64 | optional | |
modules | MoveModule | repeated | |
type_origin_table | TypeOrigin | repeated | |
linkage_table | UpgradeInfo | repeated |
MoveStruct
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
object_type | StructTag | optional | |
has_public_transfer | bool | optional | |
version | uint64 | optional | |
contents | bytes | optional |
MoveStructValue
Field | Type | Label | Description |
---|---|---|---|
struct_type | StructTag | optional | |
fields | MoveField | repeated |
MoveValue
Field | Type | Label | Description |
---|---|---|---|
bool | bool | ||
u8 | uint32 | ||
u16 | uint32 | ||
u32 | uint32 | ||
u64 | uint64 | ||
u128 | U128 | ||
u256 | U256 | ||
address | Address | ||
vector | MoveVector | ||
struct | MoveStructValue | ||
signer | Address | ||
variant | MoveVariant |
MoveVariant
Field | Type | Label | Description |
---|---|---|---|
enum_type | StructTag | optional | |
variant_name | Identifier | optional | |
tag | uint32 | optional | |
fields | MoveField | repeated |
MoveVector
Field | Type | Label | Description |
---|---|---|---|
values | MoveValue | repeated |
MultisigAggregatedSignature
Field | Type | Label | Description |
---|---|---|---|
signatures | MultisigMemberSignature | repeated | |
bitmap | uint32 | optional | |
legacy_bitmap | RoaringBitmap | optional | |
committee | MultisigCommittee | optional |
MultisigCommittee
Field | Type | Label | Description |
---|---|---|---|
members | MultisigMember | repeated | |
threshold | uint32 | optional |
MultisigMember
Field | Type | Label | Description |
---|---|---|---|
public_key | MultisigMemberPublicKey | optional | |
weight | uint32 | optional |
MultisigMemberPublicKey
Field | Type | Label | Description |
---|---|---|---|
ed25519 | bytes | ||
secp256k1 | bytes | ||
secp256r1 | bytes | ||
zklogin | ZkLoginPublicIdentifier |
MultisigMemberSignature
Field | Type | Label | Description |
---|---|---|---|
ed25519 | bytes | ||
secp256k1 | bytes | ||
secp256r1 | bytes | ||
zklogin | ZkLoginAuthenticator |
NestedResult
Field | Type | Label | Description |
---|---|---|---|
result | uint32 | optional | |
subresult | uint32 | optional |
Object
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
owner | Owner | optional | |
object | ObjectData | optional | |
previous_transaction | Digest | optional | |
storage_rebate | uint64 | optional |
ObjectData
Field | Type | Label | Description |
---|---|---|---|
struct | MoveStruct | ||
package | MovePackage |
ObjectExist
Field | Type | Label | Description |
---|---|---|---|
version | uint64 | optional | |
digest | Digest | optional | |
owner | Owner | optional |
ObjectId
Field | Type | Label | Description |
---|---|---|---|
object_id | bytes | optional |
ObjectReference
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
version | uint64 | optional | |
digest | Digest | optional |
ObjectReferenceWithOwner
Field | Type | Label | Description |
---|---|---|---|
reference | ObjectReference | optional | |
owner | Owner | optional |
ObjectWrite
Field | Type | Label | Description |
---|---|---|---|
digest | Digest | optional | |
owner | Owner | optional |
Owner
Field | Type | Label | Description |
---|---|---|---|
address | Address | ||
object | ObjectId | ||
shared | uint64 | ||
immutable | Empty |
PackageIdDoesNotMatch
Field | Type | Label | Description |
---|---|---|---|
package_id | ObjectId | optional | |
object_id | ObjectId | optional |
PackageUpgradeError
Field | Type | Label | Description |
---|---|---|---|
unable_to_fetch_package | ObjectId | ||
not_a_package | ObjectId | ||
incompatible_upgrade | Empty | ||
digets_does_not_match | Digest | ||
unknown_upgrade_policy | uint32 | ||
package_id_does_not_match | PackageIdDoesNotMatch |
PackageWrite
Field | Type | Label | Description |
---|---|---|---|
version | uint64 | optional | |
digest | Digest | optional |
PasskeyAuthenticator
Field | Type | Label | Description |
---|---|---|---|
authenticator_data | bytes | optional | |
client_data_json | string | optional | |
signature | SimpleSignature | optional |
ProgrammableTransaction
Field | Type | Label | Description |
---|---|---|---|
inputs | Input | repeated | |
commands | Command | repeated |
Publish
Field | Type | Label | Description |
---|---|---|---|
modules | bytes | repeated | |
dependencies | ObjectId | repeated |
RandomnessStateUpdate
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
randomness_round | uint64 | optional | |
random_bytes | bytes | optional | |
randomness_object_initial_shared_version | uint64 | optional |
ReadOnlyRoot
Field | Type | Label | Description |
---|---|---|---|
version | uint64 | optional | |
digest | Digest | optional |
RoaringBitmap
Field | Type | Label | Description |
---|---|---|---|
bitmap | bytes | optional |
SharedObjectInput
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
initial_shared_version | uint64 | optional | |
mutable | bool | optional |
SimpleSignature
Field | Type | Label | Description |
---|---|---|---|
scheme | SignatureScheme | optional | |
signature | bytes | optional | |
public_key | bytes | optional |
SizeError
Field | Type | Label | Description |
---|---|---|---|
size | uint64 | optional | |
max_size | uint64 | optional |
SplitCoins
Field | Type | Label | Description |
---|---|---|---|
coin | Argument | optional | |
amounts | Argument | repeated |
StructTag
Field | Type | Label | Description |
---|---|---|---|
address | Address | optional | |
module | Identifier | optional | |
name | Identifier | optional | |
type_parameters | TypeTag | repeated |
SystemPackage
Field | Type | Label | Description |
---|---|---|---|
version | uint64 | optional | |
modules | bytes | repeated | |
dependencies | ObjectId | repeated |
Transaction
Field | Type | Label | Description |
---|---|---|---|
v1 | TransactionV1 |
TransactionV1
Field | Type | Label | Description |
---|---|---|---|
kind | TransactionKind | optional | |
sender | Address | optional | |
gas_payment | GasPayment | optional | |
expiration | TransactionExpiration | optional |
TransactionEffects
Field | Type | Label | Description |
---|---|---|---|
v1 | TransactionEffectsV1 | ||
v2 | TransactionEffectsV2 |
TransactionEffectsV1
Field | Type | Label | Description |
---|---|---|---|
status | ExecutionStatus | optional | The status of the execution |
epoch | uint64 | optional | The epoch when this transaction was executed. |
gas_used | GasCostSummary | optional | |
modified_at_versions | ModifiedAtVersion | repeated | The version that every modified (mutated or deleted) object had before it was modified by this transaction. |
shared_objects | ObjectReference | repeated | The object references of the shared objects used in this transaction. Empty if no shared objects were used. |
transaction_digest | Digest | optional | The transaction digest |
created | ObjectReferenceWithOwner | repeated | ObjectReference and owner of new objects created. |
mutated | ObjectReferenceWithOwner | repeated | ObjectReference and owner of mutated objects, including gas object. |
unwrapped | ObjectReferenceWithOwner | repeated | ObjectReference and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects that were wrapped into other objects in the past, and just got extracted out. |
deleted | ObjectReference | repeated | Object Refs of objects now deleted (the new refs). |
unwrapped_then_deleted | ObjectReference | repeated | Object refs of objects previously wrapped in other objects but now deleted. |
wrapped | ObjectReference | repeated | Object refs of objects now wrapped in other objects. |
gas_object | ObjectReferenceWithOwner | optional | The updated gas object reference. Have a dedicated field for convenient access. It's also included in mutated. |
events_digest | Digest | optional | The digest of the events emitted during execution, can be None if the transaction does not emit any event. |
dependencies | Digest | repeated | The set of transaction digests this transaction depends on. |
TransactionEffectsV2
Field | Type | Label | Description |
---|---|---|---|
status | ExecutionStatus | optional | The status of the execution |
epoch | uint64 | optional | The epoch when this transaction was executed. |
gas_used | GasCostSummary | optional | |
transaction_digest | Digest | optional | The transaction digest |
gas_object_index | uint32 | optional | The updated gas object reference, as an index into the changed_objects vector. Having a dedicated field for convenient access. System transaction that don't require gas will leave this as None. |
events_digest | Digest | optional | The digest of the events emitted during execution, can be None if the transaction does not emit any event. |
dependencies | Digest | repeated | The set of transaction digests this transaction depends on. |
lamport_version | uint64 | optional | The version number of all the written Move objects by this transaction. |
changed_objects | ChangedObject | repeated | Objects whose state are changed in the object store. |
unchanged_shared_objects | UnchangedSharedObject | repeated | Shared objects that are not mutated in this transaction. Unlike owned objects, read-only shared objects' version are not committed in the transaction, and in order for a node to catch up and execute it without consensus sequencing, the version needs to be committed in the effects. |
auxiliary_data_digest | Digest | optional | Auxiliary data that are not protocol-critical, generated as part of the effects but are stored separately. Storing it separately allows us to avoid bloating the effects with data that are not critical. It also provides more flexibility on the format and type of the data. |
TransactionEvents
Field | Type | Label | Description |
---|---|---|---|
events | Event | repeated |
TransactionExpiration
Field | Type | Label | Description |
---|---|---|---|
none | Empty | ||
epoch | uint64 |
TransactionKind
Field | Type | Label | Description |
---|---|---|---|
programmable_transaction | ProgrammableTransaction | ||
change_epoch | ChangeEpoch | ||
genesis | GenesisTransaction | ||
consensus_commit_prologue_v1 | ConsensusCommitPrologue | ||
authenticator_state_update | AuthenticatorStateUpdate | ||
end_of_epoch | EndOfEpochTransaction | ||
randomness_state_update | RandomnessStateUpdate | ||
consensus_commit_prologue_v2 | ConsensusCommitPrologue | ||
consensus_commit_prologue_v3 | ConsensusCommitPrologue |
TransferObjects
Field | Type | Label | Description |
---|---|---|---|
objects | Argument | repeated | |
address | Argument | optional |
TypeArgumentError
Field | Type | Label | Description |
---|---|---|---|
type_argument | uint32 | optional | |
type_not_found | Empty | ||
constraint_not_satisfied | Empty |
TypeOrigin
Field | Type | Label | Description |
---|---|---|---|
module_name | Identifier | optional | |
struct_name | Identifier | optional | |
package_id | ObjectId | optional |
TypeTag
Field | Type | Label | Description |
---|---|---|---|
u8 | Empty | ||
u16 | Empty | ||
u32 | Empty | ||
u64 | Empty | ||
u128 | Empty | ||
u256 | Empty | ||
bool | Empty | ||
address | Empty | ||
signer | Empty | ||
vector | TypeTag | ||
struct | StructTag |
U128
Little-endian encoded u128
Field | Type | Label | Description |
---|---|---|---|
bytes | bytes | optional |
U256
Little-endian encoded u256
Field | Type | Label | Description |
---|---|---|---|
bytes | bytes | optional |
UnchangedSharedObject
Field | Type | Label | Description |
---|---|---|---|
object_id | ObjectId | optional | |
read_only_root | ReadOnlyRoot | ||
mutate_deleted | uint64 | ||
read_deleted | uint64 | ||
cancelled | uint64 | ||
per_epoch_config | Empty |
Upgrade
Field | Type | Label | Description |
---|---|---|---|
modules | bytes | repeated | |
dependencies | ObjectId | repeated | |
package | ObjectId | optional | |
ticket | Argument | optional |
UpgradeInfo
Field | Type | Label | Description |
---|---|---|---|
original_id | ObjectId | optional | |
upgraded_id | ObjectId | optional | |
upgraded_version | uint64 | optional |
UserSignature
Field | Type | Label | Description |
---|---|---|---|
simple | SimpleSignature | ||
multisig | MultisigAggregatedSignature | ||
zklogin | ZkLoginAuthenticator | ||
passkey | PasskeyAuthenticator |
ValidatorAggregatedSignature
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
signature | bytes | optional | |
bitmap | RoaringBitmap | optional |
ValidatorCommittee
Field | Type | Label | Description |
---|---|---|---|
epoch | uint64 | optional | |
members | ValidatorCommitteeMember | repeated |
ValidatorCommitteeMember
Field | Type | Label | Description |
---|---|---|---|
public_key | bytes | optional | |
stake | uint64 | optional |