HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleweb3-polkadot-1.1.0.1Haskell2010

Network.Polkadot.Rpc.Types

Polkadot JSON-RPC types.

  • 20 types
datadata NodeRole
#

The role the node is running as.

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata ChainType
#

Type op a chain.

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata Health
#

System health struct returned by the RPC

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata PeerInfo
#

Network Peer information.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata ContractCall
#
Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata ContractExecResult
#

A result of execution of a contract.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata ReadProof
#

ReadProof struct returned by RPC.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata RuntimeVersion
#

Runtime version. This should not be thought of as classic Semver (majorminortiny). This triplet have different semantics and mis-interpretation could cause problems. In particular: bug fixes should result in an increment of spec_version and possibly authoring_version, absolutely not impl_version since they change the semantics of the runtime.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
typetype StorageKind = Word8
#

Type of supported offchain storages.

1: persistent storage is non-revertible and not fork-aware; 2: local storage is revertible and fork-aware.

typetype Weight = Word64
#

Numeric range of transaction weight.

datadata DispatchClass
#

Generalized group of dispatch types.

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata RuntimeDispatchInfo
#

Some information related to a dispatchable that can be queried from the runtime.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata ImportedAux
#

Auxiliary data associated with an imported block result.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata CreatedBlock
#
Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata Digest
#

Generic header digest.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
newtypenewtype BlockNumber
#

Hex-encoded block number.

Instances5Eq, Ord, Show, FromJSON, ToJSON
  • Eq BlockNumberDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Rpc.Types
  • Ord BlockNumberDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Rpc.Types
  • Show BlockNumberDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Rpc.Types
  • FromJSON BlockNumberDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Rpc.Types
  • ToJSON BlockNumberDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Rpc.Types
datadata Header
#

Abstraction over a block header for a substrate chain.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata Block
#

Abstraction over a substrate block.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep
datadata SignedBlock
#

Abstraction over a substrate block and justification.

Constructors

Instances6Eq, Show, Generic, FromJSON, ToJSON, Rep