Type alias GenesisTransaction

GenesisTransaction: {
    accumulator_root_hash: HashValue;
    changes: WriteSetChange[];
    event_root_hash: HashValue;
    events: Event[];
    gas_used: U64;
    hash: HashValue;
    payload: GenesisPayload;
    state_change_hash: HashValue;
    state_checkpoint_hash?: HashValue;
    success: boolean;
    version: U64;
    vm_status: string;

The genesis transaction

This only occurs at the genesis transaction (version 0)

Type declaration

  • accumulator_root_hash: HashValue
  • changes: WriteSetChange[]

    Final state of resources changed by the transaction

  • event_root_hash: HashValue
  • events: Event[]

    Events emitted during genesis

  • gas_used: U64
  • hash: HashValue
  • payload: GenesisPayload
  • state_change_hash: HashValue
  • Optional state_checkpoint_hash?: HashValue
  • success: boolean

    Whether the transaction was successful

  • version: U64
  • vm_status: string

    The VM status of the transaction, can tell useful information in a failure

Generated using TypeDoc