@kagamidigital/salt-sdk-mirror
    Preparing search index...

    Type Alias PolicyCheck

    Result of evaluating an account's policies against a proposed transaction, returned by Salt#runPoliciesCheck.

    Only policies relevant to the transaction are evaluated: policies with non-empty params whose chain matches the transaction's network (or is '*') and which apply to the transaction's shape. These are listed in networkPolicies, and each one is either validated or rejected.

    type PolicyCheck = {
        hasPoliciesOnOtherChains: boolean;
        networkPolicies: Policy[];
        policyBreach: boolean;
        rejectedPolicies: Policy[];
        timestamp: string;
        validatedPolicies: Policy[];
    }
    Index

    Properties

    hasPoliciesOnOtherChains: boolean

    true if the account has policies that were not evaluated against this transaction — typically policies scoped to other chains, though a policy on the transaction's chain that does not apply to the transaction (e.g. a limit for a token the transaction doesn't transfer) also counts.

    networkPolicies: Policy[]

    All policies that were evaluated against this transaction — the union of rejectedPolicies and validatedPolicies.

    policyBreach: boolean

    true if the transaction breached any policy — that is, if rejectedPolicies is non-empty.

    rejectedPolicies: Policy[]

    The evaluated policies the transaction breached.

    timestamp: string

    When the check ran, as a UTC date string.

    'Mon, 07 Jul 2026 14:33:00 GMT'
    
    validatedPolicies: Policy[]

    The evaluated policies the transaction passed. nominated_approvers policies always appear here — approval enforcement is not yet implemented (see PolicyType).