Interface ISerializableTransaction

Interface defines the structure of a serializable transaction.

Serializable transactions can be produced using Transaction.serializeToJSON, Transaction.serializeToSafeJSON and Transaction.serializeToObject functions for processing (signing) in external systems.

Once the transaction is signed, it can be deserialized into Transaction using Transaction.deserializeFromJSON and Transaction.deserializeFromSafeJSON functions.

interface ISerializableTransaction {
    gas: bigint;
    id?: string;
    inputs: ISerializableTransactionInput[];
    lockTime: bigint;
    outputs: ISerializableTransactionOutput[];
    payload: string;
    subnetworkId: string;
    version: number;
}

Properties

gas: bigint
id?: string
lockTime: bigint
payload: string
subnetworkId: string
version: number

Generated using TypeDoc