Skip to main content
This guide walks an onboarded partner through their first notification.

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.
Any other method returns -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.
Params is a single-element array containing an object with 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 request id. The result field contains the transaction hash (0x-prefixed, 32 bytes).
A non-error response confirms the notification was accepted for backrun analysis. It says nothing about delivery: dispatch, inclusion, and mempool privacy of the transaction remain yours.

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