IotaTransactionBlockKind
@iota/iota-sdk / client / IotaTransactionBlockKind
Type Alias: IotaTransactionBlockKind
IotaTransactionBlockKind = {
events:EventId[];kind:"Genesis";objects:string[]; } | {commit_timestamp_ms:string;consensus_commit_digest:string;consensus_determined_version_assignments:ConsensusDeterminedVersionAssignments;epoch:string;kind:"ConsensusCommitPrologueV1";round:string;sub_dag_index?:string|null; } | {inputs:IotaCallArg[];kind:"ProgrammableTransaction";transactions:IotaTransaction[]; } | {epoch:string;kind:"AuthenticatorStateUpdateV1";new_active_jwks:IotaActiveJwk[];round:string; } | {epoch:string;kind:"RandomnessStateUpdate";random_bytes:number[];randomness_round:string; } | {kind:"EndOfEpochTransaction";transactions:IotaEndOfEpochTransactionKind[]; }
Defined in: sdk/typescript/src/client/types/generated.ts:1755
Union Members
Type Literal
{ events: EventId[]; kind: "Genesis"; objects: string[]; }
A system transaction used for initializing the initial state of the chain.
Type Literal
{ commit_timestamp_ms: string; consensus_commit_digest: string; consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments; epoch: string; kind: "ConsensusCommitPrologueV1"; round: string; sub_dag_index?: string | null; }
Type Literal
{ inputs: IotaCallArg[]; kind: "ProgrammableTransaction"; transactions: IotaTransaction[]; }
inputs
inputs:
IotaCallArg[]
Input objects or primitive values
kind
kind:
"ProgrammableTransaction"
transactions
transactions:
IotaTransaction[]
The transactions to be executed sequentially. A failure in any transaction will result in the failure of the entire programmable transaction block.
Type Literal
{ epoch: string; kind: "AuthenticatorStateUpdateV1"; new_active_jwks: IotaActiveJwk[]; round: string; }
Type Literal
{ epoch: string; kind: "RandomnessStateUpdate"; random_bytes: number[]; randomness_round: string; }
Type Literal
{ kind: "EndOfEpochTransaction"; transactions: IotaEndOfEpochTransactionKind[]; }