RPCCall class

Executes a new message call immediately, without creating a transaction on the block chain. The eth_call method can be used to query internal contract state, to execute validations coded into a contract or even to test what the effect of a transaction would be without running it live. geth.ethereum.org

Inheritance

Constructors

RPCCall.fromMethod({required String contractAddress, required AbiFunctionFragment function, required List params, String? from, BlockTagOrNumber? blockNumber = BlockTagOrNumber.latest})
factory
RPCCall.fromRaw({required String contractAddress, required String raw, String? from, BlockTagOrNumber? blockNumber = BlockTagOrNumber.latest})
factory

Properties

blockNumber BlockTagOrNumber?
finalinherited
contractAddress String
final
from String?
final
hashCode int
The hash code for this object.
no setterinherited
method EthereumMethods
no setteroverride
raw String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validate String?
A validation property (not used in this implementation).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(dynamic result) → dynamic
Converts a dynamic response to the generic type T.
override
toJson() List
Converts the request parameters to a JSON representation.
override
toRequest(int requestId) ETHRequestDetails
Converts the request parameters to a ETHRequestDetails object.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited