SubstrateRequestRuntimeMetadataGetMetadataAtVersion class
Returns the metadata at a given version https://polkadot.js.org/docs/substrate/runtime/#metadata
- Inheritance
-
- Object
- BaseServiceRequest<
VersionedMetadata< SubstrateMetadata> ?, String, SubstrateRequestDetails> - SubstrateRequest<
String, VersionedMetadata< SubstrateMetadata> ?> - SubstrateRequestRuntimeMetadataGetMetadataAtVersion
Constructors
- SubstrateRequestRuntimeMetadataGetMetadataAtVersion.new(int version)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- requestType → RequestServiceType
-
no setterinherited
- rpcMethod → String
-
JSON-RPC method name.
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
- version → int
-
final
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