supra-ts-sdk - v2.0.0
    Preparing search index...

    Interface RawTxnJSON

    JSON form of a raw transaction, as sent to the submit and simulate endpoints.

    The u64 fields are typed bigint | number and the SDK always emits bigint: these values are serialized to exact JSON number literals, so a value above Number.MAX_SAFE_INTEGER reaches the RPC intact instead of being rounded. number remains accepted for callers that build this object by hand.

    interface RawTxnJSON {
        sender: string;
        sequence_number: number | bigint;
        payload: TransactionPayloadJSON;
        max_gas_amount: number | bigint;
        gas_unit_price: number | bigint;
        expiration_timestamp_secs: number | bigint;
        chain_id: number;
    }
    Index
    sender: string
    sequence_number: number | bigint
    max_gas_amount: number | bigint
    gas_unit_price: number | bigint
    expiration_timestamp_secs: number | bigint
    chain_id: number