near-api-js - v7.4.0
    Preparing search index...

    Type Alias AccessKeyPermissionView

    AccessKeyPermissionView:
        | "FullAccess"
        | {
            FunctionCall: {
                allowance?: NearToken
                | null;
                method_names: string[];
                receiver_id: string;
            };
        }
        | {
            GasKeyFunctionCall: {
                allowance?: NearToken
                | null;
                balance: NearToken;
                method_names: string[];
                num_nonces: number;
                receiver_id: string;
            };
        }
        | { GasKeyFullAccess: { balance: NearToken; num_nonces: number } }

    Describes the permission scope for an access key. Whether it is a function call or a full access key.