Skip to content
Docs

Events and payloads

Payload format

Every field in a webhook message, from the event id and type to amounts and token details.

Overview

Each message is one JSON object sent as the body of a POST request. This is a confirmed USDC deposit on Base:

json
{
  "id": "base:0x6f1e…c2a9:41:token_transfer:whsub_7Qm2…",
  "type": "token_transfer",
  "confirmed": true,
  "direction": "in",
  "watchedAddress": "0x8ba1f109551bD432803012645Ac136ddd64DBA72",
  "chainId": "base",
  "data": {
    "txHash": "0x6f1e…c2a9",
    "logIndex": 41,
    "from": "0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be",
    "to": "0x8ba1f109551bd432803012645ac136ddd64dba72",
    "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "amountRaw": "25000000",
    "verified": true,
    "blockNumber": 21877345
  },
  "createdAt": "2026-10-16T09:31:12.081Z"
}

Top-level fields

FieldRequiredDescription
idYesStable ID for this event and watched address. The unconfirmed and confirmed messages share it. Treat it as an opaque string.
typeYesWhat happened. See Event types.
confirmedYesfalse when first seen in a block, true once the block has enough confirmations.
directionYesin (the address received), out (the address sent), or self (sent to itself).
watchedAddressYesThe address you registered. EVM addresses keep the casing you sent; on other networks it is the standard form (see Address formats below).
chainIdYesGray3 chain ID, such as ethereum or base.
dataYesDetails of the on-chain action. Fields below.
createdAtYesWhen Gray3 created this message (ISO 8601). Differs between the unconfirmed and confirmed message.

The data object

Fields that do not apply to an event type are left out, not set to null.

FieldRequiredDescription
txHashYesTransaction hash, lowercase. Without 0x on Bitcoin-family networks and Tron. On Solana it is the transaction signature (base58, case-sensitive).
logIndexNoPosition of the log in the block (on Tron, in the transaction). Present for token, NFT, and approval events. On Solana, the position of the token account in the transaction.
fromYesSender. For approvals, the owner giving permission. coinbase for a Bitcoin-family mining reward.
toNoReceiver. For approvals, the spender or operator. For contract events, the contract called.
tokenNoToken or NFT contract address. The mint on Solana.
tokenIdNoNFT token ID, as a decimal string.
amountRawNoAmount in the smallest unit, as a decimal string. Divide by 10^decimals to display it.
verifiedNoFungible token transfers and approvals only. true if the token is verified in the Gray3 token registry.
destinationTagNoXRPL only: the payment's destination tag, a whole number. Use it to match deposits when many users share one address.
memoNoStellar only: the transaction memo. Text memos as sent, id memos as a decimal string, hash and return memos base64. Use it to match deposits when many users share one address.
memoTypeNoStellar only, with memo: text, id, hash, or return.
blockNumberYesBlock that contains the transaction. The slot on Solana.

Address formats

On EVM networks, addresses inside data are lowercase and watchedAddress keeps the casing you used when you added it. Compare EVM addresses case-insensitively.

On Bitcoin-family networks, every address is in its standard form, the same in watchedAddress and in data:

  • bc1…, ltc1…, and dgb1… addresses are lowercase.
  • Bitcoin Cash addresses use CashAddr with the bitcoincash: prefix. A legacy 1… or 3… address you add is stored in CashAddr form.
  • Other addresses, such as 1…, 3…, D…, or R…, are case-sensitive and kept exactly. Compare them exactly.

This is a confirmed Bitcoin payment sent from a watched address:

json
{
  "id": "bitcoin:9c2e…41d7:x:native_transfer:whsub_P4k9…",
  "type": "native_transfer",
  "confirmed": true,
  "direction": "out",
  "watchedAddress": "bc1qa98t0f9k68mx68w66g67yceqk04ngw5cr4qr52",
  "chainId": "bitcoin",
  "data": {
    "txHash": "9c2e…41d7",
    "from": "bc1qa98t0f9k68mx68w66g67yceqk04ngw5cr4qr52",
    "to": "1CzbpNf5XGqXjzW4b4GAw4ooLibxjTzRaw",
    "amountRaw": "30500",
    "blockNumber": 971822
  },
  "createdAt": "2026-10-17T07:02:44.518Z"
}

Solana and Tron addresses are case-sensitive and the same everywhere in the message. Compare them exactly. On Tron they are in T… form; a hex address (41…) you add is stored as T…. Solana addresses have no checksum, so check them carefully before adding them.

This is a confirmed USDC payment received on Solana:

json
{
  "id": "solana:4DLw…x8Qm:5:token_transfer:whsub_Q7n2…",
  "type": "token_transfer",
  "confirmed": true,
  "direction": "in",
  "watchedAddress": "7vCns64GijB1NCHS9aXpAtoCp7bQFmZDC8yDC86xf9iJ",
  "chainId": "solana",
  "data": {
    "txHash": "4DLw…x8Qm",
    "logIndex": 5,
    "from": "Ar5dVjJqHyUSFboqiT44tK5UR72rUTeSvPjLeVkpEmiD",
    "to": "7vCns64GijB1NCHS9aXpAtoCp7bQFmZDC8yDC86xf9iJ",
    "token": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amountRaw": "250000000",
    "verified": true,
    "blockNumber": 457989601
  },
  "createdAt": "2026-10-17T09:14:02.110Z"
}