EthereumRequest<RESULT, SERVICERESPONSE> class
abstract
An abstract class representing Ethereum JSON-RPC requests with generic response types.
- Inheritance
-
- Object
- BaseServiceRequest<
RESULT, SERVICERESPONSE, EthereumRequestDetails> - EthereumRequest
- Implementers
- EthereumRequestCall
- EthereumRequestCompileSerpent
- EthereumRequestCompileSolidity
- EthereumRequestCreateAccessList
- EthereumRequestDynamic
- EthereumRequestEstimateGas
- EthereumRequestETHSubscribeLogs
- EthereumRequestETHSubscribeNewHeads
- EthereumRequestETHSubscribeNewPendingTransactions
- EthereumRequestETHSubscribeSyncing
- EthereumRequestETHUnsubscribe
- EthereumRequestGetAccounts
- EthereumRequestGetBalance
- EthereumRequestGetBlockByHash
- EthereumRequestGetBlockByNumber
- EthereumRequestGetBlockNumber
- EthereumRequestGetBlockTransactionCountByNumber
- EthereumRequestGetChainId
- EthereumRequestGetCode
- EthereumRequestGetCoinbase
- EthereumRequestGetCompilers
- EthereumRequestGetFeeHistory
- EthereumRequestGetFilterChanges
- EthereumRequestGetFilterLogs
- EthereumRequestGetGasPrice
- EthereumRequestGetGetBlockTransactionCountByHash
- EthereumRequestGetGetUncleCountByBlockHash
- EthereumRequestGetHashRate
- EthereumRequestGetMining
- EthereumRequestGetNodeInfo
- EthereumRequestGetPendingTransactions
- EthereumRequestGetProof
- EthereumRequestGetProtocolVersion
- EthereumRequestGetStorageAt
- EthereumRequestGetSyncing
- EthereumRequestGetTransactionByBlockHashAndIndex
- EthereumRequestGetTransactionByBlockNumberAndIndex
- EthereumRequestGetTransactionByHash
- EthereumRequestGetTransactionCount
- EthereumRequestGetTransactionReceipt
- EthereumRequestGetUncleByBlockHashAndIndex
- EthereumRequestGetUncleByBlockNumberAndIndex
- EthereumRequestGetUncleCountByBlockNumber
- EthereumRequestNewBlockFilter
- EthereumRequestNewPendingTransactionFilter
- EthereumRequestompileLLL
- EthereumRequestReguestAccounts
- EthereumRequestSendRawTransaction
- EthereumRequestSendTransaction
- EthereumRequestSign
- EthereumRequestSignTransaction
- EthereumRequestSubmitHashrate
- EthereumRequestSubmitWork
- EthereumRequestUninstallFilter
- EthereumRequestWork
Constructors
- EthereumRequest.new({BlockTagOrNumber? blockNumber})
-
const
Properties
- blockNumber → BlockTagOrNumber?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → String
-
final
- requestType → RequestServiceType
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildRequest(
int requestId) → EthereumRequestDetails -
Converts the request parameters to a EthereumRequestDetails object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
SERVICERESPONSE result) → RESULT -
inherited
-
toJson(
) → List - Converts the request parameters to a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
onBigintResponse(
dynamic result) → BigInt - Converts a dynamic response to a BigInt, handling hexadecimal conversion.
-
onIntResponse(
dynamic result) → int - Converts a dynamic response to an integer, handling hexadecimal conversion.