public class Klay
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.web3j.protocol.Web3jService |
web3jService
JSON-RPC service instance.
|
Constructor and Description |
---|
Klay(org.web3j.protocol.Web3jService web3jService)
Creates a Klay instance
|
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.Request<?,Boolean> |
accountCreated(java.lang.String address)
Returns true if the account associated with the address is created.
|
org.web3j.protocol.core.Request<?,Boolean> |
accountCreated(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns true if the account associated with the address is created.
|
org.web3j.protocol.core.Request<?,Boolean> |
accountCreated(java.lang.String address,
long blockNumber)
Returns true if the account associated with the address is created.
|
org.web3j.protocol.core.Request<?,Bytes> |
call(CallObject callObject)
Executes a new message call immediately without creating a transaction on the block chain.
|
org.web3j.protocol.core.Request<?,Bytes> |
call(CallObject callObject,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Executes a new message call immediately without creating a transaction on the block chain.
|
org.web3j.protocol.core.Request<?,Bytes> |
call(CallObject callObject,
Quantity blockNumber)
Executes a new message call immediately without creating a transaction on the block chain.
|
org.web3j.protocol.core.Request<?,AccountKey> |
decodeAccountKey(java.lang.String encodedAccountKey)
Decodes an RLP encoded account key.
|
org.web3j.protocol.core.Request<?,Bytes> |
encodeAccountKey(IAccountKey accountKey)
Encodes an account key using the RLP encoding scheme.
|
org.web3j.protocol.core.Request<?,Quantity> |
estimateComputationCost(CallObject callObject)
Generates and returns an estimate of how much computation cost spent to execute the transaction.
|
org.web3j.protocol.core.Request<?,Quantity> |
estimateComputationCost(CallObject callObject,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Generates and returns an estimate of how much computation cost spent to execute the transaction.
|
org.web3j.protocol.core.Request<?,Quantity> |
estimateComputationCost(CallObject callObject,
long blockNumber)
Generates and returns an estimate of how much computation cost spent to execute the transaction.
|
org.web3j.protocol.core.Request<?,Quantity> |
estimateGas(CallObject callObject)
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
|
org.web3j.protocol.core.Request<?,Account> |
getAccount(java.lang.String address)
Returns the account information of a given address.
|
org.web3j.protocol.core.Request<?,Account> |
getAccount(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the account information of a given address.
|
org.web3j.protocol.core.Request<?,Account> |
getAccount(java.lang.String address,
long blockNumber)
Returns the account information of a given address.
|
org.web3j.protocol.core.Request<?,AccountKey> |
getAccountKey(java.lang.String address)
Returns AccountKey of a given address.
|
org.web3j.protocol.core.Request<?,AccountKey> |
getAccountKey(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns AccountKey of a given address.
|
org.web3j.protocol.core.Request<?,AccountKey> |
getAccountKey(java.lang.String address,
long blockNumber)
Returns AccountKey of a given address.
|
org.web3j.protocol.core.Request<?,Addresses> |
getAccounts()
Returns a list of addresses owned by client.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBalance(java.lang.String address)
Returns the balance of the account of given address.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBalance(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the balance of the account of given address.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBalance(java.lang.String address,
long blockNumber)
Returns the balance of the account of given address.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByHash(java.lang.String blockHash)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByHash(java.lang.String blockHash,
boolean isFullTransaction)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByNumber(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter,
boolean isFullTransaction)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByNumber(long blockNumber)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Block> |
getBlockByNumber(long blockNumber,
boolean isFullTransaction)
Returns information about a block by block number.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBlockNumber()
Returns the number of most recent block.
|
org.web3j.protocol.core.Request<?,BlockTransactionReceipts> |
getBlockReceipts(java.lang.String blockHash)
Returns receipts included in a block identified by block hash.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBlockTransactionCountByHash(java.lang.String blockHash)
Returns the number of transactions in a block from a block matching the given block hash.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBlockTransactionCountByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the number of transactions in a block matching the given block number.
|
org.web3j.protocol.core.Request<?,Quantity> |
getBlockTransactionCountByNumber(long blockNumber)
Returns the number of transactions in a block matching the given block number.
|
org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> |
getBlockWithConsensusInfoByHash(java.lang.String blockHash)
Returns a block with consensus information matched by the given hash.
|
org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> |
getBlockWithConsensusInfoByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns a block with consensus information matched by the given block number.
|
org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> |
getBlockWithConsensusInfoByNumber(long blockNumber)
Returns a block with consensus information matched by the given block number.
|
org.web3j.protocol.core.Request<?,Quantity> |
getChainID()
Returns the chain ID of the chain.
|
org.web3j.protocol.core.Request<?,Bytes> |
getClientVersion()
Returns the current client version of a Klaytn node.
|
org.web3j.protocol.core.Request<?,Bytes> |
getCode(java.lang.String address)
Returns code at a given address.
|
org.web3j.protocol.core.Request<?,Bytes> |
getCode(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns code at a given address.
|
org.web3j.protocol.core.Request<?,Bytes> |
getCode(java.lang.String address,
long blockNumber)
Returns code at a given address.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCommittee()
Returns a list of all validators in the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCommittee(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns a list of all validators in the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCommittee(long blockNumber)
Returns a list of all validators in the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCommitteeSize()
Returns the size of the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCommitteeSize(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the size of the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCommitteeSize(long blockNumber)
Returns the size of the committee at the specified block.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCouncil()
Returns a list of all validators of the council at the specified block.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCouncil(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns a list of all validators of the council at the specified block.
|
org.web3j.protocol.core.Request<?,Addresses> |
getCouncil(long blockNumber)
Returns a list of all validators of the council at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCouncilSize()
Returns the size of the council at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCouncilSize(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the size of the council at the specified block.
|
org.web3j.protocol.core.Request<?,Quantity> |
getCouncilSize(long blockNumber)
Returns the size of the council at the specified block.
|
org.web3j.protocol.core.Request<?,DecodeAnchoringTransaction> |
getDecodedAnchoringTransaction(java.lang.String hash)
Returns the decoded anchored data in the transaction for the given transaction hash.
|
org.web3j.protocol.core.Request<?,KlayLogs> |
getFilterChanges(java.lang.String filterId)
Polling method for a filter, which returns an array of logs which occurred since last poll.
|
org.web3j.protocol.core.Request<?,KlayLogs> |
getFilterLogs(java.lang.String filterId)
Returns an array of all logs matching filter with given id, which has been obtained using klay_newFilter.
|
org.web3j.protocol.core.Request<?,Quantity> |
getGasPrice()
Returns the current price per gas in peb.
|
org.web3j.protocol.core.Request<?,Quantity> |
getGasPriceAt()
Returns the unit price of the given block in peb.
|
org.web3j.protocol.core.Request<?,Quantity> |
getGasPriceAt(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the unit price of the given block in peb.
|
org.web3j.protocol.core.Request<?,Quantity> |
getGasPriceAt(long blockNumber)
Returns the unit price of the given block in peb.
|
org.web3j.protocol.core.Request<?,KlayLogs> |
getLogs(KlayLogFilter filterOption)
Returns an array of all logs matching a given filter object.
|
org.web3j.protocol.core.Request<?,Bytes> |
getProtocolVersion()
Returns the Klaytn protocol version of the node.
|
org.web3j.protocol.core.Request<?,Bytes20> |
getRewardbase()
Returns the reward base of the current node.
|
org.web3j.protocol.core.Request<?,Bytes> |
getStorageAt(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameterNumber position,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the value from a storage position at a given address.
|
org.web3j.protocol.core.Request<?,Bytes> |
getStorageAt(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameterNumber position,
long blockNumber)
Returns the value from a storage position at a given address.
|
org.web3j.protocol.core.Request<?,Transaction> |
getTransactionByBlockHashAndIndex(java.lang.String blockHash,
long index)
Returns information about a transaction by block hash and transaction index position.
|
org.web3j.protocol.core.Request<?,Transaction> |
getTransactionByBlockNumberAndIndex(org.web3j.protocol.core.DefaultBlockParameter blockTag,
org.web3j.protocol.core.DefaultBlockParameterNumber index)
Returns information about a transaction by block number and transaction index position.
|
org.web3j.protocol.core.Request<?,Transaction> |
getTransactionByBlockNumberAndIndex(long blockNumber,
long index)
Returns information about a transaction by block number and transaction index position.
|
org.web3j.protocol.core.Request<?,Transaction> |
getTransactionByHash(java.lang.String txHash)
Returns the information about a transaction requested by transaction hash.
|
org.web3j.protocol.core.Request<?,Transaction> |
getTransactionBySenderTxHash(java.lang.String senderTxHash)
Returns the information about a transaction requested by sender transaction hash.
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCount(java.lang.String address)
Returns the number of transactions sent from an address.
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCount(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the number of transaction sent from an address
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCount(java.lang.String address,
long blockNumber)
Returns the number of transactions sent from an address.
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCountByHash(java.lang.String blockHash)
Returns the number of transactions in a block from a block matching the given block hash.
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCountByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns the number of transactions in a block matching the given block number.
|
org.web3j.protocol.core.Request<?,Quantity> |
getTransactionCountByNumber(long blockNumber)
Returns the number of transactions in a block matching the given block number.
|
org.web3j.protocol.core.Request<?,TransactionReceipt> |
getTransactionReceipt(java.lang.String transactionHash)
Returns the receipt of a transaction by transaction hash.
|
org.web3j.protocol.core.Request<?,TransactionReceipt> |
getTransactionReceiptBySenderTxHash(java.lang.String transactionHash)
Returns the receipt of a transaction by sender transaction hash.
|
org.web3j.protocol.core.Request<?,Boolean> |
isContractAccount(java.lang.String address)
Returns true if an input account has a non-empty codeHash at the time of a specific block number.
|
org.web3j.protocol.core.Request<?,Boolean> |
isContractAccount(java.lang.String address,
org.web3j.protocol.core.DefaultBlockParameter blockTag)
Returns true if an input account has a non-empty codeHash at the time of a specific block number.
|
org.web3j.protocol.core.Request<?,Boolean> |
isContractAccount(java.lang.String address,
long blockNumber)
Returns true if an input account has a non-empty codeHash at the time of a specific block number.
|
org.web3j.protocol.core.Request<?,Boolean> |
isParallelDBWrite()
Returns true if the node is writing blockchain data in parallel manner.
|
org.web3j.protocol.core.Request<?,Boolean> |
isSenderTxHashIndexingEnabled()
Returns true if the node is indexing sender transaction hash to transaction hash mapping information.
|
org.web3j.protocol.core.Request<?,KlaySyncing> |
isSyncing()
Returns an object with data about the sync status or false.
|
org.web3j.protocol.core.Request<?,Quantity> |
newBlockFilter()
Creates a filter in the node, to notify when a new block arrives.
|
org.web3j.protocol.core.Request<?,Quantity> |
newFilter(KlayFilter filterOption)
Creates a filter object, based on filter options, to notify when the state changes (logs).
|
org.web3j.protocol.core.Request<?,Quantity> |
newPendingTransactionFilter()
Creates a filter in the node, to notify when new pending transactions arrive.
|
org.web3j.protocol.core.Request<?,Bytes32> |
sendRawTransaction(AbstractTransaction transaction)
Creates a new message call transaction or a contract creation for signed transactions.
|
org.web3j.protocol.core.Request<?,Bytes32> |
sendRawTransaction(java.lang.String signedTransactionData)
Creates a new message call transaction or a contract creation for signed transactions.
|
org.web3j.protocol.core.Request<?,Bytes32> |
sendTransaction(AbstractTransaction transaction)
Constructs a transaction with given parameters, signs the transaction with a sender's private key and propagates the transaction to Klaytn network.
|
org.web3j.protocol.core.Request<?,Bytes32> |
sendTransactionAsFeePayer(AbstractFeeDelegatedTransaction transaction)
Constructs a transaction with given parameters, signs the transaction with a fee payer's private key and propagates the transaction to Klaytn network.
|
org.web3j.protocol.core.Request<?,Bytes> |
sha3(java.lang.String data)
Returns Keccak-256 (not the standardized SHA3-256) of the given data.
|
org.web3j.protocol.core.Request<?,Bytes> |
sign(java.lang.String address,
java.lang.String message)
The sign method calculates a Klaytn-specific signature.
|
org.web3j.protocol.core.Request<?,SignTransaction> |
signTransaction(AbstractTransaction transaction)
Constructs a transaction with given parameters and signs the transaction with a sender's private key.
|
org.web3j.protocol.core.Request<?,SignTransaction> |
signTransactionAsFeePayer(AbstractFeeDelegatedTransaction transaction)
Constructs a transaction with given parameters and signs the transaction with a fee payer's private key.
|
org.web3j.protocol.core.Request<?,Boolean> |
uninstallFilter(java.lang.String filterId)
Uninstalls a filter with given id.
|
protected final org.web3j.protocol.Web3jService web3jService
public Klay(org.web3j.protocol.Web3jService web3jService)
web3jService
- JSON-RPC service instance.public org.web3j.protocol.core.Request<?,Boolean> accountCreated(java.lang.String address)
address
- The account addresspublic org.web3j.protocol.core.Request<?,Boolean> accountCreated(java.lang.String address, long blockNumber)
address
- The account addressblockNumber
- The block number.public org.web3j.protocol.core.Request<?,Boolean> accountCreated(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account address.blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Addresses> getAccounts()
public org.web3j.protocol.core.Request<?,Bytes> encodeAccountKey(IAccountKey accountKey)
accountKey
- Account Key Objectpublic org.web3j.protocol.core.Request<?,AccountKey> decodeAccountKey(java.lang.String encodedAccountKey)
encodedAccountKey
- RLP encoded account keypublic org.web3j.protocol.core.Request<?,Account> getAccount(java.lang.String address)
address
- The account address.public org.web3j.protocol.core.Request<?,Account> getAccount(java.lang.String address, long blockNumber)
address
- The account address.blockNumber
- The block number..public org.web3j.protocol.core.Request<?,Account> getAccount(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account addressblockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,AccountKey> getAccountKey(java.lang.String address)
address
- The account addresspublic org.web3j.protocol.core.Request<?,AccountKey> getAccountKey(java.lang.String address, long blockNumber)
address
- The account addressblockNumber
- The block number..public org.web3j.protocol.core.Request<?,AccountKey> getAccountKey(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account addressblockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Quantity> getBalance(java.lang.String address)
address
- The account address to check for balance.public org.web3j.protocol.core.Request<?,Quantity> getBalance(java.lang.String address, long blockNumber)
address
- The account address to check for balance.blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getBalance(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account address to check for balance.blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Bytes> getCode(java.lang.String address)
address
- The account addresspublic org.web3j.protocol.core.Request<?,Bytes> getCode(java.lang.String address, long blockNumber)
address
- The account addressblockNumber
- The block number.public org.web3j.protocol.core.Request<?,Bytes> getCode(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account addressblockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Quantity> getTransactionCount(java.lang.String address)
address
- The account addresspublic org.web3j.protocol.core.Request<?,Quantity> getTransactionCount(java.lang.String address, long blockNumber)
address
- The account addressblockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getTransactionCount(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account addressblockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Boolean> isContractAccount(java.lang.String address)
address
- The account addresspublic org.web3j.protocol.core.Request<?,Boolean> isContractAccount(java.lang.String address, long blockNumber)
address
- The account addressblockNumber
- The block number..public org.web3j.protocol.core.Request<?,Boolean> isContractAccount(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account addressblockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Bytes> sign(java.lang.String address, java.lang.String message)
address
- The account addressmessage
- The message to sign.public org.web3j.protocol.core.Request<?,Quantity> getBlockNumber()
public org.web3j.protocol.core.Request<?,Block> getBlockByNumber(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Block> getBlockByNumber(long blockNumber, boolean isFullTransaction)
blockNumber
- The block number.isFullTransaction
- If true it returns the full transaction objects, if false only the hashes of the transactions.public org.web3j.protocol.core.Request<?,Block> getBlockByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Block> getBlockByNumber(org.web3j.protocol.core.DefaultBlockParameter defaultBlockParameter, boolean isFullTransaction)
defaultBlockParameter
- The string "latest", "earliest" or "pending"isFullTransaction
- If true it returns the full transaction objects, if false only the hashes of the transactions.public org.web3j.protocol.core.Request<?,Block> getBlockByHash(java.lang.String blockHash)
blockHash
- The hash of block.public org.web3j.protocol.core.Request<?,Block> getBlockByHash(java.lang.String blockHash, boolean isFullTransaction)
blockHash
- The hash of block.isFullTransaction
- If true it returns the full transaction objects, if false only the hashes of the transactions.public org.web3j.protocol.core.Request<?,BlockTransactionReceipts> getBlockReceipts(java.lang.String blockHash)
blockHash
- The hash of block.public org.web3j.protocol.core.Request<?,Quantity> getBlockTransactionCountByNumber(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getBlockTransactionCountByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Quantity> getTransactionCountByNumber(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getTransactionCountByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Quantity> getBlockTransactionCountByHash(java.lang.String blockHash)
blockHash
- The hash of a blockpublic org.web3j.protocol.core.Request<?,Quantity> getTransactionCountByHash(java.lang.String blockHash)
blockHash
- The hash of a blockpublic org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> getBlockWithConsensusInfoByHash(java.lang.String blockHash)
blockHash
- The hash of a block.public org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> getBlockWithConsensusInfoByNumber(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,BlockWithConsensusInfo> getBlockWithConsensusInfoByNumber(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest"public org.web3j.protocol.core.Request<?,Addresses> getCommittee()
public org.web3j.protocol.core.Request<?,Addresses> getCommittee(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Addresses> getCommittee(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest"public org.web3j.protocol.core.Request<?,Quantity> getCommitteeSize()
public org.web3j.protocol.core.Request<?,Quantity> getCommitteeSize(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getCommitteeSize(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "earliest" or "latest".public org.web3j.protocol.core.Request<?,Addresses> getCouncil()
public org.web3j.protocol.core.Request<?,Addresses> getCouncil(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Addresses> getCouncil(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "earliest" or "latest".public org.web3j.protocol.core.Request<?,Quantity> getCouncilSize()
public org.web3j.protocol.core.Request<?,Quantity> getCouncilSize(long blockNumber)
blockNumber
- The block numberpublic org.web3j.protocol.core.Request<?,Quantity> getCouncilSize(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Bytes> getStorageAt(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameterNumber position, long blockNumber)
address
- The account address.position
- Integer of the position in the storage.blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Bytes> getStorageAt(java.lang.String address, org.web3j.protocol.core.DefaultBlockParameterNumber position, org.web3j.protocol.core.DefaultBlockParameter blockTag)
address
- The account address.position
- Integer of the position in the storage.blockTag
- The string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,KlaySyncing> isSyncing()
public org.web3j.protocol.core.Request<?,Quantity> getChainID()
public org.web3j.protocol.core.Request<?,Bytes> call(CallObject callObject)
callObject
- The transaction call object.public org.web3j.protocol.core.Request<?,Bytes> call(CallObject callObject, Quantity blockNumber)
callObject
- The transaction call object.blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Bytes> call(CallObject callObject, org.web3j.protocol.core.DefaultBlockParameter blockTag)
callObject
- The transaction call object.blockTag
- the string "latest", "earliest" or "pending"public org.web3j.protocol.core.Request<?,Quantity> estimateGas(CallObject callObject)
callObject
- The transaction call object.public org.web3j.protocol.core.Request<?,Quantity> estimateComputationCost(CallObject callObject)
callObject
- The transaction call object.public org.web3j.protocol.core.Request<?,Quantity> estimateComputationCost(CallObject callObject, long blockNumber)
callObject
- The transaction call object.public org.web3j.protocol.core.Request<?,Quantity> estimateComputationCost(CallObject callObject, org.web3j.protocol.core.DefaultBlockParameter blockTag)
callObject
- The transaction call object.public org.web3j.protocol.core.Request<?,Transaction> getTransactionByBlockHashAndIndex(java.lang.String blockHash, long index)
blockHash
- The hash of a block.index
- Integer of the transaction index position.public org.web3j.protocol.core.Request<?,Transaction> getTransactionByBlockNumberAndIndex(long blockNumber, long index)
blockNumber
- The block numberindex
- The transaction index position.public org.web3j.protocol.core.Request<?,Transaction> getTransactionByBlockNumberAndIndex(org.web3j.protocol.core.DefaultBlockParameter blockTag, org.web3j.protocol.core.DefaultBlockParameterNumber index)
blockTag
- The string "latest", "earliest" or "pending"index
- The transaction index position.public org.web3j.protocol.core.Request<?,Transaction> getTransactionByHash(java.lang.String txHash)
txHash
- The hash of a transactionpublic org.web3j.protocol.core.Request<?,Transaction> getTransactionBySenderTxHash(java.lang.String senderTxHash)
senderTxHash
- The hash of a transaction before signing of feePayer(senderTransactionHash)public org.web3j.protocol.core.Request<?,TransactionReceipt> getTransactionReceipt(java.lang.String transactionHash)
transactionHash
- The hash of a transaction.public org.web3j.protocol.core.Request<?,TransactionReceipt> getTransactionReceiptBySenderTxHash(java.lang.String transactionHash)
transactionHash
- The hash of a transaction before signing of feePayer(senderTransactionHash).public org.web3j.protocol.core.Request<?,Bytes32> sendRawTransaction(java.lang.String signedTransactionData)
signedTransactionData
- The signed transaction data.public org.web3j.protocol.core.Request<?,Bytes32> sendRawTransaction(AbstractTransaction transaction)
transaction
- A transaction instance.public org.web3j.protocol.core.Request<?,Bytes32> sendTransaction(AbstractTransaction transaction)
transaction
- The object inherits AbstractTransaction.public org.web3j.protocol.core.Request<?,Bytes32> sendTransactionAsFeePayer(AbstractFeeDelegatedTransaction transaction)
transaction
- The object inherits AbstractFeeDelegatedTransaction.public org.web3j.protocol.core.Request<?,SignTransaction> signTransaction(AbstractTransaction transaction)
transaction
- The object inherits AbstractTransaction.public org.web3j.protocol.core.Request<?,SignTransaction> signTransactionAsFeePayer(AbstractFeeDelegatedTransaction transaction)
transaction
- The object inherits AbstractFeeDelegatedTransaction.public org.web3j.protocol.core.Request<?,DecodeAnchoringTransaction> getDecodedAnchoringTransaction(java.lang.String hash)
hash
- The hash of transactionpublic org.web3j.protocol.core.Request<?,Bytes> getClientVersion()
public org.web3j.protocol.core.Request<?,Quantity> getGasPrice()
public org.web3j.protocol.core.Request<?,Quantity> getGasPriceAt()
public org.web3j.protocol.core.Request<?,Quantity> getGasPriceAt(long blockNumber)
blockNumber
- The block number.public org.web3j.protocol.core.Request<?,Quantity> getGasPriceAt(org.web3j.protocol.core.DefaultBlockParameter blockTag)
blockTag
- The block tag.public org.web3j.protocol.core.Request<?,Boolean> isParallelDBWrite()
public org.web3j.protocol.core.Request<?,Boolean> isSenderTxHashIndexingEnabled()
public org.web3j.protocol.core.Request<?,Bytes> getProtocolVersion()
public org.web3j.protocol.core.Request<?,Bytes20> getRewardbase()
public org.web3j.protocol.core.Request<?,KlayLogs> getFilterChanges(java.lang.String filterId)
filterId
- The filter id.public org.web3j.protocol.core.Request<?,KlayLogs> getFilterLogs(java.lang.String filterId)
filterId
- The filter id.public org.web3j.protocol.core.Request<?,KlayLogs> getLogs(KlayLogFilter filterOption)
filterOption
- The filter optionspublic org.web3j.protocol.core.Request<?,Quantity> newBlockFilter()
public org.web3j.protocol.core.Request<?,Quantity> newFilter(KlayFilter filterOption)
filterOption
- The filter option.public org.web3j.protocol.core.Request<?,Quantity> newPendingTransactionFilter()
public org.web3j.protocol.core.Request<?,Boolean> uninstallFilter(java.lang.String filterId)
filterId
- A filter id.public org.web3j.protocol.core.Request<?,Bytes> sha3(java.lang.String data)
data
- The data to convert into a SHA3 hash.