Retrieves a single spend permission by its unique hash identifier. This method allows direct lookup of a specific permission without needing to know the account, chain, or spender details.
Parameters
The unique hash identifier of the permission to retrieve.
Returns
The permission response object.
Error Handling
Code | Message | Description |
---|---|---|
-32602 | Invalid params | The permissionHash parameter is invalid or missing |
-32603 | Internal error | Permission not found or internal server error |
-32001 | Failed precondition | The method is currently disabled via kill switch |
The
permissionHash
must be a valid hex-encoded hash string. The method will return an error if the permission doesn’t exist or has been deleted.Usage Notes
This method is particularly useful when:
- You have a permission hash from a previous operation and need to retrieve its details
- You want to verify the current state of a specific permission
- You need to look up permission details without knowing the account or spender information
coinbase_fetchPermissions
, this method:
- Returns a single permission instead of a list
- Does not require account, chain, or spender parameters
- Does not support pagination
- Provides direct access via the permission’s unique identifier