BscScan · Schema

BscScan BEP-20 Token Transfer Event

Schema for a BEP-20 token transfer event as returned by the BscScan API.

blockchainblock-explorerBNB Smart ChainBSCBEP-20transactionssmart-contractsDeFiEVM

Properties

Name Type Description
blockNumber string Block number in which the transfer occurred.
timeStamp string Unix timestamp of the block.
hash string Transaction hash.
nonce string Transaction nonce.
blockHash string Hash of the block.
from string Sender address.
contractAddress string Token contract address.
to string Recipient address.
value string Token transfer amount in the token's smallest unit.
tokenName string Name of the BEP-20 token.
tokenSymbol string Symbol of the BEP-20 token.
tokenDecimal string Number of decimal places for the token.
transactionIndex string Index of the transaction within the block.
gas string Gas provided by the sender.
gasPrice string Gas price in wei.
gasUsed string Gas used by this specific transaction.
cumulativeGasUsed string Cumulative gas used in the block up to this transaction.
confirmations string Number of block confirmations.
View JSON Schema on GitHub

JSON Schema

token-transfer.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bscscan/main/json-schema/token-transfer.json",
  "title": "BscScan BEP-20 Token Transfer Event",
  "description": "Schema for a BEP-20 token transfer event as returned by the BscScan API.",
  "type": "object",
  "properties": {
    "blockNumber": {
      "type": "string",
      "description": "Block number in which the transfer occurred."
    },
    "timeStamp": {
      "type": "string",
      "description": "Unix timestamp of the block."
    },
    "hash": {
      "type": "string",
      "description": "Transaction hash.",
      "pattern": "0x[A-Fa-f0-9]{64}"
    },
    "nonce": {
      "type": "string",
      "description": "Transaction nonce."
    },
    "blockHash": {
      "type": "string",
      "description": "Hash of the block."
    },
    "from": {
      "type": "string",
      "description": "Sender address.",
      "pattern": "0x[A-Fa-f0-9]{40}"
    },
    "contractAddress": {
      "type": "string",
      "description": "Token contract address.",
      "pattern": "0x[A-Fa-f0-9]{40}"
    },
    "to": {
      "type": "string",
      "description": "Recipient address.",
      "pattern": "0x[A-Fa-f0-9]{40}"
    },
    "value": {
      "type": "string",
      "description": "Token transfer amount in the token's smallest unit."
    },
    "tokenName": {
      "type": "string",
      "description": "Name of the BEP-20 token."
    },
    "tokenSymbol": {
      "type": "string",
      "description": "Symbol of the BEP-20 token."
    },
    "tokenDecimal": {
      "type": "string",
      "description": "Number of decimal places for the token."
    },
    "transactionIndex": {
      "type": "string",
      "description": "Index of the transaction within the block."
    },
    "gas": {
      "type": "string",
      "description": "Gas provided by the sender."
    },
    "gasPrice": {
      "type": "string",
      "description": "Gas price in wei."
    },
    "gasUsed": {
      "type": "string",
      "description": "Gas used by this specific transaction."
    },
    "cumulativeGasUsed": {
      "type": "string",
      "description": "Cumulative gas used in the block up to this transaction."
    },
    "confirmations": {
      "type": "string",
      "description": "Number of block confirmations."
    }
  },
  "required": ["blockNumber", "timeStamp", "hash", "from", "contractAddress", "to", "value", "tokenName", "tokenSymbol", "tokenDecimal"]
}