> For the complete documentation index, see [llms.txt](https://crypto-chief.gitbook.io/chief-event-stream/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crypto-chief.gitbook.io/chief-event-stream/webhooks/event-payloads.md). Agents can also search and read this documentation through its [MCP server](https://crypto-chief.gitbook.io/chief-event-stream/~gitbook/mcp).

# Event Payloads

## Event Payloads

The `payload` of an on-chain [Event Envelope](https://crypto-chief.gitbook.io/chief-event-stream/webhooks/event-envelope.md) is immutable, and its fields depend on `type`. Every field listed for a type is always present; a field that does not apply is `null` or `[]`.

### transfer.native

* **Families**: `evm`, `tron`, `xrp`, `utxo`, `solana`, `ton` (all 24 networks).

#### Payload fields

| Field       | Type             | Nullable                                                  | Description                                                                                                                                 |
| ----------- | ---------------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `asset`     | `object`         | No                                                        | Native asset descriptor (`id: "native"`, `kind: "native"`, `standard: "native"`, `contract: null`, `token_id: null`, `symbol`, `decimals`). |
| `amount`    | `object`         | No                                                        | Transferred amount (`raw` in smallest native unit, `decimals` equal to `asset.decimals`, `scale: null`).                                    |
| `from`      | `string \| null` | Yes (`null` on `utxo`)                                    | Canonical sender address. Always `null` on `utxo`; a string on `evm`, `tron`, `xrp`, `solana` and `ton`.                                    |
| `to`        | `string \| null` | Yes (`null` on `utxo` when `0` or `> 1` output addresses) | Canonical recipient address.                                                                                                                |
| `direction` | `string`         | No                                                        | `"in"`, `"out"`, or `"self"`, set per subscription by the rules below.                                                                      |
| `source`    | `object`         | No                                                        | Location of the transfer in the transaction, with its memo and tags (`kind`, `path`, `success`, `memo`, `source_tag`, `destination_tag`).   |
| `utxo`      | `object \| null` | Yes                                                       | All inputs and outputs of the transaction on `utxo` networks; `null` on `evm`, `tron`, `xrp`, `solana`, and `ton`.                          |

##### Nested transfer objects

| Field                    | Type              | Nullable | Description                                                                                                                                                                                                                                                                    |
| ------------------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `asset.id`               | `string`          | No       | Asset identifier (`"native"` for native coins; see [Asset Identifiers](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/networks-and-event-types.md#asset-identifiers)).                                                                                     |
| `asset.kind`             | `string`          | No       | `"native"`, `"token"`, or `"nft"`.                                                                                                                                                                                                                                             |
| `asset.standard`         | `string`          | No       | `"native"`, `"erc20"`, `"erc721"`, `"erc1155"`, `"trc20"`, `"trc721"`, `"spl"`, `"token2022"`, `"metaplex"`, `"metaplex_core"`, `"metaplex_cnft"`, `"jetton"`, `"ton_nft"`, or `"xrp_iou"`.                                                                                    |
| `asset.contract`         | `string \| null`  | Yes      | `null` for `"native"`. For tokens and NFTs, the contract, mint, issuer, collection, or asset address.                                                                                                                                                                          |
| `asset.decimals`         | `integer \| null` | Yes      | `0..255` or `null`; see [Token metadata](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/networks-and-event-types.md#token-metadata).                                                                                                                       |
| `asset.symbol`           | `string \| null`  | Yes      | Ticker (up to `64` characters) or `null`.                                                                                                                                                                                                                                      |
| `asset.token_id`         | `string \| null`  | Yes      | Unsigned decimal string (`^(0\|[1-9][0-9]*)$`) for NFTs, or `null`.                                                                                                                                                                                                            |
| `amount.raw`             | `string`          | No       | Unsigned decimal integer (`^(0\|[1-9][0-9]*)$`).                                                                                                                                                                                                                               |
| `amount.decimals`        | `integer \| null` | Yes      | Always equal to `asset.decimals`.                                                                                                                                                                                                                                              |
| `amount.scale`           | `integer \| null` | Yes      | `-96..96` on `xrp_iou`; `null` on all other standards.                                                                                                                                                                                                                         |
| `source.kind`            | `string`          | No       | `"transaction"` (`evm`/`tron` top-level), `"trace"` (`tron` internal TRX), `"log"` (`evm`/`tron` tokens & NFTs), `"payment"` (`xrp`), `"output"` (`utxo`), `"instruction"` (`solana`), or `"message"` (`ton`).                                                                 |
| `source.path`            | `string`          | No       | Path of the transfer within the transaction (for example, `"tx/native"`, `"tx/contract/0/native"`, `"internal/0/0"`, `"tx/payment"`, `"vout/0"`, `"instruction/0/-1"` (top-level Solana instruction), `"instruction/0/1"` (inner instruction), `"message/<msg_hash>/native"`). |
| `source.success`         | `boolean`         | No       | Always `true`.                                                                                                                                                                                                                                                                 |
| `source.memo`            | `string \| null`  | Yes      | Text comment up to `4096` UTF-8 bytes on `ton` (truncated on UTF-8 code-point boundaries if longer); always `null` on `evm`, `tron`, `xrp`, `utxo`, and `solana`.                                                                                                              |
| `source.source_tag`      | `integer \| null` | Yes      | 32-bit unsigned source tag (`0..4294967295`) on `xrp`; `null` elsewhere.                                                                                                                                                                                                       |
| `source.destination_tag` | `integer \| null` | Yes      | 32-bit unsigned destination tag (`0..4294967295`) on `xrp`; `null` elsewhere.                                                                                                                                                                                                  |
| `utxo.output_index`      | `integer`         | No       | `n` of the output this event represents; that output's `value_raw` equals `amount.raw`.                                                                                                                                                                                        |
| `utxo.coinbase`          | `boolean`         | No       | `true` for block-reward coinbase transactions; otherwise `false`.                                                                                                                                                                                                              |
| `utxo.inputs`            | `array<object>`   | No       | `[]` when `coinbase` is `true`; otherwise items `{n, txid, vout, addresses, value_raw}`, where `txid`, `vout` and `value_raw` can be `null`.                                                                                                                                   |
| `utxo.outputs`           | `array<object>`   | No       | `{n, addresses, value_raw}` items for all outputs of the transaction.                                                                                                                                                                                                          |

#### `direction` rules

`payload.direction` on `transfer.native`, `transfer.token` and `nft.transfer` is set for each subscription from its `selection.addresses` and `selection.watchlists` on that network:

| Watched addresses                               | `direction`                                           |
| ----------------------------------------------- | ----------------------------------------------------- |
| Sender and recipient                            | `"self"`                                              |
| Recipient only                                  | `"in"`                                                |
| Sender only                                     | `"out"`                                               |
| None involved                                   | Event not delivered                                   |
| Subscription has no `addresses` or `watchlists` | `"self"` if sender equals recipient, otherwise `"in"` |

On `utxo`, sender means any address in `utxo.inputs[].addresses` and recipient means any address in `utxo.outputs[output_index].addresses`. `selection.directions: ["out"]` without watched addresses matches no events.

#### Examples

TRON top-level native transfer:

```json
{
  "amount": {
    "decimals": 6,
    "raw": "2000000",
    "scale": null
  },
  "asset": {
    "contract": null,
    "decimals": 6,
    "id": "native",
    "kind": "native",
    "standard": "native",
    "symbol": "TRX",
    "token_id": null
  },
  "direction": "in",
  "from": "410000000000000000000000000000000000000002",
  "source": {
    "destination_tag": null,
    "kind": "transaction",
    "memo": null,
    "path": "tx/contract/0/native",
    "source_tag": null,
    "success": true
  },
  "to": "410000000000000000000000000000000000000001",
  "utxo": null
}
```

Bitcoin (`BTC_MAINNET`) multi-input UTXO output:

```json
{
  "amount": {
    "decimals": 8,
    "raw": "90000",
    "scale": null
  },
  "asset": {
    "contract": null,
    "decimals": 8,
    "id": "native",
    "kind": "native",
    "standard": "native",
    "symbol": "BTC",
    "token_id": null
  },
  "direction": "out",
  "from": null,
  "source": {
    "destination_tag": null,
    "kind": "output",
    "memo": null,
    "path": "vout/0",
    "source_tag": null,
    "success": true
  },
  "to": "1BitcoinEaterAddressDontSendf59kuE",
  "utxo": {
    "coinbase": false,
    "inputs": [
      {
        "addresses": [
          "1BoatSLRHtKNngkdXEeobR76b53LETtpyT"
        ],
        "n": 0,
        "txid": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "value_raw": "100000",
        "vout": 1
      },
      {
        "addresses": [
          "1BoatSLRHtKNngkdXEeobR76b53LETtpyT"
        ],
        "n": 1,
        "txid": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "value_raw": "50000",
        "vout": 1
      }
    ],
    "output_index": 0,
    "outputs": [
      {
        "addresses": [
          "1BitcoinEaterAddressDontSendf59kuE"
        ],
        "n": 0,
        "value_raw": "90000"
      },
      {
        "addresses": [
          "1BoatSLRHtKNngkdXEeobR76b53LETtpyT"
        ],
        "n": 1,
        "value_raw": "59000"
      }
    ]
  }
}
```

XRP (`XRP_MAINNET`) delivered payment with `destination_tag`:

```json
{
  "amount": {
    "decimals": 6,
    "raw": "1250000",
    "scale": null
  },
  "asset": {
    "contract": null,
    "decimals": 6,
    "id": "native",
    "kind": "native",
    "standard": "native",
    "symbol": "XRP",
    "token_id": null
  },
  "direction": "in",
  "from": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "source": {
    "destination_tag": 12345,
    "kind": "payment",
    "memo": null,
    "path": "tx/payment",
    "source_tag": null,
    "success": true
  },
  "to": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "utxo": null
}
```

TON (`TON_MAINNET`) internal message transfer with text comment:

```json
{
  "amount": {
    "decimals": 9,
    "raw": "1000000000",
    "scale": null
  },
  "asset": {
    "contract": null,
    "decimals": 9,
    "id": "native",
    "kind": "native",
    "standard": "native",
    "symbol": "GRAM",
    "token_id": null
  },
  "direction": "in",
  "from": "0:2222222222222222222222222222222222222222222222222222222222222222",
  "source": {
    "destination_tag": null,
    "kind": "message",
    "memo": "order-42",
    "path": "message/0x7777777777777777777777777777777777777777777777777777777777777777/native",
    "source_tag": null,
    "success": true
  },
  "to": "0:1111111111111111111111111111111111111111111111111111111111111111",
  "utxo": null
}
```

#### Limitations

* Emitted only for successful transactions. Transfers with `amount.raw` `"0"` are delivered only when `selection.include_zero` is `true`.
* `evm`: top-level transactions only; internal ETH/BNB/POL/AVAX transfers from contracts are not emitted.
* `tron`: top-level `TransferContract` transfers (`source.kind: "transaction"`) and internal TRX transfers from contracts (`source.kind: "trace"`) are emitted.
* `xrp`: `amount.raw` is `meta.delivered_amount` in drops.
* `ton`: emitted for non-bounced incoming internal messages, including GRAM attached to Jetton and NFT hops other than `transfer_notification` (`0x7362d09c`).

***

### transfer.token

* **Families**: `evm` (`erc20`), `tron` (`trc20`), `xrp` (`xrp_iou`), `solana` (`spl`, `token2022`), `ton` (`jetton`). Not supported on `utxo`.

#### Payload fields

Same fields as [`transfer.native`](#transfer.native), with these constraints:

| Field       | Type     | Nullable            | Description                                                                                                                                                           |
| ----------- | -------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `asset`     | `object` | No                  | `kind: "token"`, `standard` in `["erc20", "trc20", "xrp_iou", "spl", "token2022", "jetton"]`, `contract` non-null string, `token_id: null`.                           |
| `amount`    | `object` | No                  | `raw` non-null integer string; `scale` integer `-96..96` on `xrp_iou` and `null` on all other standards; `decimals` equal to `asset.decimals`.                        |
| `from`      | `string` | No                  | Canonical sender address. On `solana`: the token account owner when the transaction lists it, otherwise the token account address. On `ton`: the Jetton wallet owner. |
| `to`        | `string` | No                  | Canonical recipient address, resolved the same way as `from`.                                                                                                         |
| `direction` | `string` | No                  | `"in"`, `"out"`, or `"self"`.                                                                                                                                         |
| `source`    | `object` | No                  | `kind` is `"log"` (`evm`, `tron`), `"payment"` (`xrp`), `"instruction"` (`solana`), or `"message"` (`ton`).                                                           |
| `utxo`      | `null`   | Yes (always `null`) | Always `null`.                                                                                                                                                        |

#### Examples

EVM (`erc20`, token not in the catalog):

```json
{
  "amount": {
    "decimals": null,
    "raw": "1234500",
    "scale": null
  },
  "asset": {
    "contract": "0x0000000000000000000000000000000000000009",
    "decimals": null,
    "id": "0x0000000000000000000000000000000000000009",
    "kind": "token",
    "standard": "erc20",
    "symbol": null,
    "token_id": null
  },
  "direction": "in",
  "from": "0x0000000000000000000000000000000000000002",
  "source": {
    "destination_tag": null,
    "kind": "log",
    "memo": null,
    "path": "log/7/erc20",
    "source_tag": null,
    "success": true
  },
  "to": "0x0000000000000000000000000000000000000001",
  "utxo": null
}
```

XRP IOU (`xrp_iou`):

```json
{
  "amount": {
    "decimals": null,
    "raw": "125",
    "scale": 1
  },
  "asset": {
    "contract": "rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
    "decimals": null,
    "id": "USD:rhub8VRN55s94qWKDv6jmDy1pUykJzF3wq",
    "kind": "token",
    "standard": "xrp_iou",
    "symbol": "USD",
    "token_id": null
  },
  "direction": "in",
  "from": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "source": {
    "destination_tag": 777,
    "kind": "payment",
    "memo": null,
    "path": "tx/payment",
    "source_tag": null,
    "success": true
  },
  "to": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "utxo": null
}
```

Solana (`spl`) CPI transfer:

```json
{
  "amount": {
    "decimals": 6,
    "raw": "5000000",
    "scale": null
  },
  "asset": {
    "contract": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "decimals": 6,
    "id": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "kind": "token",
    "standard": "spl",
    "symbol": "USDC",
    "token_id": null
  },
  "direction": "in",
  "from": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin",
  "source": {
    "destination_tag": null,
    "kind": "instruction",
    "memo": null,
    "path": "instruction/2/0",
    "source_tag": null,
    "success": true
  },
  "to": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA",
  "utxo": null
}
```

TON Jetton (`jetton`):

```json
{
  "amount": {
    "decimals": 6,
    "raw": "25000000",
    "scale": null
  },
  "asset": {
    "contract": "0:b113a994b5024a16719f69139328eb759596c38a25f59028b146fecdc3621dfe",
    "decimals": 6,
    "id": "0:b113a994b5024a16719f69139328eb759596c38a25f59028b146fecdc3621dfe",
    "kind": "token",
    "standard": "jetton",
    "symbol": "USDT",
    "token_id": null
  },
  "direction": "in",
  "from": "0:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "source": {
    "destination_tag": null,
    "kind": "message",
    "memo": null,
    "path": "message/0x9999999999999999999999999999999999999999999999999999999999999999/jetton",
    "source_tag": null,
    "success": true
  },
  "to": "0:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "utxo": null
}
```

#### Limitations

* `evm` and `tron`: read from `Transfer(address,address,uint256)` logs with 3 topics and 32 bytes of `data`. TRC-10 transfers on `tron` are not emitted.
* `xrp`: read from IOU objects in `meta.delivered_amount`. XRPL MPT payments are not emitted.
* `solana`: Metaplex Token Metadata NFTs are delivered as [`nft.transfer`](#nft.transfer); see [Rules by family](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/networks-and-event-types.md#rules-by-family).
* `ton`: emitted only when the recipient Jetton wallet executes `internal_transfer` (`0x178d4519`). `transfer_notification` (`0x7362d09c`) and zero-amount Jetton transfers never emit `transfer.token`. Comments in a nested `forward_payload` of `internal_transfer` are not decoded into `source.memo`.

***

### nft.transfer

* **Families**: `evm` (`erc721`, `erc1155`), `tron` (`trc721`), `solana` (`metaplex`, `metaplex_core`, `metaplex_cnft`), `ton` (`ton_nft`). On `xrp`, use [`xrp.nft`](#xrp.nft).

#### Payload fields

| Field       | Type             | Nullable                        | Description                                                                                                                                                                                                                                                                                                                                                                                                  |
| ----------- | ---------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `asset`     | `object`         | No                              | `kind: "nft"`, `standard` in `["erc721", "erc1155", "trc721", "metaplex", "metaplex_core", "metaplex_cnft", "ton_nft"]`, `decimals: 0`, `symbol: null`, `token_id` decimal string (always `null` on Solana, can be `null` on `ton_nft`). For `id` and `contract`, see [Asset identifiers](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/networks-and-event-types.md#asset-identifiers). |
| `amount`    | `object`         | No                              | `decimals: 0`, `scale: null`. `raw` is `"1"` on `erc721`, `trc721`, `metaplex`, `metaplex_core`, `metaplex_cnft`, and `ton_nft`. On `erc1155`, `raw` is the transferred quantity of `token_id`.                                                                                                                                                                                                              |
| `from`      | `string \| null` | Yes (`null` on `metaplex_core`) | Canonical sender address (zero address on `evm` and `tron` mints). On `metaplex`, resolved as in [`transfer.token`](#transfer.token). Metaplex Core `TransferV1` omits the previous owner and can be signed by a delegate such as a marketplace. On `metaplex_cnft`, `from` is the previous leaf owner.                                                                                                      |
| `to`        | `string`         | No                              | Canonical recipient address. On `metaplex`, resolved the same way as `from`. On `metaplex_core`, the new owner. On `metaplex_cnft`, the new leaf owner.                                                                                                                                                                                                                                                      |
| `direction` | `string`         | No                              | `"in"`, `"out"`, or `"self"`.                                                                                                                                                                                                                                                                                                                                                                                |
| `source`    | `object`         | No                              | `kind` is `"log"` (`evm`, `tron`), `"instruction"` (`solana`), or `"message"` (`ton`).                                                                                                                                                                                                                                                                                                                       |
| `utxo`      | `null`           | Yes (always `null`)             | Always `null`.                                                                                                                                                                                                                                                                                                                                                                                               |

#### Examples

EVM (`erc721`):

```json
{
  "amount": {
    "decimals": 0,
    "raw": "1",
    "scale": null
  },
  "asset": {
    "contract": "0x0000000000000000000000000000000000000009",
    "decimals": 0,
    "id": "0x0000000000000000000000000000000000000009",
    "kind": "nft",
    "standard": "erc721",
    "symbol": null,
    "token_id": "777"
  },
  "direction": "in",
  "from": "0x0000000000000000000000000000000000000002",
  "source": {
    "destination_tag": null,
    "kind": "log",
    "memo": null,
    "path": "log/7/erc721",
    "source_tag": null,
    "success": true
  },
  "to": "0x0000000000000000000000000000000000000001",
  "utxo": null
}
```

Solana programmable NFT (`metaplex`):

```json
{
  "amount": {
    "decimals": 0,
    "raw": "1",
    "scale": null
  },
  "asset": {
    "contract": "4yeQiJGDshXZpzK1avLzEz2evCsNiWRk2HJwp7ZfRrpq",
    "decimals": 0,
    "id": "4yeQiJGDshXZpzK1avLzEz2evCsNiWRk2HJwp7ZfRrpq",
    "kind": "nft",
    "standard": "metaplex",
    "symbol": null,
    "token_id": null
  },
  "direction": "in",
  "from": "4wBqpZM9xaSheZzJSMawUKKwhdpChKbZ5eu5ky4Vigw",
  "source": {
    "destination_tag": null,
    "kind": "instruction",
    "memo": null,
    "path": "instruction/0/1",
    "source_tag": null,
    "success": true
  },
  "to": "8rUz82MkFsfqjpVjjgWEM66Brr1sm1R7VKZ991fF41e",
  "utxo": null
}
```

Solana Metaplex Core NFT in a collection (`metaplex_core`)

```json
{
  "amount": {
    "decimals": 0,
    "raw": "1",
    "scale": null
  },
  "asset": {
    "contract": "phygZDQZJZVHvJGYPGoKPYUtXw7mstSYtTtcuh8LJcC",
    "decimals": 0,
    "id": "8F8Uwn7KRF92vRBobEgYBAajFqF9xc8fqNt6MNeke48L",
    "kind": "nft",
    "standard": "metaplex_core",
    "symbol": null,
    "token_id": null
  },
  "direction": "in",
  "from": null,
  "source": {
    "destination_tag": null,
    "kind": "instruction",
    "memo": null,
    "path": "instruction/5/-1",
    "source_tag": null,
    "success": true
  },
  "to": "62Q9eeDY3eM8A5CnprBGYMPShdBjAzdpBdr71QHsS8dS",
  "utxo": null
}
```

Solana compressed NFT transferred with Bubblegum `transfer` (`metaplex_cnft`)

```json
{
  "amount": {
    "decimals": 0,
    "raw": "1",
    "scale": null
  },
  "asset": {
    "contract": "AJd7PxPgxmWwvtrrDB7ZfBtVDeu4L3UvBzWQM9eWsgtp",
    "decimals": 0,
    "id": "AJd7PxPgxmWwvtrrDB7ZfBtVDeu4L3UvBzWQM9eWsgtp",
    "kind": "nft",
    "standard": "metaplex_cnft",
    "symbol": null,
    "token_id": null
  },
  "direction": "in",
  "from": "HRMrGUcqzFADTEWvBtN5EV8VVFmEJF7cUB8318hNpshn",
  "source": {
    "destination_tag": null,
    "kind": "instruction",
    "memo": null,
    "path": "instruction/2/-1",
    "source_tag": null,
    "success": true
  },
  "to": "BeqVqsUXpGvwUd8SVqXMQF5WUuTD76cz7caeLsbSdjqc",
  "utxo": null
}
```

TON NFT (`ton_nft`):

```json
{
  "amount": {
    "decimals": 0,
    "raw": "1",
    "scale": null
  },
  "asset": {
    "contract": "0:7777777777777777777777777777777777777777777777777777777777777777",
    "decimals": 0,
    "id": "0:7777777777777777777777777777777777777777777777777777777777777777",
    "kind": "nft",
    "standard": "ton_nft",
    "symbol": null,
    "token_id": null
  },
  "direction": "in",
  "from": "0:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "source": {
    "destination_tag": null,
    "kind": "message",
    "memo": null,
    "path": "message/0x8888888888888888888888888888888888888888888888888888888888888888/nft",
    "source_tag": null,
    "success": true
  },
  "to": "0:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
  "utxo": null
}
```

#### Limitations

* `erc721` and `trc721`: `Transfer` logs with 4 topics and empty `data`. A `Transfer`, `TransferSingle` or `TransferBatch` log that does not match its standard shape emits no `transfer.token` or `nft.transfer`. It is delivered only as `contract.event`, to subscriptions that select that contract and event.
* `erc1155` (`evm` only): `TransferSingle` emits one event. `TransferBatch` emits one event per item, up to `1000` items. A larger batch emits no `nft.transfer`; it is delivered only as `contract.event`, to subscriptions that select that contract and event.
* `solana`: only successful transactions emit `nft.transfer`. A programmable NFT moves through a token program instruction inside the Token Metadata instruction. `source.path` points to that inner instruction (`"instruction/0/1"` in the programmable NFT example). Supported transfers are listed under [Rules by family](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/networks-and-event-types.md#rules-by-family).
* `ton`: `asset.id` and `asset.contract` contain the canonical `nft_item` contract address (`<workchain>:<64hex>`).

***

### token.approval

* **Families**: `evm`, `tron`.

#### Payload fields

| Field        | Type              | Nullable | Description                                                                                                                                                                                 |
| ------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `kind`       | `string`          | No       | Always `"approval"`.                                                                                                                                                                        |
| `contract`   | `string`          | No       | Token or NFT contract address (`0x...` on `evm`, `41...` on `tron`).                                                                                                                        |
| `owner`      | `string`          | No       | Address granting or revoking the approval.                                                                                                                                                  |
| `spender`    | `string`          | No       | Approved spender or operator address.                                                                                                                                                       |
| `standard`   | `string`          | No       | `"erc20"`, `"erc721"`, `"erc1155"`, `"trc20"`, or `"trc721"`.                                                                                                                               |
| `amount_raw` | `string \| null`  | Yes      | Unsigned decimal integer allowance on `erc20` and `trc20`; `null` on `erc721`, `erc1155`, and `trc721`.                                                                                     |
| `token_id`   | `string \| null`  | Yes      | Unsigned decimal token ID on single-token `erc721`/`trc721` `Approval`; `null` on `erc20`/`trc20` and `ApprovalForAll`.                                                                     |
| `approved`   | `boolean \| null` | Yes      | `true` or `false` on `ApprovalForAll`; `null` on `Approval` (`erc20`, `trc20`, `erc721`, `trc721`). A single-token `Approval` to the zero address revokes it.                               |
| `unlimited`  | `boolean`         | No       | `true` if and only if `amount_raw` equals `"115792089237316195423570985008687907853269984665640564039457584007913129639935"` (`2^256 - 1`); `false` otherwise (including `ApprovalForAll`). |

#### Example

```json
{
  "amount_raw": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
  "approved": null,
  "contract": "0x0000000000000000000000000000000000000009",
  "kind": "approval",
  "owner": "0x0000000000000000000000000000000000000001",
  "spender": "0x0000000000000000000000000000000000000002",
  "standard": "erc20",
  "token_id": null,
  "unlimited": true
}
```

#### Limitations

* `ApprovalForAll(address,address,bool)` logs emit `token.approval` only when another log from the same contract in the same block identifies `erc721`, `trc721`, or `erc1155`.

***

### contract.event

* **Families**: `evm`, `tron`.

#### Payload fields

| Field          | Type                    | Nullable | Description                                                                                                                                                                                                                       |
| -------------- | ----------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `kind`         | `string`                | No       | Always `"event"`.                                                                                                                                                                                                                 |
| `contract`     | `string`                | No       | Emitting contract address (`0x...` on `evm`, `41...` on `tron`).                                                                                                                                                                  |
| `signature`    | `string`                | No       | Canonical signature `"EventName(type1,type2,...)"` of the matching `selection.events[]` entry.                                                                                                                                    |
| `topic0`       | `string \| null`        | Yes      | Lowercase `0x` + 64 hex, including on `tron`; `null` for anonymous events.                                                                                                                                                        |
| `raw_log`      | `object`                | No       | Raw log object: `address` (`string`), `topics` (`array<string>`, `0..4` items with `0x`), `data` (`string`, `0x` hex), `tx_hash` (`string`), `log_index` (`integer >= 0`), `block_height` (`string`), `block_hash` (`string`).    |
| `decoded`      | `array<object> \| null` | Yes      | Positional `{index, name, value}` items (up to `1000`) when the matching entry has an `abi` and decoding succeeds; otherwise `null`. A result over `64 KiB` gives `null` with `decode_error: "ABI decoded result exceeds limit"`. |
| `decode_error` | `string \| null`        | Yes      | `null` when decoding succeeds or the matching entry has no `abi`; the error reason (up to `256` characters) when ABI decoding fails.                                                                                              |

##### Decoded ABI values

`decoded[].value` and `arguments[].value`:

* `uint8..uint256`, `int8..int256`: decimal string (for example, `"100"`, `"-5000000"`).
* `address`: lowercase `"0x..."` on `evm`; lowercase `"41..."` without `0x` on `tron`.
* `bool`: `true` or `false`.
* `string`: UTF-8 string.
* `bytes`, `bytes1..bytes32`: lowercase `0x`-prefixed hex string.
* `tuple`: JSON object keyed by component name; `T[]` / `T[k]`: JSON array.
* An unnamed or duplicate parameter or component name becomes `"$<index>"` (for example, `"$0"`).
* Indexed dynamic event parameters (`indexed string`, `indexed bytes`, `indexed tuple`, `indexed T[]`): `{"indexed_hash": "0x<64 lowercase hex>"}`.

#### Examples

With JSON `abi` fragment on `TRON_MAINNET`:

```json
{
  "contract": "410000000000000000000000000000000000000009",
  "decode_error": null,
  "decoded": [
    {
      "index": 0,
      "name": "user",
      "value": "410000000000000000000000000000000000000001"
    },
    {
      "index": 1,
      "name": "amount",
      "value": "100"
    }
  ],
  "kind": "event",
  "raw_log": {
    "address": "410000000000000000000000000000000000000009",
    "block_hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
    "block_height": "24000000",
    "data": "0x0000000000000000000000000000000000000000000000000000000000000064",
    "log_index": 7,
    "topics": [
      "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c",
      "0x0000000000000000000000000000000000000000000000000000000000000001"
    ],
    "tx_hash": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
  },
  "signature": "Deposit(address,uint256)",
  "topic0": "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c"
}
```

Matched by a text `signature` (without `abi`):

```json
{
  "contract": "0x0000000000000000000000000000000000000009",
  "decode_error": null,
  "decoded": null,
  "kind": "event",
  "raw_log": {
    "address": "0x0000000000000000000000000000000000000009",
    "block_hash": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
    "block_height": "24000000",
    "data": "0x0000000000000000000000000000000000000000000000000000000000000064",
    "log_index": 7,
    "topics": [
      "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c",
      "0x0000000000000000000000000000000000000000000000000000000000000001"
    ],
    "tx_hash": "0xdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
  },
  "signature": "Deposit(address,uint256)",
  "topic0": "0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c"
}
```

#### Limitations

* Selecting `"contract.event"` requires non-empty `selection.contracts` and `selection.events`.
* With a text `signature` and no `abi`, `decoded` is `null`. With an `abi` that does not fit the log, the event is still delivered with `decoded: null` and `decode_error` set.
* ABI size limits: see [Limits](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/limits.md).

***

### contract.call

* **Families**: `evm`, `tron`.

#### Payload fields

| Field           | Type                    | Nullable | Description                                                                                                                                                                        |
| --------------- | ----------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `kind`          | `string`                | No       | Always `"call"`.                                                                                                                                                                   |
| `contract`      | `string`                | No       | Target contract address (`0x...` on `evm`; `41...` from `TriggerSmartContract` on `tron`).                                                                                         |
| `from`          | `string`                | No       | Caller address (`0x...` on `evm`; `41...` on `tron`).                                                                                                                              |
| `selector`      | `string`                | No       | 4-byte lowercase hex function selector (`^0x[0-9a-f]{8}$`).                                                                                                                        |
| `signature`     | `string \| null`        | Yes      | Canonical function signature `"fn(type1,type2)"` when `abi` or `signature` is provided; otherwise `null`.                                                                          |
| `scope`         | `string`                | No       | Always `"top"`.                                                                                                                                                                    |
| `trace_path`    | `array<integer>`        | No       | Always `[]`.                                                                                                                                                                       |
| `success`       | `boolean`               | No       | `true` or `false` (`selection.calls[].statuses` defaults to `["success"]` and can include `"failed"`).                                                                             |
| `input`         | `string`                | No       | Full lowercase `0x`-prefixed calldata.                                                                                                                                             |
| `output`        | `string \| null`        | Yes      | Always `null`.                                                                                                                                                                     |
| `value_raw`     | `string`                | No       | Native value sent with the call in wei (`evm`) or sun (`tron`), `"0"` if none.                                                                                                     |
| `arguments`     | `array<object> \| null` | Yes      | Positional `{index, name, value}` array when a function `abi` is provided; `null` when matched by `signature` or `selector`. Same `64 KiB` limit as `decoded` in `contract.event`. |
| `return_values` | `array<object> \| null` | Yes      | Always `null`.                                                                                                                                                                     |
| `decode_error`  | `string \| null`        | Yes      | ABI input decode error message, or `null`.                                                                                                                                         |

#### Example

```json
{
  "arguments": [
    {
      "index": 0,
      "name": "to",
      "value": "0x0000000000000000000000000000000000000002"
    },
    {
      "index": 1,
      "name": "amount",
      "value": "100"
    }
  ],
  "contract": "0x0000000000000000000000000000000000000009",
  "decode_error": null,
  "from": "0x0000000000000000000000000000000000000001",
  "input": "0xa9059cbb00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000064",
  "kind": "call",
  "output": null,
  "return_values": null,
  "scope": "top",
  "selector": "0xa9059cbb",
  "signature": "transfer(address,uint256)",
  "success": true,
  "trace_path": [],
  "value_raw": "0"
}
```

#### Limitations

* Selecting `"contract.call"` requires non-empty `selection.contracts` and `selection.calls`.
* Transactions with fewer than `4` bytes of `input` calldata have no function selector and are skipped.
* Only top-level calls are captured.

***

### transaction.failed

* **Families**: `evm`, `tron`, `xrp`, `solana`, `ton`. Not supported on `utxo`.

#### Payload fields

| Field             | Type             | Nullable            | Description                                                                                                                                                                                                                    |
| ----------------- | ---------------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `kind`            | `string`         | No                  | Always `"failed"`.                                                                                                                                                                                                             |
| `from`            | `string \| null` | Yes                 | Sender address on `evm`, `tron`, `xrp`, and internal `ton` messages; `null` on external `ton` messages and always `null` on `solana`.                                                                                          |
| `to`              | `string \| null` | Yes                 | Recipient or target contract address. `null` on failed `evm`/`tron` contract creations and on `xrp` transactions without `Destination`; always `null` on `solana`. On `ton`, always the account that executed the transaction. |
| `input`           | `string \| null` | Yes                 | `0x`-prefixed calldata on `evm` and `tron` when non-empty; `null` on `xrp`, `solana`, and `ton`.                                                                                                                               |
| `failure_code`    | `string`         | No                  | Family-specific failure code (see below).                                                                                                                                                                                      |
| `failure_message` | `null`           | Yes (always `null`) | Always `null`.                                                                                                                                                                                                                 |
| `fee_raw`         | `string`         | No                  | Fee paid in smallest native unit (`^(0\|[1-9][0-9]*)$`, `"0"` if absent).                                                                                                                                                      |

#### Examples

EVM failed transaction:

```json
{
  "failure_code": "EVM_REVERT",
  "failure_message": null,
  "fee_raw": "21000000000000",
  "from": "0x0000000000000000000000000000000000000001",
  "input": "0x12345678",
  "kind": "failed",
  "to": "0x0000000000000000000000000000000000000009"
}
```

TON failed transaction:

```json
{
  "failure_code": "TON_COMPUTE_35",
  "failure_message": null,
  "fee_raw": "2418000",
  "from": "0:2222222222222222222222222222222222222222222222222222222222222222",
  "input": null,
  "kind": "failed",
  "to": "0:1111111111111111111111111111111111111111111111111111111111111111"
}
```

#### Limitations

* Envelope `transaction.success` is always `false`.
* `failure_code` values by family:
  * `evm`: `"EVM_REVERT"`.
  * `tron`: `contractRet` value (for example, `"OUT_OF_ENERGY"`, `"REVERT"`), or `"TRON_FAILED"`.
  * `xrp`: XRPL engine result code `!= "tesSUCCESS"` inside a validated ledger (for example, `"tecUNFUNDED_PAYMENT"`, `"tecPATH_DRY"`).
  * `solana`: `"SOLANA_FAILED"`. `from` and `to` are `null`, so subscriptions with `selection.addresses` or `selection.watchlists` never match `transaction.failed` on `SOLANA_MAINNET`.
  * `ton`: `"TON_COMPUTE_<exit_code>"` when `compute_exit_code` is not `null`, `0`, or `1`; else `"TON_ACTION_<result_code>"` when `action_result_code != 0`; else `"TON_ABORTED"`.

***

### contract.deployed

* **Families**: `evm`, `tron`.

#### Payload fields

| Field        | Type             | Nullable            | Description                                                      |
| ------------ | ---------------- | ------------------- | ---------------------------------------------------------------- |
| `kind`       | `string`         | No                  | Always `"deployed"`.                                             |
| `deployer`   | `string`         | No                  | Canonical creator address (`0x...` on `evm`, `41...` on `tron`). |
| `contract`   | `string`         | No                  | Canonical address of the deployed contract.                      |
| `scope`      | `string`         | No                  | Always `"top"`.                                                  |
| `code_hash`  | `null`           | Yes (always `null`) | Always `null`.                                                   |
| `trace_path` | `array<integer>` | No                  | Always `[]`.                                                     |

#### Example

```json
{
  "code_hash": null,
  "contract": "0x0000000000000000000000000000000000000009",
  "deployer": "0x0000000000000000000000000000000000000001",
  "kind": "deployed",
  "scope": "top",
  "trace_path": []
}
```

#### Limitations

* `evm` and `tron`: top-level contract creation transactions only (`scope: "top"`). Factory deployments through internal `CREATE` or `CREATE2` are not emitted.

***

### block.created

* **Families**: `evm`, `tron`, `xrp`, `utxo`, `solana`, `ton` (all 24 networks).

#### Payload fields

| Field               | Type             | Nullable | Description                                                                                   |
| ------------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------- |
| `kind`              | `string`         | No       | Always `"block"`.                                                                             |
| `height`            | `string`         | No       | Unsigned decimal height, ledger index, slot, or masterchain `seqno` (matches `block.height`). |
| `hash`              | `string`         | No       | Block hash (matches `block.hash`).                                                            |
| `parent_hash`       | `string`         | No       | Parent block hash (matches `block.parent_hash`).                                              |
| `timestamp`         | `string \| null` | Yes      | Block header UTC timestamp (`YYYY-MM-DDTHH:MM:SS.sssZ`).                                      |
| `transaction_count` | `integer`        | No       | Number of transactions in the block.                                                          |

#### Example

```json
{
  "hash": "0x1111111111111111111111111111111111111111111111111111111111111111",
  "height": "23000000",
  "kind": "block",
  "parent_hash": "0x2222222222222222222222222222222222222222222222222222222222222222",
  "timestamp": "2026-10-27T00:00:00.000Z",
  "transaction_count": 123
}
```

#### Limitations

* Envelope `transaction` and `relation.transaction_key` are `null`.
* Subscription rules for `block.created`: see [Limits](https://crypto-chief.gitbook.io/chief-event-stream/getting-started/limits.md).
* `solana`: skipped slots without a block do not emit `block.created`.
* `ton`: emitted once per masterchain block (`workchain = -1`); `transaction_count` sums transactions across that masterchain block and all shardchain blocks committed in it.

***

### Protocol action payloads

All TRON and XRP protocol event types use the same 10 fields:

| Field            | Type             | Nullable | Description                                                                                                                                                                                                                        |
| ---------------- | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `family`         | `string`         | No       | `"tron"` or `"xrp"`.                                                                                                                                                                                                               |
| `action`         | `string`         | No       | TRON contract type or XRPL `TransactionType`; values per type below.                                                                                                                                                               |
| `account`        | `string`         | No       | `41...` hex on TRON, classic `r...` on XRP.                                                                                                                                                                                        |
| `counterparty`   | `string \| null` | Yes      | Second party per type below, or `null`.                                                                                                                                                                                            |
| `amount_raw`     | `string \| null` | Yes      | Integer amount in sun or drops per type below, or `null`.                                                                                                                                                                          |
| `resource`       | `string \| null` | Yes      | `"ENERGY"`, `"BANDWIDTH"` or `null` on `tron.resource`; `null` on other types.                                                                                                                                                     |
| `votes`          | `array<object>`  | No       | Up to `1000` `{witness, count}` items on `tron.vote` (`count` is a decimal string); `[]` on other types.                                                                                                                           |
| `permission`     | `object \| null` | Yes      | On `tron.permissions`: `{owner, witness, active}`; `owner` and `witness` are objects or `null`, `active` is an array; `threshold` and `keys[].weight` are decimal strings, `keys[].address` is `41...` hex. `null` on other types. |
| `ledger_objects` | `array<object>`  | No       | XRP: affected ledger entries `{index, entry_type, change, before, after}`, `change` is `"created"`, `"modified"` or `"deleted"`. TRON: `[]`.                                                                                       |
| `raw`            | `object`         | No       | TRON contract parameters with `41...` addresses, or the XRPL transaction JSON.                                                                                                                                                     |

TRON types are emitted only for successful transactions; XRP types only for `tesSUCCESS` transactions in validated ledgers.

***

### tron.resource

* **Families**: `tron` (`TRON_MAINNET`, `TRON_NILE`).

#### Payload fields

| Field          | Type             | Nullable | Description                                                                                                                                                                                                                                               |
| -------------- | ---------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `action`       | `string`         | No       | One of `"FreezeBalanceV2Contract"`, `"UnfreezeBalanceV2Contract"`, `"DelegateResourceContract"`, `"UnDelegateResourceContract"`, `"WithdrawExpireUnfreezeContract"`, `"FreezeBalanceContract"`, `"UnfreezeBalanceContract"`, `"WithdrawBalanceContract"`. |
| `counterparty` | `string \| null` | Yes      | Resource receiver address (`41...`) when applicable, or `null`.                                                                                                                                                                                           |
| `amount_raw`   | `string \| null` | Yes      | Amount in sun when applicable, or `null`.                                                                                                                                                                                                                 |

#### Example

```json
{
  "account": "410000000000000000000000000000000000000001",
  "action": "DelegateResourceContract",
  "amount_raw": "1000000",
  "counterparty": "410000000000000000000000000000000000000002",
  "family": "tron",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "lock": false,
    "receiver_address": "410000000000000000000000000000000000000002"
  },
  "resource": "ENERGY",
  "votes": []
}
```

***

### tron.vote

* **Families**: `tron` (`TRON_MAINNET`, `TRON_NILE`).

#### Payload fields

| Field          | Type             | Nullable | Description                               |
| -------------- | ---------------- | -------- | ----------------------------------------- |
| `action`       | `string`         | No       | Always `"VoteWitnessContract"`.           |
| `counterparty` | `string \| null` | Yes      | `null` (witnesses are listed in `votes`). |
| `amount_raw`   | `string \| null` | Yes      | `null`.                                   |

#### Example

```json
{
  "account": "410000000000000000000000000000000000000001",
  "action": "VoteWitnessContract",
  "amount_raw": null,
  "counterparty": null,
  "family": "tron",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "votes": [
      {
        "count": "1",
        "witness": "410000000000000000000000000000000000000002"
      }
    ]
  },
  "resource": null,
  "votes": [
    {
      "count": "1",
      "witness": "410000000000000000000000000000000000000002"
    }
  ]
}
```

***

### tron.permissions

* **Families**: `tron` (`TRON_MAINNET`, `TRON_NILE`).

#### Payload fields

| Field          | Type             | Nullable | Description                                 |
| -------------- | ---------------- | -------- | ------------------------------------------- |
| `action`       | `string`         | No       | Always `"AccountPermissionUpdateContract"`. |
| `counterparty` | `string \| null` | Yes      | `null`.                                     |
| `amount_raw`   | `string \| null` | Yes      | `null`.                                     |

#### Example

```json
{
  "account": "410000000000000000000000000000000000000001",
  "action": "AccountPermissionUpdateContract",
  "amount_raw": null,
  "counterparty": null,
  "family": "tron",
  "ledger_objects": [],
  "permission": {
    "active": [],
    "owner": {
      "keys": [
        {
          "address": "410000000000000000000000000000000000000001",
          "weight": "1"
        }
      ],
      "threshold": "1"
    },
    "witness": null
  },
  "raw": {
    "owner": {
      "keys": [
        {
          "address": "410000000000000000000000000000000000000001",
          "weight": "1"
        }
      ],
      "threshold": "1"
    }
  },
  "resource": null,
  "votes": []
}
```

***

### xrp.account

* **Families**: `xrp` (`XRP_MAINNET`, `XRP_TESTNET`).

#### Payload fields

| Field          | Type             | Nullable | Description                                                                     |
| -------------- | ---------------- | -------- | ------------------------------------------------------------------------------- |
| `action`       | `string`         | No       | One of `"AccountSet"`, `"AccountDelete"`, `"SetRegularKey"`, `"SignerListSet"`. |
| `counterparty` | `string \| null` | Yes      | `Destination` (`AccountDelete`), `RegularKey` (`SetRegularKey`), or `null`.     |
| `amount_raw`   | `string \| null` | Yes      | Integer string when applicable, or `null`.                                      |

#### Example

```json
{
  "account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "action": "AccountSet",
  "amount_raw": null,
  "counterparty": null,
  "family": "xrp",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "TransactionType": "AccountSet"
  },
  "resource": null,
  "votes": []
}
```

***

### xrp.trustline

* **Families**: `xrp` (`XRP_MAINNET`, `XRP_TESTNET`).

#### Payload fields

| Field          | Type             | Nullable | Description                                               |
| -------------- | ---------------- | -------- | --------------------------------------------------------- |
| `action`       | `string`         | No       | Always `"TrustSet"`.                                      |
| `counterparty` | `string \| null` | Yes      | `LimitAmount.issuer` (`r...`) or `null`.                  |
| `amount_raw`   | `string \| null` | Yes      | `null` (limit details are in `raw` and `ledger_objects`). |

#### Example

```json
{
  "account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "action": "TrustSet",
  "amount_raw": null,
  "counterparty": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "family": "xrp",
  "ledger_objects": [
    {
      "after": {
        "LowLimit": {
          "currency": "USD",
          "issuer": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
          "value": "1000"
        }
      },
      "before": {
        "LowLimit": {
          "currency": "USD",
          "issuer": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
          "value": "0"
        }
      },
      "change": "modified",
      "entry_type": "RippleState",
      "index": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
    }
  ],
  "permission": null,
  "raw": {
    "TransactionType": "TrustSet"
  },
  "resource": null,
  "votes": []
}
```

***

### xrp.offer

* **Families**: `xrp` (`XRP_MAINNET`, `XRP_TESTNET`).

#### Payload fields

| Field          | Type             | Nullable | Description                                                 |
| -------------- | ---------------- | -------- | ----------------------------------------------------------- |
| `action`       | `string`         | No       | `"OfferCreate"` or `"OfferCancel"`.                         |
| `counterparty` | `string \| null` | Yes      | Counterparty/issuer `r...` address when present, or `null`. |
| `amount_raw`   | `string \| null` | Yes      | Integer string when applicable, or `null`.                  |

#### Example

```json
{
  "account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "action": "OfferCreate",
  "amount_raw": null,
  "counterparty": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "family": "xrp",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "TransactionType": "OfferCreate"
  },
  "resource": null,
  "votes": []
}
```

***

### xrp.escrow

* **Families**: `xrp` (`XRP_MAINNET`, `XRP_TESTNET`).

#### Payload fields

| Field          | Type             | Nullable | Description                                                                                                         |
| -------------- | ---------------- | -------- | ------------------------------------------------------------------------------------------------------------------- |
| `action`       | `string`         | No       | `"EscrowCreate"`, `"EscrowFinish"`, or `"EscrowCancel"`.                                                            |
| `counterparty` | `string \| null` | Yes      | `Destination` on `EscrowCreate`; escrow `Owner` on `EscrowFinish` and `EscrowCancel`; or `null`.                    |
| `amount_raw`   | `string \| null` | Yes      | Escrowed amount in drops, from the transaction `Amount` or the affected `Escrow` entry; `null` for non-XRP amounts. |

#### Example

```json
{
  "account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "action": "EscrowCreate",
  "amount_raw": null,
  "counterparty": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "family": "xrp",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "TransactionType": "EscrowCreate"
  },
  "resource": null,
  "votes": []
}
```

***

### xrp.nft

* **Families**: `xrp` (`XRP_MAINNET`, `XRP_TESTNET`).

#### Payload fields

| Field          | Type             | Nullable | Description                                                                                                      |
| -------------- | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
| `action`       | `string`         | No       | One of `"NFTokenMint"`, `"NFTokenBurn"`, `"NFTokenCreateOffer"`, `"NFTokenCancelOffer"`, `"NFTokenAcceptOffer"`. |
| `counterparty` | `string \| null` | Yes      | Related classic `r...` counterparty when present, or `null`.                                                     |
| `amount_raw`   | `string \| null` | Yes      | Drops string when applicable, or `null`.                                                                         |

#### Example

```json
{
  "account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
  "action": "NFTokenMint",
  "amount_raw": null,
  "counterparty": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
  "family": "xrp",
  "ledger_objects": [],
  "permission": null,
  "raw": {
    "TransactionType": "NFTokenMint"
  },
  "resource": null,
  "votes": []
}
```

***

### system.test

* Sent only by [`sinks/test`](https://crypto-chief.gitbook.io/chief-event-stream/api-reference/sinks.md#send-a-test-delivery); not tied to a network.

#### Test envelope fields

`system.test` has its own envelope instead of the [event envelope](https://crypto-chief.gitbook.io/chief-event-stream/webhooks/event-envelope.md):

| Field                  | Type      | Nullable | Description                                                          |
| ---------------------- | --------- | -------- | -------------------------------------------------------------------- |
| `schema_version`       | `integer` | No       | Always `1`.                                                          |
| `event_id`             | `string`  | No       | UUIDv7 of the test event.                                            |
| `project_id`           | `string`  | No       | Project UUID.                                                        |
| `type`                 | `string`  | No       | Always `"system.test"`.                                              |
| `is_test`              | `boolean` | No       | Always `true`.                                                       |
| `created_at`           | `string`  | No       | UTC timestamp (`YYYY-MM-DDTHH:MM:SS.sssZ`) when the test was queued. |
| `payload`              | `object`  | No       | Test payload; fields below.                                          |
| `payload.message`      | `string`  | No       | Always `"EventStream test"`.                                         |
| `payload.sink_id`      | `string`  | No       | Target sink UUIDv7.                                                  |
| `payload.generated_at` | `string`  | No       | UTC generation timestamp (`YYYY-MM-DDTHH:MM:SS.sssZ`).               |

#### Example

```json
{
  "created_at": "2026-10-27T00:00:00.000Z",
  "event_id": "019a0000-0000-7000-8000-000000000001",
  "is_test": true,
  "payload": {
    "generated_at": "2026-10-27T00:00:00.000Z",
    "message": "EventStream test",
    "sink_id": "019a0000-0000-7000-8000-000000000010"
  },
  "project_id": "3f2a1b4c-5d6e-7f80-9a1b-2c3d4e5f6071",
  "schema_version": 1,
  "type": "system.test"
}
```

Signing, retries, cost and retention: see [Test delivery behavior](https://crypto-chief.gitbook.io/chief-event-stream/api-reference/sinks.md#test-delivery-behavior).
