SuiTransactionBlockKind:
    | {
        computation_charge: string;
        epoch: string;
        epoch_start_timestamp_ms: string;
        kind: "ChangeEpoch";
        storage_charge: string;
        storage_rebate: string;
    }
    | { kind: "Genesis"; objects: string[] }
    | {
        commit_timestamp_ms: string;
        epoch: string;
        kind: "ConsensusCommitPrologue";
        round: string;
    }
    | {
        inputs: SuiCallArg[];
        kind: "ProgrammableTransaction";
        transactions: SuiTransaction[];
    }
    | {
        epoch: string;
        kind: "AuthenticatorStateUpdate";
        new_active_jwks: SuiActiveJwk[];
        round: string;
    }
    | {
        epoch: string;
        kind: "RandomnessStateUpdate";
        random_bytes: number[];
        randomness_round: string;
    }
    | {
        kind: "EndOfEpochTransaction";
        transactions: SuiEndOfEpochTransactionKind[];
    }
    | {
        commit_timestamp_ms: string;
        consensus_commit_digest: string;
        epoch: string;
        kind: "ConsensusCommitPrologueV2";
        round: string;
    }
    | {
        commit_timestamp_ms: string;
        consensus_commit_digest: string;
        consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
        epoch: string;
        kind: "ConsensusCommitPrologueV3";
        round: string;
        sub_dag_index?: string
        | null;
    }

Type declaration

  • {
        computation_charge: string;
        epoch: string;
        epoch_start_timestamp_ms: string;
        kind: "ChangeEpoch";
        storage_charge: string;
        storage_rebate: string;
    }

    A system transaction that will update epoch information on-chain.

  • { kind: "Genesis"; objects: string[] }
  • {
        commit_timestamp_ms: string;
        epoch: string;
        kind: "ConsensusCommitPrologue";
        round: string;
    }
  • {
        inputs: SuiCallArg[];
        kind: "ProgrammableTransaction";
        transactions: SuiTransaction[];
    }
    • inputs: SuiCallArg[]

      Input objects or primitive values

    • kind: "ProgrammableTransaction"
    • transactions: SuiTransaction[]

      The transactions to be executed sequentially. A failure in any transaction will result in the failure of the entire programmable transaction block.

  • {
        epoch: string;
        kind: "AuthenticatorStateUpdate";
        new_active_jwks: SuiActiveJwk[];
        round: string;
    }
  • {
        epoch: string;
        kind: "RandomnessStateUpdate";
        random_bytes: number[];
        randomness_round: string;
    }
  • { kind: "EndOfEpochTransaction"; transactions: SuiEndOfEpochTransactionKind[] }
  • {
        commit_timestamp_ms: string;
        consensus_commit_digest: string;
        epoch: string;
        kind: "ConsensusCommitPrologueV2";
        round: string;
    }
  • {
        commit_timestamp_ms: string;
        consensus_commit_digest: string;
        consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
        epoch: string;
        kind: "ConsensusCommitPrologueV3";
        round: string;
        sub_dag_index?: string | null;
    }