getPoolReserves
Returns one event on Ethereum, where log smart contract is 0x8B59…16bd and signature name is Sync: arguments name, string, value address, integer, big integer, hex and bool.
What it returns
- arguments name
- string
- value address
- integer
- big integer
- hex
- bool
Filters
- log smart contract is 0x8B59…16bd
- signature name is Sync
The query
query getPoolReserves($dataset: dataset_arg_enum!, $network: evm_network!, $pairAddress: String!) {
EVM(dataset: $dataset, network: $network) {
Events(
limit: { count: 1 }
orderBy: [{descending: Block_Time}, {descending: Transaction_Index}, {descending: Log_Index}]
where: {Log: {SmartContract: {is: $pairAddress}, Signature: {Name: {is: "Sync"}}}}
) {
Arguments {
Name
Value {
... on EVM_ABI_String_Value_Arg {
string
}
... on EVM_ABI_Address_Value_Arg {
address
}
... on EVM_ABI_Integer_Value_Arg {
integer
}
... on EVM_ABI_BigInt_Value_Arg {
bigInteger
}
... on EVM_ABI_Bytes_Value_Arg {
hex
}
... on EVM_ABI_Boolean_Value_Arg {
bool
}
}
}
}
}
}
Variables
{
"dataset": "combined",
"network": "eth",
"pairAddress": "0x8B59bE2fC6Fccc2256Cc4841843A13ce29DA16bd"
}
Similar queries
- New Curve liquidity pools on Ethereum · Ethereum · Events
- New Metric liquidity pools on Ethereum · Ethereum · Events
- event api · Ethereum · Events
- eth deposit contract events · Ethereum · Events
- eth_okx_aproove · Ethereum · Events