Home

Submit and watch extrinsic

POST
https://moonbeam.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-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.0required

JSON-RPC version identifier

methodstringauthor_submitAndWatchExtrinsicrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<string>required

Array containing the hex-encoded extrinsic

Response

200OK

Extrinsic submitted successfully, subscription created

400Bad Request

Invalid extrinsic or request

500Internal Server Error

Internal server error