rpcMethods
Index
Namespaces
ethRpcMethods
call
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: TransactionCallAPI
blockNumber: BlockNumberOrTag
Returns Promise<string>
compileLLL
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
code: string
Returns Promise<string>
compileSerpent
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
code: string
Returns Promise<string>
compileSolidity
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
code: string
Returns Promise<CompileResultAPI>
createAccessList
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: TransactionWithSenderAPI | Partial<TransactionWithSenderAPI>
blockNumber: BlockNumberOrTag
Returns Promise<any>
estimateGas
Type parameters
- TransactionType = TransactionWithSenderAPI
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: Partial<TransactionType>
blockNumber: BlockNumberOrTag
Returns Promise<string>
getAccounts
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string[]>
getBalance
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
blockNumber: BlockNumberOrTag
Returns Promise<string>
getBlockByHash
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockHash: string
hydrated: boolean
Returns Promise<BlockAPI>
getBlockByNumber
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockNumber: BlockNumberOrTag
hydrated: boolean
Returns Promise<BlockAPI>
getBlockNumber
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getBlockTransactionCountByHash
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockHash: string
Returns Promise<string>
getBlockTransactionCountByNumber
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockNumber: BlockNumberOrTag
Returns Promise<string>
getChainId
Parameters
requestManager: Web3RequestManager<Web3EthExecutionAPI>
Returns Promise<string>
getCode
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
blockNumber: BlockNumberOrTag
Returns Promise<string>
getCoinbase
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getCompilers
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string[]>
getFeeHistory
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockCount: string
newestBlock: BlockNumberOrTag
rewardPercentiles: number[]
Returns Promise<FeeHistoryResultAPI>
getFilterChanges
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
filterIdentifier: string
Returns Promise<FilterResultsAPI>
getFilterLogs
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
filterIdentifier: string
Returns Promise<FilterResultsAPI>
getGasPrice
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getHashRate
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getLogs
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
filter: Filter
Returns Promise<FilterResultsAPI>
getMaxPriorityFeePerGas
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getMining
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<boolean>
getNodeInfo
Parameters
requestManager: Web3RequestManager<Web3EthExecutionAPI>
Returns Promise<string>
getPendingTransactions
Parameters
requestManager: Web3RequestManager<Web3EthExecutionAPI>
Returns Promise<TransactionInfo[]>
getProof
Parameters
requestManager: Web3RequestManager<Web3EthExecutionAPI>
address: string
storageKeys: string[]
blockNumber: BlockNumberOrTag
Returns Promise<AccountObject>
getProtocolVersion
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
getStorageAt
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
storageSlot: string
blockNumber: BlockNumberOrTag
Returns Promise<string>
getSyncing
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<SyncingStatusAPI>
getTransactionByBlockHashAndIndex
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockHash: string
transactionIndex: string
Returns Promise<TransactionInfoAPI | undefined>
getTransactionByBlockNumberAndIndex
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockNumber: BlockNumberOrTag
transactionIndex: string
Returns Promise<TransactionInfoAPI | undefined>
getTransactionByHash
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transactionHash: string
Returns Promise<TransactionInfoAPI | undefined>
getTransactionCount
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
blockNumber: BlockNumberOrTag
Returns Promise<string>
getTransactionReceipt
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transactionHash: string
Returns Promise<TransactionReceiptAPI | undefined>
getUncleByBlockHashAndIndex
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockHash: string
uncleIndex: string
Returns Promise<BlockAPI>
getUncleByBlockNumberAndIndex
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockNumber: BlockNumberOrTag
uncleIndex: string
Returns Promise<BlockAPI>
getUncleCountByBlockHash
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockHash: string
Returns Promise<string>
getUncleCountByBlockNumber
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
blockNumber: BlockNumberOrTag
Returns Promise<string>
getWork
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<[string, string, string]>
newBlockFilter
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
newFilter
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
filter: Filter
Returns Promise<string>
newPendingTransactionFilter
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
Returns Promise<string>
requestAccounts
Parameters
requestManager: Web3RequestManager<Web3EthExecutionAPI>
Returns Promise<string[]>
sendRawTransaction
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: string
Returns Promise<string>
sendTransaction
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: TransactionWithSenderAPI | Partial<TransactionWithSenderAPI>
Returns Promise<string>
sign
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
message: string
Returns Promise<string>
signTransaction
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
transaction: TransactionWithSenderAPI | Partial<TransactionWithSenderAPI>
Returns Promise<string | SignedTransactionInfoAPI>
signTypedData
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
address: string
typedData: Eip712TypedData
optionaluseLegacy: boolean
Returns Promise<string>
submitHashrate
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
hashRate: string
id: string
Returns Promise<boolean>
submitWork
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
nonce: string
hash: string
digest: string
Returns Promise<boolean>
uninstallFilter
Parameters
requestManager: Web3RequestManager<EthExecutionAPI>
filterIdentifier: string
Returns Promise<boolean>
netRpcMethods
getId
Parameters
requestManager: Web3RequestManager<Web3NetAPI>
Returns Promise<string>
getPeerCount
Parameters
requestManager: Web3RequestManager<Web3NetAPI>
Returns Promise<string>
isListening
Parameters
requestManager: Web3RequestManager<Web3NetAPI>
Returns Promise<boolean>
personalRpcMethods
ecRecover
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
signedData: string
signature: string
Returns Promise<string>
getAccounts
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
Returns Promise<string[]>
importRawKey
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
keyData: string
passphrase: string
Returns Promise<string>
lockAccount
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
address: string
Returns Promise<boolean>
newAccount
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
password: string
Returns Promise<string>
sendTransaction
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
tx: Transaction
passphrase: string
Returns Promise<string>
sign
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
data: string
address: string
passphrase: string
Returns Promise<string>
signTransaction
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
tx: Transaction
passphrase: string
Returns Promise<string>
unlockAccount
Parameters
requestManager: Web3RequestManager<EthPersonalAPI>
address: string
password: string
unlockDuration: number
Returns Promise<boolean>