Skip to main content
Defined in the Base Account SDK
Validates a permission against current time and revocation state and returns remaining spend and next period start.

Parameters

SpendPermission
required
Signed permission to evaluate.

Returns

GetPermissionStatusResponse
Status details for the permission.

Error Handling

Always wrap the call in a try-catch block to handle these errors gracefully.