Crate sc_rpc_spec_v2

Source
Expand description

Substrate JSON-RPC interface v2.

Specification document.

Modules§

archive
Substrate archive API.
chain_head
Substrate chain head API.
chain_spec
Substrate chain specification API.
transaction
Substrate transaction API.

Structs§

MethodResultErr
The error result of an RPC method.
MethodResultOk
The successful result of an RPC method.

Enums§

MethodResult
The result of an RPC method.

Functions§

hex_string
Util function to encode a value as a hex string

Type Aliases§

SubscriptionTaskExecutor
Task executor that is being used by RPC subscriptions.