Author
Method Name : hasKey
Parameter : publicKey-Bytes, keyType-Text
Return Type: bool
interface: api.rpc.author.hasKeyjsonrpc: author_hasKey
The hasKey method returns true if the keystore has private keys for the given parameters publicKey and keyType.
Method Name: hasSessionKeys
Parameter: sessionKeys - Bytes
Return Type: bool
interface: api.rpc.author.hasSessionKeysjsonrpc: author_hasSessionKeys
The hasSessionKeys method returns true if the keystore has private keys for the given parameter sessionKeys.
Method Name: insertKey
Parameters: keyType - Text, Suri-Text, publicKey-Bytes
Return Type: Bytes
interface: api.rpc.author.insertKeyjsonrpc: author_insertKey
The hasSessionKeys method inserts a key into the keystore for the given parameters keyType, Suri, and publicKey.
Method Name: pendingExtrinsics
Parameters -
Return Type: Vec<Extrinsic>
interface: api.rpc.author.pendingExtrinsicsjsonrpc: author_pendingExtrinsics
The pendingExtrinsics method returns all pending extrinsics, potentially grouped by sender.
Method Name: removeExtrinsic
Parameters: bytesOrHash - Vec<ExtrinsicOrHash>
Return Type: Vec<Hash>
interface: api.rpc.author.removeExtrinsicjsonrpc: author_removeExtrinsic
The removeExtrinsic method removes given extrinsic from the pool and temporarily bans it to prevent re-importing for the given parameter bytesOrHash.
Method Name: rotateKeys
Parameters: -
Return Type: Bytes
interface: api.rpc.author.rotateKeysjsonrpc: author_rotateKeys
The rotateKeys method generates new session keys and returns the corresponding public keys.
Method Name: submitAndWatchExtrinsic
Parameters: extrinsic - Extrinsic
Return Type: ExtrinsicStatus
interface: api.rpc.author.submitAndWatchExtrinsicjsonrpc: author_submitAndWatchExtrinsic
The submitAndWatchExtrinsic method submits and subscribes to watch an extrinsic until unsubscribed for the given parameter extrinsic.
Method Name: submitExtrinsic
Parameter: extrinsic - Extrinsic
Return Type: Hash
interface: api.rpc.author.submitExtrinsicjsonrpc: author_submitExtrinsic
The submitExtrinsic method submits a fully formatted extrinsic for block inclusion for the given parameter extrinsic.
Last updated