How filter arguments in contract?
My query:
query ($network: EthereumNetwork!, $address: String!, $limit: Int, $offset: Int, $from: ISO8601DateTime, $till: ISO8601DateTime, $event: String!) {
ethereum(network: $network) {
smartContractEvents(
options: {limit: $limit, offset: $offset}
date: {since: $from, till: $till}
smartContractAddress: {is: $address}
smartContractEvent: {is: $event
) {
arguments {
argument
value
}
}
}
}
result:
{
“ethereum”: {
“smartContractEvents”: [
{
“arguments”: [
{
“argument”: “sender”,
“value”: “0x884948494940d7512c554493c40f15740”
},
{
“argument”: “epoch”,
“value”: “48548”
},
{
“argument”: “amount”,
“value”: “25”
}
]
}
]
}
}
how to get only the epoch argument?