@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Interface TransactionObjectParams

    Parameters for a transaction stored in the database. This is the proposed transaction shape used by policy checks (see Salt.runPoliciesCheck) and carried on AccountTransaction.params.

    interface TransactionObjectParams {
        amount: string;
        data: string;
        from: string;
        network: string;
        nonce: number;
        to: string;
    }
    Index

    Properties

    amount: string

    Native value in wei, as a string. '0' for ERC20 transfers — the token amount is encoded in data.

    data: string

    Calldata (empty for a plain native transfer; ERC20 transfers encode transfer(to, amount) here).

    from: string

    The Salt account's network address.

    network: string

    Destination network / chain ID, as a string.

    nonce: number

    The account's EVM nonce (on-chain transaction count) on the destination network.

    to: string

    Recipient address; for ERC20 transfers, the token contract address.