Address Watch

Know the moment an address receives or sends funds

Add the addresses you care about. RpcNode follows the networks and calls your server with a signed event when value arrives, leaves, or any other transaction touches the address.

Address Watch on main networks runs on paid plans. On the Free plan a few watches work on test networks (sandbox), and a new account can start a free 7-day Starter trial from the cabinet.

What you get

Slots by plan

Every paid plan includes a number of Address Watch slots. One slot is one address on one network, and deleting a watch frees its slot at once.

Five kinds of event

payment, payout, address, tx and block: value in, value out, any other transaction on the address, a watched transaction hash and new blocks.

Webhook or WebSocket

A signed HTTP POST or a Pusher-compatible socket. The body is the same, and you can use both.

Priced by network tier

An event costs credits from your plan, and the price depends on the tier of the network (s, m, l or xl). It is charged once per transaction, with the first event. Opening a socket is free.

How it works

  1. 1

    Add an address

    Send the network and the address to the API, or add it in the cabinet. It takes one slot.

  2. 2

    We follow the chain

    Every block of the network is parsed on our side. Your servers do not poll for new transactions.

  3. 3

    Your server is called

    First detected, then one event per confirmation, and finally confirmed or failed.

Start watching an address

POST /v1/address-watches takes a network_slug and an address. The request is signed with your API key secret (sk_live_..., shown once when you create the key). Adding an address that is already watched returns the existing watch and takes no extra slot.

add-watch.mjsNODE.JS
import crypto from 'node:crypto'

const body = JSON.stringify({
  network_slug: 'tron',
  address: 'TToLVWCw5pxV241Rdt3StsUZRTb15QRzRG',
})
const ts = Math.floor(Date.now() / 1000)
const bodyHash = crypto.createHash('sha256').update(body).digest('hex')
// HMAC-SHA256 over "{timestamp}\n{METHOD}\n{path?query}\n{sha256_hex(body)}"
const signature = crypto
  .createHmac('sha256', process.env.RPCNODE_API_SECRET) // sk_live_...
  .update(`${ts}\nPOST\n/v1/address-watches\n${bodyHash}`)
  .digest('hex')

const res = await fetch('https://api.rpcnode.dev/v1/address-watches', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-Api-Key': process.env.RPCNODE_API_KEY,
    'X-Timestamp': String(ts),
    'X-Signature': signature,
  },
  body,
})
responseJSON
{
  "ok": true,
  "address": {
    "watch_id": "c9fd242d-525b-4b81-9a99-b2a95be331c9",
    "network_slug": "tron",
    "address": "TToLVWCw5pxV241Rdt3StsUZRTb15QRzRG",
    "status": "active",
    "created_at": "2026-11-22T10:00:00+00:00"
  }
}

Receive the event

Verify the signature on the raw body, deduplicate on X-RpcNode-Delivery and answer with a 2xx. The same body can arrive over the WebSocket channel private-address-events.

server.jsEXPRESS
import crypto from 'node:crypto'

app.post('/hooks/rpcnode', express.raw({ type: '*/*' }), (req, res) => {
  // X-RpcNode-Signature: t=<unix seconds>,v1=<hex>
  const sig = Object.fromEntries(
    req.get('X-RpcNode-Signature').split(',').map((p) => p.split('=')),
  )
  const expected = crypto
    .createHmac('sha256', process.env.RPCNODE_WEBHOOK_SECRET)
    .update(`${sig.t}.`)
    .update(req.body) // the raw bytes, before any JSON parsing
    .digest('hex')
  const fresh = Math.abs(Date.now() / 1000 - Number(sig.t)) < 300
  const ok = fresh && sig.v1?.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(sig.v1), Buffer.from(expected))
  if (!ok) return res.sendStatus(401)

  const e = JSON.parse(req.body)
  // X-RpcNode-Delivery is the idempotency key: it is the same on every retry
  if (e.type === 'payment' && e.event === 'confirmed') {
    credit(e.address, e.amount, e.currency, e.tx_hash)
  }
  res.sendStatus(200) // anything but 2xx is retried
})
eventJSON
{
  "schema_version": "2",
  "delivery_id": "3f9c1e0b7a2d4c58b1a6e9d07f42c5a18e6b3d90",
  "type": "payment",
  "event": "detected",
  "network": "tron",
  "tx_hash": "bb08e86bca32…c320c",
  "address": "TToLVWCw5pxV241Rdt3StsUZRTb15QRzRG",
  "watch_id": "c9fd242d-525b-4b81-9a99-b2a95be331c9",
  "direction": "in",
  "currency": "USDT",
  "amount": "30",
  "confirmations": 1,
  "required_confirmations": 19,
  "confirmed": false
}

Kinds of event

The X-RpcNode-Event header names the kind. The same bodies go to the WebSocket channels listed here.

NameWhat it is
paymentValue arrived on a watched address. WebSocket channel: private-address-events.
payoutValue left a watched address. WebSocket channel: private-address-events.
addressAny other transaction that touches the address. WebSocket channel: private-address-events.
txThe progress of a watched transaction hash. WebSocket channel: private-tx-watch.
blockA new block, as the node returned it. Off by default. WebSocket channel: private-blocks.

What is included and what to keep in mind

Included

  • Signed webhooks, with 7 attempts and a delivery log
  • A Pusher-compatible WebSocket; opening it costs nothing
  • Events of your addresses over the last day through the API
  • A free signed test delivery to check your endpoint

Limits

  • The Free plan has no Address Watch slots
  • The API keeps address events for one day: it is a recent log, not an archive
  • Adding and deleting watches is rate-limited per account
  • Block events carry the whole block, are off by default and every delivery is charged

Questions

Does the Free plan include Address Watch?

Only on test networks. Free has no Address Watch slots on main networks, but a few watches work on test networks in the sandbox. A new account can also start a free 7-day Starter trial from the cabinet.

How many addresses can I watch?

As many as your plan has slots. The number is on the pricing page, read from the live plan list.

What does an event cost?

Credits from the pool of your plan. The price depends on the tier of the network (s, m, l or xl) and is charged once per transaction, with the first event. Confirmations and the final result are free.

How long are address events kept?

The API returns the events of the last day, newest first. Deliver them with a webhook or the WebSocket and keep what you need on your side.

What if my server is down?

A delivery that does not get a 2xx is retried after 10 seconds, 30 seconds, 2 minutes, 10 minutes, 1 hour and 6 hours, 7 attempts in all.

Watch your first address

Start free, try Address Watch for 7 days, and move to a paid plan when you are ready.