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

    Type Alias RpcQueryRequest

    RpcQueryRequest:
        | { block_id: BlockId } & {
            account_id: AccountId;
            request_type: "view_account";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            request_type: "view_code";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            include_proof?: boolean;
            prefix_base64: StoreKey;
            request_type: "view_state";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_access_key";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            request_type: "view_access_key_list";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_gas_key";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            request_type: "view_gas_key_list";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            args_base64: FunctionArgs;
            method_name: string;
            request_type: "call_function";
        }
        | { block_id: BlockId } & {
            code_hash: CryptoHash;
            request_type: "view_global_contract_code";
        }
        | { block_id: BlockId } & {
            account_id: AccountId;
            request_type: "view_global_contract_code_by_account_id";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            request_type: "view_account";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            request_type: "view_code";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            include_proof?: boolean;
            prefix_base64: StoreKey;
            request_type: "view_state";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_access_key";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            request_type: "view_access_key_list";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_gas_key";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            request_type: "view_gas_key_list";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            args_base64: FunctionArgs;
            method_name: string;
            request_type: "call_function";
        }
        | { finality: Finality } & {
            code_hash: CryptoHash;
            request_type: "view_global_contract_code";
        }
        | { finality: Finality } & {
            account_id: AccountId;
            request_type: "view_global_contract_code_by_account_id";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            request_type: "view_account";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            request_type: "view_code";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            include_proof?: boolean;
            prefix_base64: StoreKey;
            request_type: "view_state";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_access_key";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            request_type: "view_access_key_list";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            public_key: PublicKey;
            request_type: "view_gas_key";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            request_type: "view_gas_key_list";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            args_base64: FunctionArgs;
            method_name: string;
            request_type: "call_function";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            code_hash: CryptoHash;
            request_type: "view_global_contract_code";
        }
        | { sync_checkpoint: SyncCheckpoint } & {
            account_id: AccountId;
            request_type: "view_global_contract_code_by_account_id";
        }

    RpcQueryRequest