Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
type CreateSpendPermissionOptions = Omit<CoreCreateSpendPermissionOptions, "evmSmartAccount"> & {
evmSmartAccount?: EvmAddress;
};
Options for the useCreateSpendPermission hook.
Type declaration
| Name | Type |
|---|
evmSmartAccount? | EvmAddress |
Param
The EVM Smart Account to create the spend permission for.
Param
The network to create the spend permission on.
Param
The spender of the spend permission.
Param
The token of the spend permission.
Param
The allowance of the spend permission.
Param
The period of the spend permission.
Param
The start of the spend permission.
Param
The end of the spend permission.
Param
The salt of the spend permission.
Param
The extra data of the spend permission.
Param
Whether to use the CDP Paymaster for the user operation.
Param
The paymaster URL of the spend permission.