zan_getViewFieldInfo
Returns the schema of a deployed indexer.
post/{viewId}
Request
- Base URLhttps://api.zan.top/view/v1/eth/mainnet/indexer
- URLhttps://api.zan.top/view/v1/eth/mainnet/indexer/{viewId}
- Authnone declared
Path parameters
viewIdstring required
For higher throughput, please <span class="custom-style"><a href="../docs/contract-indexer#create-a-new-contract-indexer" target="_blank">create a new contract indexer</a></span>.
Request body
Response
Returns the number of transactions in the block with the given block hash.
Example response
{
"result": [
{
"eventSignature": "Transfer(address,address,uint256)",
"fieldInfoDTOList": [
{
"fieldName": "id",
"supportedOperatorList": [
"id_eq",
"id_gt",
"id_gte",
"id_lt",
"id_lte"
],
"type": "Long"
},
{
"fieldName": "blockNumber",
"supportedOperatorList": [
"blockNumber_eq",
"blockNumber_gt",
"blockNumber_gte",
"blockNumber_lt",
"blockNumber_lte"
],
"type": "Integer"
},
{
"fieldName": "blockHash",
"supportedOperatorList": [
"blockHash_eq",
"blockHash_gt",
"blockHash_gte",
"blockHash_lt",
"blockHash_lte"
],
"type": "String"
},
{
"fieldName": "transactionHash",
"supportedOperatorList": [
"transactionHash_eq",
"transactionHash_gt",
"transactionHash_gte",
"transactionHash_lt",
"transactionHash_lte"
],
"type": "String"
},
{
"fieldName": "logIndex",
"supportedOperatorList": [
"logIndex_eq",
"logIndex_gt",
"logIndex_gte",
"logIndex_lt",
"logIndex_lte"
],
"type": "Integer"
},
{
"fieldName": "blockTimestamp",
"supportedOperatorList": [
"blockTimestamp_eq",
"blockTimestamp_gt",
"blockTimestamp_gte",
"blockTimestamp_lt",
"blockTimestamp_lte"
],
"type": "Long"
},
{
"fieldName": "from",
"supportedOperatorList": [
"from_eq",
"from_gt",
"from_gte",
"from_lt",
"from_lte"
],
"type": "String"
},
{
"fieldName": "to",
"supportedOperatorList": [
"to_eq",
"to_gt",
"to_gte",
"to_lt",
"to_lte"
],
"type": "String"
},
{
"fieldName": "value",
"supportedOperatorList": [
"value_eq",
"value_gt",
"value_gte",
"value_lt",
"value_lte"
],
"type": "String"
}
]
}
],
"id": 1,
"jsonrpc": "2.0"
}Changes
No recorded changes to this operation across all 1 revision of this API.