Submit and watch extrinsic
POST
https://dot-assethub.nownodes.io/
Copy
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Submit a fully-formed extrinsic and watch for its lifecycle events.
The author_submitAndWatchExtrinsic method submits a signed extrinsic to the transaction pool and returns a subscription ID that can be used to track the extrinsic's progress through various stages until it is finalized or fails.
This method provides real-time updates about the extrinsic's status including:
- When it enters the transaction pool
- When it is included in a block
- Finalization status
- Any errors that occur
Body
application/json
jsonrpcstring2.0requiredJSON-RPC version identifier
methodstringauthor_submitAndWatchExtrinsicrequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<string>requiredArray containing the hex-encoded extrinsic
Response
200OK
Extrinsic submitted successfully, subscription created
400Bad Request
Invalid extrinsic or request
500Internal Server Error
Internal server error