Home

Send Raw Transaction

POST
https://ont.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Broadcasts a signed raw transaction to the ONT blockchain network. The transaction must be properly formatted and signed before submission. The node will validate the transaction and relay it to other nodes in the network if valid.

Body

application/json
jsonrpcstringrequired

The JSON-RPC protocol version. Must be "2.0" for JSON-RPC 2.0 specification compliance.

methodstringrequired

The RPC method name. For this operation, it must be "sendrawtransaction".

paramsArray<string | boolean>required

An array containing one or two parameters:

  1. The signed raw transaction in hexadecimal format (required)
  2. A boolean flag to prepend the transaction (optional, default is false)
Show child attributes
One of

The signed raw transaction in hexadecimal format

string

Optional flag to prepend transaction

boolean
idintegerrequired

A unique identifier for the request, used to correlate the response with the request.

Response

200OK

Successful response indicating the transaction was accepted and broadcast.