Send transaction
POST
Calls the sendTransaction method over a WebSocket connection.
Connection URL:
Copied!
wss://bsc-blockbook.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://bsc-blockbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"13","method":"sendTransaction","params":{"hex":"<signed raw transaction hex>"}}A transaction the backend rejects returns an error object instead, for example
{"id": "13", "data": {"error": {"message": "failed to decode signed transaction"}}}.
Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.