How many confirmations to wait for before a crypto payment is paid

The number is required_confirmations: your own setting for the network, otherwise the network default, and never less than 1. RpcNode returns it on every payment and in every webhook, counts the blocks after the paying transaction, and only then verifies the transfer, runs AML where available and sends paid. There is no single right number for every chain, so read it from the API and choose it by the amount at risk.

How RpcNode counts

When a transfer that matches a payment is seen, the payment moves to check (the documentation example shows confirmations at 1). Every new block adds one, and you receive a confirmations event for each step. These events are free; only the first event (check) is billed. When confirmations reaches required_confirmations the node is asked whether the transaction succeeded. A success moves the payment to aml_check on networks with an AML provider, or straight to paid elsewhere. A transaction that failed on-chain ends as failed.

The block at which a transfer becomes final is block_height + required_confirmations - 1. The payment shows it as final_block.

{
  "event": "confirmations",
  "status": "check",
  "block_height": 85558640,
  "confirmations": 7,
  "required_confirmations": 19,
  "final_block": 85558658
}

(An abridged, illustrative payment_order body; the block numbers follow the TRON example in the API documentation.) The confirmations and required_confirmations fields are the current state of the payment. Use them to drive a progress bar on your checkout page.

Where to read the number

  • When you create a payment. The POST /v1/payments response contains required_confirmations. Read it from your own response instead of hard-coding a table.
  • Later. GET /v1/payments/{paymentId}, GET /v1/payments/orders/{orderId} and every webhook body carry it. Address events (GET /v1/address-watches/events) and transaction watches have the same field, meaning "what this account needs on this network".
  • Your setting. The account has a confirmation setting per network in the cabinet. If you set one, it wins over the network default.
  • GET /v1/networks. This route does not return confirmation counts. Its scan_environment_kinds tells you which environments have events and payments at all, so it answers "can I run payments here" before you create a payment.

Choosing a number

  • Amount at risk. A cheap digital item and a large invoice should not wait equally long. POST /v1/payments has no per-payment confirmation parameter: one number serves every order on that network for the account. If the cheap and the expensive cases need different depths, choose the number for the stricter one.
  • Finality model. On chains where the tip can be reorganised, more confirmations make a reorganisation of your transfer less likely, but never impossible. On chains with fast finality a small number can be sensible. RpcNode's documentation does not describe the finality rules of each chain: check the chain's own documentation before you lower the number.
  • Waiting time. The wait is roughly the block interval of the chain times required_confirmations, plus the transaction check and the AML step. The documentation promises no fixed latency, because block production and scanner lag vary. Show the progress instead of a countdown.
  • Expiry. A transfer that was seen in time keeps counting confirmations even if expires_at passes meanwhile, but a transfer that arrives after expiry does not pay the payment.

Handling it in code

// inside the verified webhook handler for type === 'payment_order'
if (event.event === 'check' || event.event === 'confirmations') {
  await saveProgress(event.order_id, event.confirmations, event.required_confirmations)
}
if (event.event === 'paid') {
  await fulfil(await findOrder(event.order_id), event) // only now
}

Events can repeat and arrive out of order, so keep the highest confirmations you have seen and deduplicate by delivery_id. Over a WebSocket nothing is replayed while the socket is closed: after a reconnect, read the payment through GET /v1/payments/{paymentId}.

Limits and caveats

  • Payments need a paid plan and are available only on networks and environments that have scanning switched on.
  • The number can differ per network and per account; do not copy a value from this article into your code.
  • More confirmations mean a longer wait for the customer. Fewer mean more exposure to reorganisation. RpcNode gives you the knob, not the answer.

Related: accept USDT TRC-20 payments, AML checks, the Payments product, pricing, Enterprise and the Payments reference.