FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Endpoints
Get available entities and fields to create expression
https://api.getblock.io/external/webhook/get_entities
x-api-key string - GetBlock API key to access GetBlock Tracker API.
Array of objects
entities array of objects - available entities.
operators array of objects - operators to types.
Object entity
fields array of objects - fields of entity.
name string - entity name.
Object field
type string - field type.
name string - field name.
Object operator
operators array of string - operators.
types array of string - the type from the field to which the operator can be applied.
Object
description string - description of what went wrong
status_code int - status code of the response.
Request
curl --location --request GET 'https://api.getblock.io/external/webhook/get_entities' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json'
Response
{ "entities": [ { "name": "transaction", "fields": [ { "name": "blockHash", "type": "hex_32" }, { "name": "blockNumber", "type": "int" }, { "name": "from", "type": "hex_20" }, { "name": "gas", "type": "uint" }, { "name": "gasPrice", "type": "int" }, { "name": "hash", "type": "hex_32" }, { "name": "input", "type": "hex_32" }, { "name": "nonce", "type": "uint" }, { "name": "to", "type": "hex_20" }, { "name": "transactionIndex", "type": "uint" }, { "name": "value", "type": "int" } ] }, { "name": "receipt", "fields": [ { "name": "transactionHash", "type": "hex_32" }, { "name": "transactionIndex", "type": "uint" }, { "name": "blockHash", "type": "hex_32" }, { "name": "blockNumber", "type": "int" }, { "name": "from", "type": "hex_20" }, { "name": "to", "type": "hex_20" }, { "name": "cumulativeGasUsed", "type": "int" }, { "name": "gasUsed", "type": "int" }, { "name": "contractAddress", "type": "hex_20" }, { "name": "root", "type": "hex_32" }, { "name": "status", "type": "int" } ] }, { "name": "block", "fields": [ { "name": "number", "type": "int" }, { "name": "hash", "type": "hex_32" }, { "name": "parentHash", "type": "hex_32" }, { "name": "nonce", "type": "hex_8" }, { "name": "sha3Uncles", "type": "hex_32" }, { "name": "transactionsRoot", "type": "hex_32" }, { "name": "stateRoot", "type": "hex_32" }, { "name": "receiptsRoot", "type": "hex_32" }, { "name": "miner", "type": "hex_20" }, { "name": "difficulty", "type": "int" }, { "name": "totalDifficulty", "type": "int" }, { "name": "extraData", "type": "hex_32" }, { "name": "size", "type": "uint" }, { "name": "gasLimit", "type": "uint" }, { "name": "gasUsed", "type": "uint" }, { "name": "timestamp", "type": "timestamp" }, { "name": "transactions", "type": "hex_32" }, { "name": "uncles", "type": "hex_32" } ] } ], "operators": [ { "types": [ "int", "uint" ], "operators": [ "==", "!=", "<", ">", "<=", ">=" ] }, { "types": [ "hex_20", "hex_32" ], "operators": [ "==", "!=" ] }, { "types": [ "array" ], "operators": [ "contain", "not contain" ] } ] }