token pairs
Returns money flows on Ethereum and Polygon, where initial address is 0x0557…4f71, currency is 0x2791…4174 and date since 2022-04-26, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.
What it returns
- sender address
- annotation
- contract type
- currency symbol
- currency name
- receiver address
- amount
- depth
- count
Filters
- initial address is 0x0557…4f71
- currency is 0x2791…4174
- date since 2022-04-26
- date till 2022-05-25
The query
query ($network: EthereumNetwork!, $address: String!, $inboundDepth: Int!, $outboundDepth: Int!, $limit: Int!, $currency: String!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum(network: $network) {
inbound: coinpath(
initialAddress: {is: $address}
currency: {is: $currency}
depth: {lteq: $inboundDepth}
options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
date: {since: $from, till: $till}
) {
sender {
address
annotation
smartContract {
contractType
currency {
symbol
name
}
}
}
receiver {
address
annotation
smartContract {
contractType
currency {
symbol
name
}
}
}
amount
currency {
symbol
}
depth
count
}
outbound: coinpath(
initialAddress: {is: $address}
currency: {is: $currency}
depth: {lteq: $outboundDepth}
options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
date: {since: $from, till: $till}
) {
sender {
address
annotation
smartContract {
contractType
currency {
symbol
name
}
}
}
receiver {
address
annotation
smartContract {
contractType
currency {
symbol
name
}
}
}
amount
currency {
symbol
}
depth
count
}
}
}
Variables
{
"inboundDepth": 1,
"outboundDepth": 3,
"limit": 100,
"offset": 0,
"network": "matic",
"address": "0x05570707c1ac3a61526ad483632ae61a33b24f71",
"currency": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174",
"from": "2022-04-26",
"till": "2022-05-25T23:59:59",
"dateFormat": "%Y-%m-%d"
}
Similar queries
- Polygon Coinpath api · Polygon · coinpath
- matic_extended_coinpath_example · Polygon · coinpath
- Polygon Latest Block (EVM network matic) · Polygon · Blocks
- Polymarket market resolution by condition id · Polygon · PredictionManagements
- Polygon — Current balance of an address · Polygon · Balances