Copyright | Alexander Krupenkin 2016 |
---|---|
License | BSD3 |
Maintainer | mail@akru.me |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Polkadot RPC methods with author
prefix.
Synopsis
- hasKey :: JsonRpc m => HexString -> Text -> m Bool
- hasSessionKeys :: JsonRpc m => HexString -> m Bool
- insertKey :: JsonRpc m => Text -> Text -> HexString -> m HexString
- pendingExtrinsics :: JsonRpc m => m [HexString]
- removeExtrinsic :: JsonRpc m => [HexString] -> m HexString
- rotateKeys :: JsonRpc m => m HexString
- submitExtrinsic :: JsonRpc m => HexString -> m HexString
Documentation
Returns true if the keystore has private keys for the given public key and key type.
Returns true if the keystore has private keys for the given session public keys.
Insert a key into the keystore.
pendingExtrinsics :: JsonRpc m => m [HexString] Source #
Returns all pending extrinsics, potentially grouped by sender.
Remove given extrinsic from the pool and temporarily ban it to prevent reimporting.
rotateKeys :: JsonRpc m => m HexString Source #
Generate new session keys and returns the corresponding public keys.