CDP Frontend SDK
    Preparing search index...

    Type Alias RevokeSpendPermissionOptions

    Input for revoking a spend permission.

    type RevokeSpendPermissionOptions = {
        evmSmartAccount: EvmAddress;
        network: SpendPermissionNetwork;
        permissionHash: string;
        useCdpPaymaster?: boolean;
        paymasterUrl?: string;
    }
    Index

    Properties

    evmSmartAccount: EvmAddress

    The EVM Smart Account to revoke the spend permission for.

    The network to revoke the spend permission on.

    permissionHash: string

    The hash of the spend permission to revoke.

    useCdpPaymaster?: boolean

    Whether to use the CDP Paymaster for the user operation.

    Only available on Base. Enabled by default on Base Sepolia.

    paymasterUrl?: string

    The URL of the paymaster to use for the user operation.