Transpose · Schema

Token Transfer

An ERC-20 or ERC-777 fungible token transfer event including mints, sends, and burns.

BlockchainNFTCryptocurrencyWeb3EthereumToken TransfersSmart ContractsHistorical DataDeFiDEX

Properties

Name Type Description
transaction_hash string Hash of the transaction containing this transfer.
log_index integer Index of the event log within the transaction.
block_number integer Block number containing this transfer.
timestamp string ISO-8601 timestamp when this transfer occurred.
contract_address string The token contract address.
from_address string Sender address. Zero address indicates a mint.
to_address string Recipient address. Zero address indicates a burn.
quantity string Amount transferred in the token's smallest unit (as string to avoid precision loss).
View JSON Schema on GitHub

JSON Schema

token-transfer.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.transpose.io/schemas/token-transfer",
  "title": "Token Transfer",
  "description": "An ERC-20 or ERC-777 fungible token transfer event including mints, sends, and burns.",
  "type": "object",
  "properties": {
    "transaction_hash": {
      "type": "string",
      "description": "Hash of the transaction containing this transfer.",
      "pattern": "^0x[0-9a-fA-F]{64}$"
    },
    "log_index": {
      "type": "integer",
      "description": "Index of the event log within the transaction.",
      "minimum": 0
    },
    "block_number": {
      "type": "integer",
      "description": "Block number containing this transfer.",
      "minimum": 0
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 timestamp when this transfer occurred."
    },
    "contract_address": {
      "type": "string",
      "description": "The token contract address.",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "from_address": {
      "type": "string",
      "description": "Sender address. Zero address indicates a mint.",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "to_address": {
      "type": "string",
      "description": "Recipient address. Zero address indicates a burn.",
      "pattern": "^0x[0-9a-fA-F]{40}$"
    },
    "quantity": {
      "type": "string",
      "description": "Amount transferred in the token's smallest unit (as string to avoid precision loss)."
    }
  },
  "required": [
    "transaction_hash",
    "block_number",
    "timestamp",
    "contract_address",
    "from_address",
    "to_address",
    "quantity"
  ],
  "additionalProperties": true
}