salt-sdk
    Preparing search index...

    Type Alias CreatePolicyRequest

    Request payload for creating a new policy on an account.

    type CreatePolicyRequest = {
        accountId: string;
        chain: string;
        organisationId: string;
        params: PolicyParams;
        type: PolicyType;
    }
    Index

    Properties

    accountId: string

    The ID of the account to attach the policy to.

    chain: string

    The chain identifier the policy applies to (e.g. ethereum, polygon).

    organisationId: string

    The ID of the organisation to attach the account policy to.

    params: PolicyParams

    The parameters for the policy, whose shape depends on the type.

    The type of policy to create (e.g. allowed_recipients, transaction_limit_token_denominated).