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

    Type Alias ActionView

    ActionView:
        | "CreateAccount"
        | { DeployContract: { code: string } }
        | {
            FunctionCall: {
                args: FunctionArgs;
                deposit: NearToken;
                gas: NearGas;
                method_name: string;
            };
        }
        | { Transfer: { deposit: NearToken } }
        | { Stake: { public_key: PublicKey; stake: NearToken } }
        | { AddKey: { access_key: AccessKeyView; public_key: PublicKey } }
        | { DeleteKey: { public_key: PublicKey } }
        | { DeleteAccount: { beneficiary_id: AccountId } }
        | { Delegate: { delegate_action: DelegateAction; signature: Signature } }
        | { DeployGlobalContract: { code: string } }
        | { DeployGlobalContractByAccountId: { code: string } }
        | { UseGlobalContract: { code_hash: CryptoHash } }
        | { UseGlobalContractByAccountId: { account_id: AccountId } }
        | {
            DeterministicStateInit: {
                code: GlobalContractIdentifierView;
                data: { [key: string]: string };
                deposit: NearToken;
            };
        }
        | {
            AddGasKey: {
                num_nonces: number;
                permission: AccessKeyPermissionView;
                public_key: PublicKey;
            };
        }
        | { DeleteGasKey: { public_key: PublicKey } }
        | { TransferToGasKey: { amount: NearToken; public_key: PublicKey } }