Type alias PublicRpcSchema
PublicRpcSchema: [{ Method: "web3_clientVersion"; Parameters?: undefined; ReturnType: string; }, { Method: "web3_sha3"; Parameters: [data
: Hash]; ReturnType: string; }, { Method: "net_listening"; Parameters?: undefined; ReturnType: boolean; }, { Method: "net_peerCount"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "net_version"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_blobGasPrice"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_blockNumber"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_call"; Parameters: [transaction
: Partial<RpcTransactionRequest>] | [transaction
: Partial<RpcTransactionRequest>, block
: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Hex; }, { Method: "eth_chainId"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_coinbase"; Parameters?: undefined; ReturnType: Address; }, { Method: "eth_estimateGas"; Parameters: [transaction
: RpcTransactionRequest] | [transaction
: RpcTransactionRequest, block
: RpcBlockNumber | BlockTag]; ReturnType: Quantity; }, { Method: "eth_feeHistory"; Parameters: [blockCount
: Quantity, newestBlock
: RpcBlockNumber | BlockTag, rewardPercentiles
: number[] | undefined]; ReturnType: RpcFeeHistory; }, { Method: "eth_gasPrice"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_getBalance"; Parameters: [address
: Address, block
: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Quantity; }, { Method: "eth_getBlockByHash"; Parameters: [hash
: Hash, includeTransactionObjects
: boolean]; ReturnType: RpcBlock | null; }, { Method: "eth_getBlockByNumber"; Parameters: [block
: RpcBlockNumber | BlockTag, includeTransactionObjects
: boolean]; ReturnType: RpcBlock | null; }, { Method: "eth_getBlockTransactionCountByHash"; Parameters: [hash
: Hash]; ReturnType: Quantity; }, { Method: "eth_getBlockTransactionCountByNumber"; Parameters: [block
: RpcBlockNumber | BlockTag]; ReturnType: Quantity; }, { Method: "eth_getCode"; Parameters: [address
: Address, block
: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Hex; }, { Method: "eth_getFilterChanges"; Parameters: [filterId
: Quantity]; ReturnType: RpcLog[] | Hex[]; }, { Method: "eth_getFilterLogs"; Parameters: [filterId
: Quantity]; ReturnType: RpcLog[]; }, { Method: "eth_getLogs"; Parameters: [{ address?: Address | Address[]; topics?: LogTopic[]; } & ({ blockHash?: never; fromBlock?: RpcBlockNumber | BlockTag; toBlock?: RpcBlockNumber | BlockTag; } | { blockHash?: Hash; fromBlock?: never; toBlock?: never; })]; ReturnType: RpcLog[]; }, { Method: "eth_getProof"; Parameters: [address
: Address, storageKeys
: Hash[], block
: RpcBlockNumber | BlockTag]; ReturnType: RpcProof; }, { Method: "eth_getStorageAt"; Parameters: [address
: Address, index
: Quantity, block
: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Hex; }, { Method: "eth_getTransactionByBlockHashAndIndex"; Parameters: [hash
: Hash, index
: Quantity]; ReturnType: RpcTransaction | null; }, { Method: "eth_getTransactionByBlockNumberAndIndex"; Parameters: [block
: RpcBlockNumber | BlockTag, index
: Quantity]; ReturnType: RpcTransaction | null; }, { Method: "eth_getTransactionByHash"; Parameters: [hash
: Hash]; ReturnType: RpcTransaction | null; }, { Method: "eth_getTransactionCount"; Parameters: [address
: Address, block
: RpcBlockNumber | BlockTag | RpcBlockIdentifier]; ReturnType: Quantity; }, { Method: "eth_getTransactionReceipt"; Parameters: [hash
: Hash]; ReturnType: RpcTransactionReceipt | null; }, { Method: "eth_getUncleByBlockHashAndIndex"; Parameters: [hash
: Hash, index
: Quantity]; ReturnType: RpcUncle | null; }, { Method: "eth_getUncleByBlockNumberAndIndex"; Parameters: [block
: RpcBlockNumber | BlockTag, index
: Quantity]; ReturnType: RpcUncle | null; }, { Method: "eth_getUncleCountByBlockHash"; Parameters: [hash
: Hash]; ReturnType: Quantity; }, { Method: "eth_getUncleCountByBlockNumber"; Parameters: [block
: RpcBlockNumber | BlockTag]; ReturnType: Quantity; }, { Method: "eth_maxPriorityFeePerGas"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_newBlockFilter"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_newFilter"; Parameters: [filter
: { address?: Address | Address[]; fromBlock?: RpcBlockNumber | BlockTag; toBlock?: RpcBlockNumber | BlockTag; topics?: LogTopic[]; }]; ReturnType: Quantity; }, { Method: "eth_newPendingTransactionFilter"; Parameters?: undefined; ReturnType: Quantity; }, { Method: "eth_protocolVersion"; Parameters?: undefined; ReturnType: string; }, { Method: "eth_sendRawTransaction"; Parameters: [signedTransaction
: Hex]; ReturnType: Hash; }, { Method: "eth_uninstallFilter"; Parameters: [filterId
: Quantity]; ReturnType: boolean; }] Type declaration
Method: "web3_clientVersion"
Optional
Parameters?: undefined
ReturnType: string
Type declaration
Method: "web3_sha3"
Parameters: [data: Hash]
ReturnType: string
Type declaration
Method: "net_listening"
Optional
Parameters?: undefined
ReturnType: boolean
Type declaration
Method: "net_peerCount"
Optional
Parameters?: undefined
Type declaration
Method: "net_version"
Optional
Parameters?: undefined
Type declaration
Method: "eth_blobGasPrice"
Optional
Parameters?: undefined
Type declaration
Method: "eth_blockNumber"
Optional
Parameters?: undefined
Type declaration
Method: "eth_call"
ReturnType: Hex
Type declaration
Method: "eth_chainId"
Optional
Parameters?: undefined
Type declaration
Method: "eth_coinbase"
Optional
Parameters?: undefined
Type declaration
Method: "eth_estimateGas"
Type declaration
Method: "eth_gasPrice"
Optional
Parameters?: undefined
Type declaration
Method: "eth_getBlockByHash"
Parameters: [hash: Hash, includeTransactionObjects: boolean]
ReturnType: RpcBlock | null
Type declaration
Method: "eth_getBlockTransactionCountByHash"
Parameters: [hash: Hash]
Type declaration
Method: "eth_getBlockTransactionCountByNumber"
Type declaration
Method: "eth_getCode"
ReturnType: Hex
Type declaration
Method: "eth_getFilterChanges"
Parameters: [filterId: Quantity]
ReturnType: RpcLog[] | Hex[]
Type declaration
Method: "eth_getFilterLogs"
Parameters: [filterId: Quantity]
ReturnType: RpcLog[]
Type declaration
Method: "eth_getStorageAt"
ReturnType: Hex
Type declaration
Method: "eth_getTransactionByBlockHashAndIndex"
Parameters: [hash: Hash, index: Quantity]
Type declaration
Method: "eth_getTransactionByBlockNumberAndIndex"
Type declaration
Method: "eth_getTransactionByHash"
Parameters: [hash: Hash]
Type declaration
Method: "eth_getTransactionCount"
Type declaration
Method: "eth_getTransactionReceipt"
Parameters: [hash: Hash]
Type declaration
Method: "eth_getUncleByBlockHashAndIndex"
Parameters: [hash: Hash, index: Quantity]
ReturnType: RpcUncle | null
Type declaration
Method: "eth_getUncleByBlockNumberAndIndex"
ReturnType: RpcUncle | null
Type declaration
Method: "eth_getUncleCountByBlockHash"
Parameters: [hash: Hash]
Type declaration
Method: "eth_getUncleCountByBlockNumber"
Type declaration
Method: "eth_maxPriorityFeePerGas"
Optional
Parameters?: undefined
Type declaration
Method: "eth_newBlockFilter"
Optional
Parameters?: undefined
Type declaration
Method: "eth_newPendingTransactionFilter"
Optional
Parameters?: undefined
Type declaration
Method: "eth_protocolVersion"
Optional
Parameters?: undefined
ReturnType: string
Type declaration
Method: "eth_sendRawTransaction"
Parameters: [signedTransaction: Hex]
ReturnType: Hash
Type declaration
Method: "eth_uninstallFilter"
Parameters: [filterId: Quantity]
ReturnType: boolean