V1 API Reference

ZERA Indexer API

Access indexed blockchain data from the ZERA network. Transactions, blocks, tokens, wallets, governance, DEX, staking, and more.

ALPHA DOCUMENTATIONThese endpoint schemas are currently in Alpha and may contain inaccuracies or incomplete payload parameters. If you encounter any structural divergence while integrating, please report it to us so we can resolve it swiftly.
https://api.zerascan.io/v1
GET ONLYJSON RESPONSES

Transactions

Transaction lookup, block-scoped listing, global latest, and wallet history.

Transaction Details

GET/v1/transactions?request=details

Retrieve full details for a single transaction by its hash.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIREDMust be `details`
hashstringREQUIREDThe transaction hash to look up

🪙 Usage & Credits

This endpoint consumes 10 credits per request against your active API tier.

Response

json
{
  "simpleInfo *": {
    "action": "string",
    "source": "string",
    "data": "object *"
  },
  "hash": "string",
  "blockHeight": "integer",
  "symbol": "string *",
  "tokenName": "string *",
  "itemName": "string *",
  "tokenType": "string *",
  "status": "string",
  "memo": "string *",
  "timestamp": "integer",
  "from": "string *",
  "to": "string *",
  "relatingHash": "string *",
  "transfer *": {
    "summary": {
      "sender": "string *",
      "receiver": "string *",
      "totalAmount": "string (integer) *",
      "inputs": "integer",
      "outputs": "integer",
      "parts": "string (integer) *",
      "rate": "float *",
      "itemId": "string (integer) *"
    },
    "inputs *": [
      {
        "address": "string",
        "amount": "string (integer)",
        "fees": "object *"
      }
    ],
    "outputs *": [
      {
        "address": "string",
        "amount": "string (integer)",
        "memo": "string *"
      }
    ]
  },
  "curType": "string",
  "type": "string",
  "icon": "string *",
  "curEquiv *": {
    "lastRate": "float",
    "curRate": "float",
    "authorized": "boolean",
    "lastMaxStake": "integer",
    "curMaxStake": "integer"
  },
  "governance *": {
    "hash": "string *",
    "title": "string *",
    "synopsis": "string *",
    "vote": "string *",
    "result": "string *",
    "options": "array *",
    "votePercent": "array *"
  },
  "validatorRegistration": "boolean *",
  "fees *": {
    "feePayerAddress": "string *",
    "base *": {
      "total": "string (integer) *",
      "validator": "string (integer) *",
      "burn": "string (integer) *",
      "treasury": "string (integer) *",
      "feeSymbol": "string *",
      "parts": "string (integer) *",
      "rate": "float *",
      "type": "string *"
    },
    "contract *": {
      "total": "string (integer) *",
      "validator": "string (integer) *",
      "burn": "string (integer) *",
      "project": "string (integer) *",
      "feeSymbol": "string *",
      "parts": "string (integer) *",
      "rate": "float *",
      "type": "string *"
    }
  },
  "expenseRatio *": {
    "totalCalled": "string (integer) *",
    "partsPerToken": "string (integer) *",
    "numWalletsCalled": "integer *",
    "rate": "float *"
  },
  "smartContract *": {
    "name": "string *",
    "instance": "integer *",
    "function": "string *",
    "parameters": "array *",
    "emit": "array *",
    "nestedResults": "object *",
    "gasUsed": "integer *"
  },
  "triggeredTransactions *": [
    {
      "hash": "string",
      "type": "string"
    }
  ]
}

Errors

StatusCondition
400Missing hash parameter
404Transaction not found

Latest Transactions

GET/v1/transactions?request=latest

Retrieve the most recent transactions globally.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIREDMust be `latest`
limitintoptionalNumber of results (1–100)
offsetintoptionalPagination offset
filterstringoptionalComma-separated transaction type filters
sortstringoptionalSort order: new_to_old or old_to_new
noiseFilterstringoptionalSet to "false" to include cascading SC-triggered txns

🪙 Usage & Credits

This endpoint consumes 10 credits per request against your active API tier.

Response

json
{
  "found": "integer",
  "transaction": [
    {
      "hash": "string",
      "blockHeight": "integer",
      "timestamp": "integer",
      "status": "string",
      "type": "string",
      "curType": "string"
    }
  ]
}

Block Transactions

GET/v1/transactions?request=block

Retrieve all transactions within a specific block.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIREDMust be `block`
heightintoptionalBlock height (required if hash not given)
hashstringoptionalBlock or transaction hash
limitintoptionalResults per page
offsetintoptionalPagination offset
sortstringoptionalSort order
noiseFilterstringoptionalSet to "false" to show cascading txns

🪙 Usage & Credits

This endpoint consumes 50 credits per request against your active API tier.

Wallet Transaction History

GET/v1/transactions?request=wallet

Retrieve transaction history for a wallet address with advanced filtering.

Parameters

ParameterTypeRequiredDescription
requeststringREQUIREDMust be `wallet`
addressstringREQUIREDWallet address
limitintoptionalNumber of results (1–100)
offsetintoptionalPagination offset
symbolstringoptionalFilter by token contract ID
itemIdstringoptionalFilter by NFT/SBT item ID (requires symbol)
directionstringoptionalreceiveOnly or sentOnly
filterstringoptionalType filter: friendly, fees, or comma-separated type IDs
sortstringoptionalSort: new_to_old, old_to_new, high_to_low, low_to_high
noiseFilterstringoptionalSet to "false" to include cascading SC-triggered txns

🪙 Usage & Credits

This endpoint consumes 100 credits per request against your active API tier.

Notes

  • The API populates a `transfer.summary` object with sender, receiver, and totalAmount calculated from the perspective of the target address.