Type declaration
| Name | Type | Description |
|---|---|---|
evmSmartAccount | EvmAddress | The EVM Smart Account to create the spend permission for. |
network | SpendPermissionNetwork | The network to create the spend permission on. |
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. |
idempotencyKey? | string | Optional idempotency key for safe retries. |