salt-sdk
    Preparing search index...

    Type Alias AccountPolicy

    Policies are set on a SaltAccount within an Organisation, and can be used to limit which transactions are allowed.

    type AccountPolicy = {
        accountId: string;
        chain: string;
        description: string;
        id: string;
        name: string;
        organisationId: string;
        params: unknown;
        type: PolicyType;
    }
    Index

    Properties

    accountId: string

    ID of the account the policy belongs to

    '6824aa9c27c0fa91b32800a4'
    
    chain: string

    Chain ID of the policy. All policies are associated with a single chain.

    '11155111'
    
    description: string

    Policy creator's longer description of the policy

    'Limit the size of transfers on Ethereum Sepolia'
    
    id: string
    name: string

    Policy creator's name for the policy, a short summary of the policy.

    'Limit Amount per Transfer'
    
    organisationId: string

    ID of the organisation the policy belongs to

    '679240f8d14559b720d3ba54'
    
    params: unknown

    The precise parameters of the policy, specific to the policy type.

    Type of the policy

    'POLICY_TRANSACTION_LIMIT_TOKEN_DENOMINATED'