ContractFunctionCallResult |
NearService.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.
|
Block |
NearService.getBlock(Finality finality) |
Queries network and returns block for given height or hash.
|
BlockChanges |
NearService.getBlockChanges(Finality finality) |
|
ProtocolConfig |
NearService.getProtocolConfig(Finality finality) |
Returns most recent protocol configuration or a specific queried block.
|
AccessKey |
NearService.viewAccessKey(Finality finality,
java.lang.String accountId,
java.lang.String publicKey) |
Returns information about a single access key for given account.
|
AccessKeyList |
NearService.viewAccessKeyList(Finality finality,
java.lang.String accountId) |
Returns all access keys for a given account.
|
Account |
NearService.viewAccount(Finality finality,
java.lang.String accountId) |
Returns basic account information.
|
AccountChanges |
NearService.viewAccountChanges(Finality finality,
java.lang.String[] accountIds) |
Returns account changes from transactions in a given account.
|
AccessKeyChanges |
NearService.viewAllAccessKeyChanges(Finality finality,
java.lang.String[] accountIds) |
Returns changes to all access keys of a specific block.
|
ContractCode |
NearService.viewContractCode(Finality finality,
java.lang.String accountId) |
Returns the contract code (Wasm binary) deployed to the account.
|
ContractCodeChanges |
NearService.viewContractCodeChanges(Finality finality,
java.lang.String[] accountIds) |
Returns code changes made when deploying a contract.
|
ContractState |
NearService.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).
|
ContractStateChanges |
NearService.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).
|
AccessKeyChanges |
NearService.viewSingleAccessKeyChanges(Finality finality,
Key[] keys) |
Returns individual access key changes in a specific block.
|