---
title: "Transaction replaced"
method: POST
path: "transaction.replaced"
---

# Transaction replaced

`POST transaction.replaced` (webhook)

Fired when a transaction is replaced by another transaction (e.g., speed-up or cancellation).

## Payload

- TransactionReplacedWebhookPayload — Payload for the transaction.replaced webhook event.
  - `caip2` string, required — The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum mainnet).
  - `reference_id` string, nullable — Developer-provided reference ID for transaction reconciliation, if one was provided.
  - `transaction_hash` string, required — The blockchain transaction hash.
  - `transaction_id` string, required — The Privy-assigned ID for this transaction.
  - `type` 'transaction.replaced', required — The type of webhook event.
  - `wallet_id` string, required — The ID of the wallet that initiated the transaction.

## Acknowledgement `200`

Return a 200 status to indicate that the webhook was received successfully.

---

[API](https://skmtc.net/privy-io/apis/privy-api.md) · [All operations](https://skmtc.net/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privy-io/privy-api/revisions/bb2eb34156cc/schema)
