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

    Interface DeclareERC20ApprovalGasSponsorOptions

    Options for declaring ERC-20 approval gas sponsor extension on server.

    interface DeclareERC20ApprovalGasSponsorOptions {
        sponsoredNetworks: string[];
        maxAmount: string;
        sponsorAddress: string;
        permit2Address?: string;
        requiresAtomicBatch?: boolean;
    }
    Index

    Properties

    sponsoredNetworks: string[]

    CAIP-2 network identifiers where gas sponsoring is available

    maxAmount: string

    Maximum token amount (in base units) the sponsor will cover per approval

    sponsorAddress: string

    Address of the sponsor/facilitator

    permit2Address?: string

    Optional Permit2 proxy address

    requiresAtomicBatch?: boolean

    Whether atomic batch execution is required (defaults to false)