aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Inputs for requesting a gas-pool-sponsored transaction.

    interface ApiGasPoolSponsorBody {
        bytes: string;
        signature: string;
        txKind?: string;
        walletAddress: string;
    }
    Index
    bytes: string

    Base64 of the JSON {"action":"SPONSOR_GAS","date":<unix seconds>} signed by walletAddress. Proves who is asking, not what for. Reusable for a day either side of date, so sign once and cache it.

    signature: string

    walletAddress's signature over bytes.

    txKind?: string

    Serialized transaction kind to sponsor, when the request includes a transaction.

    walletAddress: string

    Wallet requesting sponsorship.