Send Raw Transaction
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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
jsonrpcstringrequiredThe JSON-RPC protocol version. Must be "2.0" for JSON-RPC 2.0 specification compliance.
methodstringrequiredThe RPC method name. For this operation, it must be "sendrawtransaction".
paramsArray<string | boolean>requiredAn array containing one or two parameters:
- The signed raw transaction in hexadecimal format (required)
- A boolean flag to prepend the transaction (optional, default is false)
idintegerrequiredA unique identifier for the request, used to correlate the response with the request.
Response
200OK
Successful response indicating the transaction was accepted and broadcast.