Antelope Transactions
Transactions, Decoded Actions & Database Operations
WAX, EOS, Ultra, Telos...
sf.antelope.type.v1.Block
4bAe7NA8b6J14ZfZr3TXfzzjjSoGECTFuqv7CwnK1zzg
2RNdhL5p62dGN5UqKtsSEhYZiTJbFcuuhzk9qRJj8QeU
24120480333211569189943591992759279596987552413186298385524741791011616341845
9544660660697512970420034067948120535763746642726326018982449681191462590993
{base_url}
/api/{api-key}
/subgraphs/id/{subgraph_id}
Chain | Subgraph ID |
---|---|
WAX | 4bAe7NA8b6J14ZfZr3TXfzzjjSoGECTFuqv7CwnK1zzg |
EOS | 2RNdhL5p62dGN5UqKtsSEhYZiTJbFcuuhzk9qRJj8QeU |
{
actions(
where: {isNotify: false, account: "eosio.token"}
orderBy: block__number
orderDirection: desc
) {
block{
number
time
}
transaction {
id
}
account
name
jsonData
dbOps {
code
tableName
primaryKey
newDataJson
}
}
}
graph TD;
graph_out[map: graph_out];
sf.antelope.type.v1.Block[source: sf.antelope.type.v1.Block] --> graph_out;
To improve Graph Node syncing performance, operators can drop the following Postgres indexes which reference *_data
fields:
DROP INDEX IF EXISTS sgd1.attr_0_3_action_json_data;
DROP INDEX IF EXISTS sgd1.attr_0_4_action_raw_data;
DROP INDEX IF EXISTS sgd1.attr_1_8_db_op_new_data_json;
DROP INDEX IF EXISTS sgd1.attr_1_9_db_op_new_data;
DROP INDEX IF EXISTS sgd1.attr_1_10_db_op_old_data_json;
DROP INDEX IF EXISTS sgd1.attr_1_11_db_op_old_data;
Note: For multiple Subgraphs, replace
sgd1
with the appropriate Subgraph table name.
code:mycontract
code:tethertether && action:issue
code:eosio.token && action:transfer && (data.to:myaccount || data.from:myaccount)
auth:myaccount@active
code:atomicassets && action:logmint
These are the expressions that can be used in queries:
action:<action_name>
- action namecode:<account>
- smart contract account namereceiver:<account>
- action receiver accountauth:
- account which authority was used to sign the action, i.e.
auth:<account>
- account with any permissionauth:<account>@<permission>
- account with a specific permissioninput:true
- will match only the top-level actionsnotif:true
- will match only notifications, excluding input action or other inline actions.data.<field>:
- will decode and match action parameters (doesn't support nested objects). Some examples:
data.from:myaccount
data.memo:"your daily staking rewards"
db.table:<table_name>
db.table:<table_name>/<scope>
Queries can include &&
and ||
logical operands, as well as (
and )
parenthesis.