Retrieves permissions associated with a specific account and chain. If a spender is provided, returns only permissions for that spender. Otherwise, returns all permissions for the account. This method excludes permissions that have expired or been revoked, returning only active spend permissions. Sorted by creation date, oldest first.
Parameters
string
required
The entity granted with the permission to spend funds. This is the address whose permissions are being queried.
string
required
The ID of the blockchain, in hexadecimal format.
string
Optional. The address of the account whose permissions are being queried. If not provided, returns all permissions for the spender.
object
Optional pagination settings for the request.
Returns
object
The permissions response object.