Sequence Indexer API
Query native and token (ERC-20/721/1155) balances, supplies, transaction history, and orderbook data across 40+ EVM chains; manage webhook listeners for on-chain events.
Query native and token (ERC-20/721/1155) balances, supplies, transaction history, and orderbook data across 40+ EVM chains; manage webhook listeners for on-chain events.
{
"components": {
"schemas": {
"ErrorWebrpcEndpoint": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcEndpoint"
},
"code": {
"type": "number",
"example": 0
},
"msg": {
"type": "string",
"example": "endpoint error"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorWebrpcRequestFailed": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcRequestFailed"
},
"code": {
"type": "number",
"example": -1
},
"msg": {
"type": "string",
"example": "request failed"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorWebrpcBadRoute": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcBadRoute"
},
"code": {
"type": "number",
"example": -2
},
"msg": {
"type": "string",
"example": "bad route"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 404
}
}
},
"ErrorWebrpcBadMethod": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcBadMethod"
},
"code": {
"type": "number",
"example": -3
},
"msg": {
"type": "string",
"example": "bad method"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 405
}
}
},
"ErrorWebrpcBadRequest": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcBadRequest"
},
"code": {
"type": "number",
"example": -4
},
"msg": {
"type": "string",
"example": "bad request"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorWebrpcBadResponse": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcBadResponse"
},
"code": {
"type": "number",
"example": -5
},
"msg": {
"type": "string",
"example": "bad response"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 500
}
}
},
"ErrorWebrpcServerPanic": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcServerPanic"
},
"code": {
"type": "number",
"example": -6
},
"msg": {
"type": "string",
"example": "server panic"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 500
}
}
},
"ErrorWebrpcInternalError": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcInternalError"
},
"code": {
"type": "number",
"example": -7
},
"msg": {
"type": "string",
"example": "internal error"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 500
}
}
},
"ErrorWebrpcClientDisconnected": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcClientDisconnected"
},
"code": {
"type": "number",
"example": -8
},
"msg": {
"type": "string",
"example": "client disconnected"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorWebrpcStreamLost": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcStreamLost"
},
"code": {
"type": "number",
"example": -9
},
"msg": {
"type": "string",
"example": "stream lost"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorWebrpcStreamFinished": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "WebrpcStreamFinished"
},
"code": {
"type": "number",
"example": -10
},
"msg": {
"type": "string",
"example": "stream finished"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 200
}
}
},
"ErrorUnauthorized": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "Unauthorized"
},
"code": {
"type": "number",
"example": 1000
},
"msg": {
"type": "string",
"example": "Unauthorized access"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 401
}
}
},
"ErrorPermissionDenied": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "PermissionDenied"
},
"code": {
"type": "number",
"example": 1001
},
"msg": {
"type": "string",
"example": "Permission denied"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 403
}
}
},
"ErrorSessionExpired": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "SessionExpired"
},
"code": {
"type": "number",
"example": 1002
},
"msg": {
"type": "string",
"example": "Session expired"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 403
}
}
},
"ErrorMethodNotFound": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "MethodNotFound"
},
"code": {
"type": "number",
"example": 1003
},
"msg": {
"type": "string",
"example": "Method not found"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 404
}
}
},
"ErrorRequestConflict": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "RequestConflict"
},
"code": {
"type": "number",
"example": 1004
},
"msg": {
"type": "string",
"example": "Conflict with target resource"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 409
}
}
},
"ErrorAborted": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "Aborted"
},
"code": {
"type": "number",
"example": 1005
},
"msg": {
"type": "string",
"example": "Request aborted"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorTimeout": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "Timeout"
},
"code": {
"type": "number",
"example": 2000
},
"msg": {
"type": "string",
"example": "Request timed out"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 408
}
}
},
"ErrorInvalidArgument": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "InvalidArgument"
},
"code": {
"type": "number",
"example": 2001
},
"msg": {
"type": "string",
"example": "Invalid argument"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorUnavailable": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "Unavailable"
},
"code": {
"type": "number",
"example": 2002
},
"msg": {
"type": "string",
"example": "Unavailable resource"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorQueryFailed": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "QueryFailed"
},
"code": {
"type": "number",
"example": 2003
},
"msg": {
"type": "string",
"example": "Query failed"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorResourceExhausted": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "ResourceExhausted"
},
"code": {
"type": "number",
"example": 2004
},
"msg": {
"type": "string",
"example": "Resource exhausted"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorNotFound": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "NotFound"
},
"code": {
"type": "number",
"example": 3000
},
"msg": {
"type": "string",
"example": "Resource not found"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorProjectNotFound": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "ProjectNotFound"
},
"code": {
"type": "number",
"example": 3002
},
"msg": {
"type": "string",
"example": "Project not found"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ErrorMetadataCallFailed": {
"type": "object",
"required": [
"error",
"code",
"msg",
"status"
],
"properties": {
"error": {
"type": "string",
"example": "MetadataCallFailed"
},
"code": {
"type": "number",
"example": 3003
},
"msg": {
"type": "string",
"example": "Metadata service call failed"
},
"cause": {
"type": "string"
},
"status": {
"type": "number",
"example": 400
}
}
},
"ContractInfo": {
"type": "object",
"required": [
"chainId",
"address",
"name",
"type",
"symbol",
"logoURI",
"deployed",
"bytecodeHash",
"extensions",
"contentHash",
"updatedAt"
],
"properties": {
"chainId": {
"type": "number"
},
"address": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"symbol": {
"type": "string"
},
"decimals": {
"type": "number"
},
"logoURI": {
"type": "string"
},
"deployed": {
"type": "boolean"
},
"bytecodeHash": {
"type": "string"
},
"extensions": {
"$ref": "#/components/schemas/ContractInfoExtensions"
},
"contentHash": {
"type": "number"
},
"updatedAt": {
"type": "string"
}
}
},
"ContractInfoExtensions": {
"type": "object",
"required": [
"link",
"description",
"ogImage",
"originChainId",
"originAddress",
"blacklist",
"verified",
"verifiedBy",
"featured"
],
"properties": {
"link": {
"type": "string"
},
"description": {
"type": "string"
},
"ogImage": {
"type": "string"
},
"originChainId": {
"type": "number"
},
"originAddress": {
"type": "string"
},
"blacklist": {
"type": "boolean"
},
"verified": {
"type": "boolean"
},
"verifiedBy": {
"type": "string"
},
"featured": {
"type": "boolean"
}
}
},
"TokenMetadata": {
"type": "object",
"required": [
"tokenId",
"name",
"attributes"
],
"properties": {
"tokenId": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"image": {
"type": "string"
},
"video": {
"type": "string"
},
"audio": {
"type": "string"
},
"properties": {
"type": "object",
"description": "map<string,any>",
"additionalProperties": {
"type": "object"
}
},
"attributes": {
"type": "array",
"description": "[]map<string,any>",
"items": {
"type": "object",
"description": "map<string,any>",
"additionalProperties": {
"type": "object"
}
}
},
"imageData": {
"type": "string"
},
"externalUrl": {
"type": "string"
},
"backgroundColor": {
"type": "string"
},
"animationUrl": {
"type": "string"
},
"decimals": {
"type": "number"
},
"updatedAt": {
"type": "string"
},
"assets": {
"type": "array",
"description": "[]Asset",
"items": {
"$ref": "#/components/schemas/Asset"
}
}
}
},
"Asset": {
"type": "object",
"required": [
"id",
"collectionId",
"metadataField"
],
"properties": {
"id": {
"type": "number"
},
"collectionId": {
"type": "number"
},
"tokenId": {
"type": "string"
},
"url": {
"type": "string"
},
"metadataField": {
"type": "string"
},
"filename": {
"type": "string"
},
"filesize": {
"type": "number"
},
"mimeType": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"updatedAt": {
"type": "string"
}
}
},
"ContractType": {
"type": "string",
"description": "Represented as uint8 on the server side",
"enum": [
"UNKNOWN",
"NATIVE",
"ERC20",
"ERC721",
"ERC1155",
"SEQUENCE_WALLET",
"ERC20_BRIDGE",
"ERC721_BRIDGE",
"ERC1155_BRIDGE",
"SEQ_MARKETPLACE"
]
},
"EventLogType": {
"type": "string",
"description": "Represented as uint8 on the server side",
"enum": [
"UNKNOWN",
"BLOCK_ADDED",
"BLOCK_REMOVED"
]
},
"EventLogDataType": {
"type": "string",
"description": "Represented as uint8 on the server side",
"enum": [
"EVENT",
"TOKEN_TRANSFER",
"NATIVE_TOKEN_TRANSFER",
"SEQUENCE_TXN"
]
},
"OrderStatus": {
"type": "string",
"description": "Represented as uint32 on the server side",
"enum": [
"OPEN",
"CLOSED",
"CANCELLED"
]
},
"TxnTransferType": {
"type": "string",
"description": "Represented as uint32 on the server side",
"enum": [
"UNKNOWN",
"SEND",
"RECEIVE"
]
},
"TransactionStatus": {
"type": "string",
"description": "Represented as uint32 on the server side",
"enum": [
"FAILED",
"SUCCESSFUL"
]
},
"TransactionType": {
"type": "string",
"description": "Represented as uint32 on the server side",
"enum": [
"LegacyTxnType",
"AccessListTxnType",
"DynamicFeeTxnType"
]
},
"SortOrder": {
"type": "string",
"description": "Represented as uint32 on the server side",
"enum": [
"DESC",
"ASC"
]
},
"ContractVerificationStatus": {
"type": "string",
"description": "Represented as string on the server side",
"enum": [
"VERIFIED",
"UNVERIFIED",
"ALL"
]
},
"Version": {
"type": "object",
"required": [
"webrpcVersion",
"schemaVersion",
"schemaHash",
"appVersion"
],
"properties": {
"webrpcVersion": {
"type": "string"
},
"schemaVersion": {
"type": "string"
},
"schemaHash": {
"type": "string"
},
"appVersion": {
"type": "string"
}
}
},
"RuntimeStatus": {
"type": "object",
"required": [
"healthOK",
"indexerEnabled",
"startTime",
"uptime",
"ver",
"branch",
"commitHash",
"chainID",
"checks"
],
"properties": {
"healthOK": {
"type": "boolean"
},
"indexerEnabled": {
"type": "boolean"
},
"startTime": {
"type": "string"
},
"uptime": {
"type": "number"
},
"ver": {
"type": "string"
},
"branch": {
"type": "string"
},
"commitHash": {
"type": "string"
},
"chainID": {
"type": "number"
},
"checks": {
"$ref": "#/components/schemas/RuntimeChecks"
}
}
},
"WALWriterRuntimeStatus": {
"type": "object",
"required": [
"healthOK",
"startTime",
"uptime",
"ver",
"branch",
"commitHash",
"chainID",
"percentWALWritten"
],
"properties": {
"healthOK": {
"type": "boolean"
},
"startTime": {
"type": "string"
},
"uptime": {
"type": "number"
},
"ver": {
"type": "string"
},
"branch": {
"type": "string"
},
"commitHash": {
"type": "string"
},
"chainID": {
"type": "number"
},
"percentWALWritten": {
"type": "number"
}
}
},
"RuntimeChecks": {
"type": "object",
"required": [
"running",
"runnables",
"cgoEnabled",
"quotaControlEnabled",
"syncMode",
"percentIndexed",
"lastBlockNum",
"lastBlockNumWithState",
"bloomStatus",
"bond",
"diskUsage"
],
"properties": {
"running": {
"type": "boolean"
},
"runnables": {
"type": "object"
},
"cgoEnabled": {
"type": "boolean"
},
"quotaControlEnabled": {
"type": "boolean"
},
"syncMode": {
"type": "string"
},
"percentIndexed": {
"type": "number"
},
"lastBlockNum": {
"type": "number"
},
"lastBlockNumWithState": {
"type": "number"
},
"bloomStatus": {
"$ref": "#/components/schemas/BloomStatus"
},
"bond": {
"$ref": "#/components/schemas/Bond"
},
"diskUsage": {
"$ref": "#/components/schemas/DiskUsage"
}
}
},
"DiskUsage": {
"type": "object",
"required": [
"humanReadable",
"used",
"size",
"percent",
"dirs"
],
"properties": {
"humanReadable": {
"type": "string"
},
"used": {
"type": "number"
},
"size": {
"type": "number"
},
"percent": {
"type": "number"
},
"dirs": {
"type": "object",
"description": "map<string,string>",
"additionalProperties": {
"type": "string"
}
}
}
},
"Bond": {
"type": "object",
"required": [
"pebble",
"estimatedDiskUsagePerTable",
"estimatedDiskUsageTotal"
],
"properties": {
"pebble": {
"$ref": "#/components/schemas/PebbleMetrics"
},
"estimatedDiskUsagePerTable": {
"type": "object"
},
"estimatedDiskUsageTotal": {
"type": "string"
}
}
},
"PebbleMetrics": {
"type": "object",
"required": [
"compactionCount",
"compactionEstimatedDebt",
"compactionInProgressBytes",
"compactionNumInProgress",
"compactionMarkedFiles"
],
"properties": {
"compactionCount": {
"type": "number"
},
"compactionEstimatedDebt": {
"type": "number"
},
"compactionInProgressBytes": {
"type": "number"
},
"compactionNumInProgress": {
"type": "number"
},
"compactionMarkedFiles": {
"type": "number"
}
}
},
"BloomStatus": {
"type": "object",
"required": [
"enabled",
"initialized",
"bloomInitElapsedTime"
],
"properties": {
"enabled": {
"type": "boolean"
},
"initialized": {
"type": "boolean"
},
"bloomInitElapsedTime": {
"type": "string"
}
}
},
"EtherBalance": {
"type": "object",
"required": [
"accountAddress",
"balanceWei"
],
"properties": {
"accountAddress": {
"type": "string"
},
"balanceWei": {
"type": "string"
}
}
},
"NativeTokenBalance": {
"type": "object",
"required": [
"accountAddress",
"balance"
],
"properties": {
"accountAddress": {
"type": "string"
},
"balance": {
"type": "string"
}
}
},
"IndexState": {
"type": "object",
"required": [
"chainId",
"lastBlockNum",
"lastBlockHash"
],
"properties": {
"chainId": {
"type": "string"
},
"lastBlockNum": {
"type": "number"
},
"lastBlockHash": {
"type": "string"
}
}
},
"IndexedBlock": {
"type": "object",
"required": [
"blockNumber",
"blockShortHash"
],
"properties": {
"blockNumber": {
"type": "number"
},
"blockShortHash": {
"type": "string"
}
}
},
"TxnInfo": {
"type": "object",
"required": [
"from",
"to",
"value"
],
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"EventLog": {
"type": "object",
"required": [
"id",
"uid",
"type",
"blockNumber",
"blockHash",
"parentBlockHash",
"contractAddress",
"contractType",
"txnHash",
"txnIndex",
"txnLogIndex",
"logDataType",
"ts"
],
"properties": {
"id": {
"type": "number"
},
"uid": {
"type": "string"
},
"type": {
"$ref": "#/components/schemas/EventLogType"
},
"blockNumber": {
"type": "number"
},
"blockHash": {
"type": "string"
},
"parentBlockHash": {
"type": "string"
},
"contractAddress": {
"type": "string"
},
"contractType": {
"$ref": "#/components/schemas/ContractType"
},
"txnHash": {
"type": "string"
},
"txnIndex": {
"type": "number"
},
"txnLogIndex": {
"type": "number"
},
"logDataType": {
"$ref": "#/components/schemas/EventLogDataType"
},
"ts": {
"type": "string"
},
"txnInfo": {
"$ref": "#/components/schemas/TxnInfo"
},
"rawLog": {
"type": "object",
"description": "map<string,any>",
"additionalProperties": {
"type": "object"
}
},
"event": {
"$ref": "#/components/schemas/EventDecoded"
}
}
},
"EventDecoded": {
"type": "object",
"required": [
"topicHash",
# --- truncated at 32 KB (199 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/horizon-blockchain-games/refs/heads/main/openapi/horizon-blockchain-games-indexer-openapi-original.json