Type Alias UserTransactionResponse

UserTransactionResponse: {
    accumulator_root_hash: string;
    changes: WriteSetChange[];
    event_root_hash: string;
    events: Event[];
    expiration_timestamp_secs: string;
    gas_unit_price: string;
    gas_used: string;
    hash: string;
    max_gas_amount: string;
    payload: TransactionPayloadResponse;
    sender: string;
    sequence_number: string;
    signature?: TransactionSignature;
    state_change_hash: string;
    state_checkpoint_hash: string | null;
    success: boolean;
    timestamp: string;
    type: User;
    version: string;
    vm_status: string;
}

The response structure for a user transaction.

Type declaration

  • accumulator_root_hash: string
  • changes: WriteSetChange[]

    Final state of resources changed by the transaction

  • event_root_hash: string
  • events: Event[]

    Events generated by the transaction

  • expiration_timestamp_secs: string
  • gas_unit_price: string
  • gas_used: string
  • hash: string
  • max_gas_amount: string
  • payload: TransactionPayloadResponse
  • sender: string
  • sequence_number: string
  • Optionalsignature?: TransactionSignature
  • state_change_hash: string
  • state_checkpoint_hash: string | null
  • success: boolean

    Whether the transaction was successful

  • timestamp: string
  • type: User
  • version: string
  • vm_status: string

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