Skip to main content

author_submitAndWatchExtrinsic RPC method

The author_submitAndWatchExtrinsic method enables the submission of an extrinsic and its continuous monitoring. This feature is essential for tracking the extrinsic's lifecycle, providing updates from submission to inclusion in a block, until manual unsubscription.

Parameters

Extrinsic string REQUIRED

Returns

result array

Outputs an array with details of all pending extrinsics, offering insights into their current status within the network.

Code Examples

wscat -c wss://api-polkadot.dwellir.com/<API-KEY> \
# wait for connection
{"id":1,"jsonrpc":"2.0","method":"author_submitAndWatchExtrinsic","params":["Extrinsic"]}