SubstrateRequestStateGetMetadata class
Returns the runtime metadata. https://polkadot.js.org/docs/substrate/rpc/#state
- Inheritance
-
- Object
- BaseServiceRequest<
VersionedMetadata< SubstrateMetadata> , String, SubstrateRequestDetails> - SubstrateRequest<
String, VersionedMetadata< SubstrateMetadata> > - SubstrateRequestStateGetMetadata
Constructors
- SubstrateRequestStateGetMetadata.new({String? atBlockHash})
-
const
Properties
- atBlockHash → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestType → RequestServiceType
-
no setterinherited
- rpcMethod → String
-
state_getMetadata
no setteroverride
- 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
-
buildRequest(
int requestId) → SubstrateRequestDetails -
Converts the request parameters to a SubstrateRequestDetails object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
String result) → VersionedMetadata< SubstrateMetadata> -
override
-
toJson(
) → List -
Converts the request parameters to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited