The details of a single payment option for the checkout flow.

interface PaymentOption {
    chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
    flowRate?: {
        amountEther: `${number}`;
        period: "day" | "week" | "month" | "year";
    };
    receiverAddress: `0x${string}`;
    superToken: {
        address: `0x${string}`;
    };
    transferAmountEther?: `${number}`;
    userData?: `0x${string}`;
}

Hierarchy

Properties

chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111 = chainIdSchema
flowRate?: {
    amountEther: `${number}`;
    period: "day" | "week" | "month" | "year";
} = ...

Type declaration

  • amountEther: `${number}`
  • period: "day" | "week" | "month" | "year"
receiverAddress: `0x${string}` = addressSchema
superToken: {
    address: `0x${string}`;
} = tokenSchema

Type declaration

  • address: `0x${string}`
transferAmountEther?: `${number}` = ...
userData?: `0x${string}` = ...

Generated using TypeDoc