Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GraphQL Query for USDT transaction greater than 2 million
{"token":"0xdac17f958d2ee523a2206206994597c13d831ec7",
"from":"2020-07-23T01:00:00Z",
"till":"2020-07-23T01:10:00Z",
"limit":10,
"network":"ethereum",
"amount":2000000
}
query ($network: EthereumNetwork!, $token: String!, $limit: Int!,
$from: ISO8601DateTime, $till: ISO8601DateTime, $amount: Float!) {
ethereum(network: $network) {
transfers(options: {desc: "block.timestamp.time", limit: $limit},
amount: {gt: $amount}, time: {since: $from, till: $till},
currency: {is: $token}) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
sender {
address
annotation
}
receiver {
address
annotation
}
transaction {
hash
}
amount
currency {
symbol
}
external
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment