Interface ITransaction

Interface defining the structure of a transaction.

interface ITransaction {
    gas: bigint;
    inputs: ITransactionInput[];
    lockTime: bigint;
    mass?: bigint;
    outputs: ITransactionOutput[];
    payload: string;
    subnetworkId: string;
    verboseData?: ITransactionVerboseData;
    version: number;
}

Properties

gas: bigint
lockTime: bigint
mass?: bigint

The mass of the transaction (the mass is undefined or zero unless explicitly set or obtained from the node)

payload: string
subnetworkId: string

Optional verbose data provided by RPC

version: number

Generated using TypeDoc