ContractFunctionCallResult |
NearClient.callContractFunction(long blockHeight,
java.lang.String accountId,
java.lang.String methodName,
java.lang.String argsBase64) |
Allows you to call a contract method as a view function.
|
ContractFunctionCallResult |
NearClient.callContractFunction(Finality finality,
java.lang.String accountId,
java.lang.String methodName,
java.lang.String argsBase64) |
Allows you to call a contract method as a view function.
|
ContractFunctionCallResult |
NearClient.callContractFunction(java.lang.String blockHash,
java.lang.String accountId,
java.lang.String methodName,
java.lang.String argsBase64) |
Allows you to call a contract method as a view function.
|
Block |
NearClient.getBlock(long blockHeight) |
Queries network and returns block for given height or hash.
|
Block |
NearClient.getBlock(Finality finality) |
Queries network and returns block for given height or hash.
|
Block |
NearClient.getBlock(java.lang.String blockHash) |
Queries network and returns block for given height or hash.
|
BlockChanges |
NearClient.getBlockChanges(long blockHeight) |
|
BlockChanges |
NearClient.getBlockChanges(Finality finality) |
|
BlockChanges |
NearClient.getBlockChanges(java.lang.String blockHash) |
|
Chunk |
NearClient.getChunkDetails(long blockId,
long shardId) |
Returns details of a specific chunk.
|
Chunk |
NearClient.getChunkDetails(java.lang.String chunkId) |
Returns details of a specific chunk.
|
Chunk |
NearClient.getChunkDetails(java.lang.String blockId,
long shardId) |
Returns details of a specific chunk.
|
GasPrice |
NearClient.getGasPrice(long blockHeight) |
Returns gas price for a specific block_height or block_hash.
|
GasPrice |
NearClient.getGasPrice(java.lang.String blockHash) |
Returns gas price for a specific block_height or block_hash.
|
GenesisConfig |
NearClient.getGenesisConfig() |
Returns current genesis configuration.
|
NetworkInfo |
NearClient.getNetworkInfo() |
Returns the current state of node network connections (active peers,
transmitted data, etc.)
|
ValidationStatus |
NearClient.getNetworkValidationStatus(long blockHeight) |
Queries active validators on the network returning details and the state of
validation on the blockchain.
|
ValidationStatus |
NearClient.getNetworkValidationStatus(java.lang.String blockHash) |
Queries active validators on the network returning details and the state of
validation on the blockchain.
|
NodeStatus |
NearClient.getNodeStatus() |
Returns general status of a given node (sync status, near core node version,
protocol version, etc.), and the current set of validators.
|
ProtocolConfig |
NearClient.getProtocolConfig(long blockHeight) |
Returns most recent protocol configuration or a specific queried block.
|
ProtocolConfig |
NearClient.getProtocolConfig(Finality finality) |
Returns most recent protocol configuration or a specific queried block.
|
ProtocolConfig |
NearClient.getProtocolConfig(java.lang.String blockHash) |
Returns most recent protocol configuration or a specific queried block.
|
Receipt |
NearClient.getTransactionReceipt(java.lang.String receiptId) |
Fetches a receipt by its ID (as is, without a status or execution outcome)
|
TransactionStatus |
NearClient.getTransactionStatus(java.lang.String transactionHash,
java.lang.String senderAccountId) |
Queries status of a transaction by hash and returns the final transaction
result.
|
TransactionStatus |
NearClient.getTransactionStatusWithReceipts(java.lang.String transactionHash,
java.lang.String senderAccountId) |
Queries status of a transaction by hash, returning the final transaction
result and details of all receipts.
|
java.lang.String |
NearClient.sendTransactionAsync(java.lang.String base64EncodedSignedTransaction) |
Sends a transaction and immediately returns transaction hash.
|
TransactionAwait |
NearClient.sendTransactionAwait(java.lang.String base64EncodedSignedTransaction) |
Sends a transaction and waits until transaction is fully complete.
|
static NearClient |
NearClient.usingNetwork(Network network) |
NearService builder
|
AccessKey |
NearClient.viewAccessKey(long blockHeight,
java.lang.String accountId,
java.lang.String publicKey) |
Returns information about a single access key for given account.
|
AccessKey |
NearClient.viewAccessKey(Finality finality,
java.lang.String accountId,
java.lang.String publicKey) |
Returns information about a single access key for given account.
|
AccessKey |
NearClient.viewAccessKey(java.lang.String blockHash,
java.lang.String accountId,
java.lang.String publicKey) |
Returns information about a single access key for given account.
|
AccessKeyList |
NearClient.viewAccessKeyList(long blockHeight,
java.lang.String accountId) |
Returns all access keys for a given account.
|
AccessKeyList |
NearClient.viewAccessKeyList(Finality finality,
java.lang.String accountId) |
Returns all access keys for a given account.
|
AccessKeyList |
NearClient.viewAccessKeyList(java.lang.String blockHash,
java.lang.String accountId) |
Returns all access keys for a given account.
|
Account |
NearClient.viewAccount(long blockHeight,
java.lang.String accountId) |
Returns basic account information.
|
Account |
NearClient.viewAccount(Finality finality,
java.lang.String accountId) |
Returns basic account information.
|
Account |
NearClient.viewAccount(java.lang.String blockHash,
java.lang.String accountId) |
Returns basic account information.
|
AccountChanges |
NearClient.viewAccountChanges(long blockHeight,
java.lang.String[] accountIds) |
Returns account changes from transactions in a given account.
|
AccountChanges |
NearClient.viewAccountChanges(Finality finality,
java.lang.String[] accountIds) |
Returns account changes from transactions in a given account.
|
AccountChanges |
NearClient.viewAccountChanges(java.lang.String blockHash,
java.lang.String[] accountIds) |
Returns account changes from transactions in a given account.
|
AccessKeyChanges |
NearClient.viewAllAccessKeyChanges(long blockHeight,
java.lang.String[] accountIds) |
Returns changes to all access keys of a specific block.
|
AccessKeyChanges |
NearClient.viewAllAccessKeyChanges(Finality finality,
java.lang.String[] accountIds) |
Returns changes to all access keys of a specific block.
|
AccessKeyChanges |
NearClient.viewAllAccessKeyChanges(java.lang.String blockHash,
java.lang.String[] accountIds) |
Returns changes to all access keys of a specific block.
|
ContractCode |
NearClient.viewContractCode(long blockHeight,
java.lang.String accountId) |
Returns the contract code (Wasm binary) deployed to the account.
|
ContractCode |
NearClient.viewContractCode(Finality finality,
java.lang.String accountId) |
Returns the contract code (Wasm binary) deployed to the account.
|
ContractCode |
NearClient.viewContractCode(java.lang.String blockHash,
java.lang.String accountId) |
Returns the contract code (Wasm binary) deployed to the account.
|
ContractCodeChanges |
NearClient.viewContractCodeChanges(long blockHeight,
java.lang.String[] accountIds) |
Returns code changes made when deploying a contract.
|
ContractCodeChanges |
NearClient.viewContractCodeChanges(Finality finality,
java.lang.String[] accountIds) |
Returns code changes made when deploying a contract.
|
ContractCodeChanges |
NearClient.viewContractCodeChanges(java.lang.String blockHash,
java.lang.String[] accountIds) |
Returns code changes made when deploying a contract.
|
ContractState |
NearClient.viewContractState(long blockHeight,
java.lang.String accountId,
java.lang.String prefixBase64) |
Returns the state (key value pairs) of a contract based on the key prefix
(base64 encoded).
|
ContractState |
NearClient.viewContractState(Finality finality,
java.lang.String accountId,
java.lang.String prefixBase64) |
Returns the state (key value pairs) of a contract based on the key prefix
(base64 encoded).
|
ContractState |
NearClient.viewContractState(java.lang.String blockHash,
java.lang.String accountId,
java.lang.String prefixBase64) |
Returns the state (key value pairs) of a contract based on the key prefix
(base64 encoded).
|
ContractStateChanges |
NearClient.viewContractStateChanges(long blockHeight,
java.lang.String[] accountIds,
java.lang.String keyPrefixBase64) |
Returns the state change details of a contract based on the key prefix
(encoded to base64).
|
ContractStateChanges |
NearClient.viewContractStateChanges(Finality finality,
java.lang.String[] accountIds,
java.lang.String keyPrefixBase64) |
Returns the state change details of a contract based on the key prefix
(encoded to base64).
|
ContractStateChanges |
NearClient.viewContractStateChanges(java.lang.String blockHash,
java.lang.String[] accountIds,
java.lang.String keyPrefixBase64) |
Returns the state change details of a contract based on the key prefix
(encoded to base64).
|
AccessKeyChanges |
NearClient.viewSingleAccessKeyChanges(long blockHeight,
Key[] keys) |
Returns individual access key changes in a specific block.
|
AccessKeyChanges |
NearClient.viewSingleAccessKeyChanges(Finality finality,
Key[] keys) |
Returns individual access key changes in a specific block.
|
AccessKeyChanges |
NearClient.viewSingleAccessKeyChanges(java.lang.String blockHash,
Key[] keys) |
Returns individual access key changes in a specific block.
|