resolvePolicyForSubject
@totemsdk/recursive-mast / resolvePolicyForSubject
Function: resolvePolicyForSubject()
resolvePolicyForSubject(
client,config):Promise<ResolvedPolicy|null>
Resolve the current policy for a subject and action.
Queries the lookup network, filters by capability matching the action, and returns the highest-epoch active policy.
Parameters
client
config
Returns
Promise<ResolvedPolicy | null>