web3-polkadot-1.0.1.0: Polkadot support for Haskell Web3 library.
CopyrightAleksandr Krupenkin 2016-2024
LicenseApache-2.0
Maintainermail@akru.me
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Polkadot.Rpc.Engine

Description

Polkadot RPC methods with engine prefix.

Synopsis

Documentation

createBlock Source #

Arguments

:: JsonRpc m 
=> Bool

Create empty

-> Bool

Finalize

-> Maybe HexString

Parent hash

-> m CreatedBlock 

Instructs the manual-seal authorship task to create a new block.

finalizeBlock Source #

Arguments

:: JsonRpc m 
=> HexString

Block hash

-> Maybe HexString

Justification

-> m Bool 

Instructs the manual-seal authorship task to finalize a block.