Defined in the Base Account SDKDocumentation Index
Fetch the complete documentation index at: https://base-a060aa97-meyer9-discv5-p2p-protocol-id.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Returns permissions for a user’s Base Account on a specific chain. If a
spender is provided, returns only permissions for that spender. Otherwise, returns all permissions for the account.Parameters
User’s Base Account address to query.
Target chain ID.
Optional. Spender address you intend to use for spending. If not provided, returns all permissions for the account.
Optional. EIP-1193 compliant Ethereum provider instance. Get this from
sdk.getProvider(). If not provided, uses the default SDK provider.Returns
Array of spend permissions matching the query.