Send transaction
POST
WRITE OPERATION. The success scenario is intentionally not executed and not documented from a live broadcast; only the validation-error scenario was verified live. On success the reply is expected to contain the broadcast transaction id in data.result. Live-verified error (safe invalid payload "zz-not-hex"): data.error.message explains that BSC raw transactions must be hex strings with a 0x prefix. Success scenario not executed intentionally; error scenario validated with a safely invalid payload.
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":"1","method":"sendTransaction","params":{"hex":"zz-not-hex"}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.