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

    Type Alias GasKey

    Gas key is like an access key, except it stores a balance separately, and transactions signed with it deduct their cost from the gas key balance instead of the account balance.

    type GasKey = {
        balance: NearToken;
        num_nonces: number;
        permission: AccessKeyPermission;
    }
    Index

    Properties

    balance: NearToken

    The balance of the gas key.

    num_nonces: number

    The number of nonces this gas key has.

    Defines the permissions for this gas key. If this is a FunctionCallPermission, the allowance must be None (unlimited).