Defined in the Base Account SDK
Validates a permission against current time and revocation state and returns
remaining spend and next period start.
Parameters
Signed permission to evaluate.
Returns
GetPermissionStatusResponse
Status details for the permission.Show GetPermissionStatusResponse properties
Remaining allowance in wei for the current period.
When the next allowance period begins.
True if approved and not revoked or expired.
Error Handling
Always wrap the call in a try-catch block to handle these errors gracefully.