Skip to content

Instantly share code, notes, and snippets.

@buddies2705
Last active July 24, 2020 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buddies2705/7c3cbc14a368106e2c9855e2ac41be70 to your computer and use it in GitHub Desktop.
Save buddies2705/7c3cbc14a368106e2c9855e2ac41be70 to your computer and use it in GitHub Desktop.
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