Prerequisites
- A dedicated Cashback endpoint URL (provided by nexroute during onboarding)
- Source IPs allowlisted on that endpoint (coordinated during onboarding; see Authentication)
Method
The endpoint speaks JSON-RPC 2.0 over HTTPS and WebSocket. One method is exposed:eth_notifyRawTransaction: notify nexroute of a single user-signed transaction that you are dispatching yourself. nexroute uses it to construct and race a backrun; it never dispatches your transaction.
-32601 method not found.
Notify, then dispatch
The point of Async mode is that notification never delays dispatch. Send the notification and your own dispatch concurrently; don’t await the acknowledgment first.tx, the hex-encoded raw signed transaction (0x-prefixed). The object shape mirrors eth_sendPrivateRawTransaction and reserves room for optional fields without further wire breaks.
Response
The endpoint returns a JSON-RPC envelope echoing the requestid. The result field contains the transaction hash (0x-prefixed, 32 bytes).
Errors
Errors follow standard JSON-RPC conventions:
Treat errors as diagnostics, not failures to handle inline: your dispatch must never depend on the notification succeeding.
Next steps
- Authentication: IP allowlist setup and operational notes
- Security: what nexroute guarantees about notified transactions
- eth_notifyRawTransaction: full method specification