Transfers
The transfers field allows us to fetch details about token transfers from the Algorand blockchain.
Here is an exmaple that demonstrates how to fetch 10 latest transfers:
{
algorand {
transfers(
date: {after: "2023-08-05"}
options: {desc: "block.timestamp.iso8601", limit: 10}
) {
block {
height
timestamp {
iso8601
}
}
currency {
address
name
symbol
}
firstRound
lastRound
memo
receiver {
address
}
sender {
address
}
transaction {
hash
}
transferType
}
}
}
Filtering Transfers
Transfer data can be filtered using the following arguments
amount: filter by amount of transferred tokenany:currency: filter by currency of transferred tokendate: filter by date of the transferheight: filter by block heightoptions: filter returned data by ordering, limiting, and constraining itreceivers: filter by recevier address of transfersender: filter by sender address of transfertime: filter by time of the transfertransferType: filter by transfer typetxHash: filter by transaction hash of transfertxIndex: filter by index in the block where the transaction is includedtxSender: filter by sender address of transactiontxType: filter by transaction type
amount: returns amount of transferred tokenany:block: returns block where transaction is includedcount: returns count and other metricscountBigInt: returns count and other metrics as BigIntcurrency: returns currency of transferred tokendate: returns date of the transferexpression: performs arithematic operation on fields in the query and returns value of the operationfirstRound: returns first round for the transferlastRound: returns last round for the transfermaximum: returns maximum for selected measurable field of Algorand transfersmemo: returns value of memo fieldminimum: returns minimum for selected measurable field of Algorand transfersreceiver: returns address and annotation for receiver of the transfersender: returns address and annotation for sender of the transfertransaction: returns details of transaction in which transfer occurredtransferType: returns transfer type