Skip to main content
type EnableSpendPermissionsOptions = {
  evmSmartAccount?: EvmAddress;
  network: SpendPermissionNetwork;
  idempotencyKey?: string;
};
Options for the useEnableSpendPermissions hook.

Type declaration

NameType
evmSmartAccount?EvmAddress
networkSpendPermissionNetwork
idempotencyKey?string

Param

The EVM Smart Account to enable spend permissions for. Auto-resolved from the current authenticated user if not provided.

Param

The network on which to enable spend permissions.

Param

An optional idempotency key for safe retries.