Ticket_861_mproved transfer API 101 orderby
improved transfer API 101 Order by
Returns 25 transfers on Ethereum and Polygon, where sender is 0x2417…6992, sorted by block height block timestamp iso8601 sender address receiver address amount: currency address, decimals, currency name, currency symbol, token type, token ID, block height and 8 more fields.
What it returns
- currency address
- decimals
- currency name
- currency symbol
- token type
- token ID
- block height
- iso8601
- amount
- receiver address
- contract type
- protocol type
- sender address
- count
- transaction hash
Filters
- sender is 0x2417…6992
The query
query ($network: EthereumNetwork!, $orderby: [String!], $address: String!, $startblockheight: Int!, $endblockheight: Int!, $limit: Int!, $offset: Int!) {
ethereum(network: $network) {
outtransfers: transfers(
options: {asc: $orderby, limit: $limit, offset: $offset}
sender: {is: $address}
height: {gteq: $startblockheight, lteq: $endblockheight}
) {
currency {
address
decimals
name
symbol
tokenType
tokenId
}
block {
height
timestamp {
iso8601
}
}
amount
receiver {
address
smartContract {
contractType
protocolType
}
}
sender {
address
smartContract {
contractType
protocolType
}
}
count
transaction {
hash
}
}
}
}
Variables
{
"network": "matic",
"orderby": [
"block.height",
"block.timestamp.iso8601",
"sender.address",
"receiver.address",
"amount"
],
"address": "0x24174f21e77a210cbb4fd1dd3801c73821476992",
"limit": 25,
"offset": 1,
"startblockheight": 30345414,
"endblockheight": 30595413
}
Similar queries
- matic - make query fast · Polygon · Transactions
- missing transfers · Polygon · Transfers
- matic query · Polygon · Transfers
- matic_do_not_work · Polygon · Transfers
- leo · Polygon · Transfers