T402 API Reference - v2.8.0
    Preparing search index...

    Interface CreateERC20ApprovalParams

    Parameters for creating an ERC-20 approval gas sponsor payload.

    interface CreateERC20ApprovalParams {
        network: string;
        from: string;
        asset: string;
        amount: string;
        signedApprovalTx: string;
        chainId: number;
        nonce?: number;
    }
    Index

    Properties

    network: string

    CAIP-2 network identifier

    from: string

    Client wallet address

    asset: string

    ERC-20 token contract address

    amount: string

    Approval amount in base units

    signedApprovalTx: string

    Raw signed approve() transaction (hex-encoded)

    chainId: number

    Chain ID for replay protection

    nonce?: number

    Client's account nonce (if known)