CDP Frontend SDK
    Preparing search index...

    Type Alias SpendPermission

    A spend permission.

    type SpendPermission = {
        account: EvmAddress;
        spender: EvmAddress;
        token: EvmAddress;
        allowance: bigint;
        period: number;
        start: number;
        end: number;
        salt: bigint;
        extraData: Hex;
    }
    Index

    Properties

    account: EvmAddress

    The account address that owns the tokens

    spender: EvmAddress

    Entity that can spend account's tokens. Can be either a Smart Account or an EOA.

    token: EvmAddress

    The token address.

    allowance: bigint

    The allowance for the spend permission.

    period: number

    The period in seconds for the spend permission.

    start: number

    The start timestamp for the spend permission.

    end: number

    The end timestamp for the spend permission.

    salt: bigint

    The salt for the spend permission.

    extraData: Hex

    The extra data for the spend permission.