Fantom Transfers API
Fantom GraphQL queries are served at https://graphql.bitquery.io. Pass network: fantom to the ethereum field.
transfers type allows you to retrieve currency or token transfers from Fantom Blockchain.
Here's an example query that retrieves the 10 latest transfers of WFTM (Wrapped Fantom) between 20 and 24 November 2026. The results are sorted based on the timestamp of each transfer in descending order.
query {
ethereum(network: fantom) {
transfers(
currency: { is: "0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83" }
date: { between: ["2026-11-20T00:00:00Z", "2026-11-24T00:00:00Z"] }
options: { desc: "block.timestamp.iso8601", limit: 10 }
) {
amount
block {
timestamp {
iso8601
}
}
currency {
address
name
symbol
}
gasValue
receiver {
address
annotation
}
sender {
address
annotation
}
transaction {
hash
}
}
}
}
Filtering Transfers
Data retrieved using transfers can be filtered using following arguments:
-
amount: Filter by amount of tokens transferred in a transferAvailable comparison operators are
between,gt,gteq,in,is,lt,lteq,not,notIn. -
currency: Filter by currency used in a transfer. Currencies supported are native tokens like FTM/ETC, ERC20, ERC721 tokens. For native currencies you can use symbols of them, for contract use address of that contract.Available comparison operators are
in,is,not,notIn -
date: Filter by date on which transfer happened. Date should be in ISO8601-encoded datetime string. Ex, June 17th, 2023 will be2023-07-17T00:00:00ZAvailable comparison operator are
after,before,between,in,is,not,notIn,since,till. -
entityId: Filter by ERC-721 entity Id -
external: -
height: Filter by height of Block where transaction happened.Available comparison operators are
between,gt,gteq,in,is,lt,lteq,not,notIn. -
options: Filter returned data by ordering, limiting and constrainting transfer data.Available fields:
asc,ascByInteger,desc,descByInteger,limit,limitBy,offset -
receiver: Filter by receiver of the transfer.Available comparison operators are
in,is,not,notIn -
sender: Filter by sender of the transfer.Available comparison operators are
in,is,not,notIn -
success: Filter by if transaction is successful or not -
time: Filter by time when transfer happened. Time should be in ISO8601-encoded datetime string. Ex, June 17th, 2023 will be2023-07-17T00:00:00ZAvailable comparison operator are
after,before,between,in,is,not,notIn,since,till. -
txFrom: Filter by the address responsible for creating the transaction. Available comparison operators arein,is,not,notIn.Read the difference between transfers and transaction in Bitquery API here.
-
txHash: Filter by transaction hash of the transfer.Available comparison operators are
is,in,not,notIn.
transfers field has following subfield which returns relevant infomation about currency transfers.
amount: returns amount of currency transferredany:block: returns block in which transfer happenedcount: returns aggregate count of transferscountBigInt: returns aggregate coutn of transfers inBigIntformatcurrency: returns details of currency used in transferdate: returns date of transferentityId: returns entity identifier for ERC-721 tokensexpression: performs arithmetic operation and returns value of the operationexternal:gasValue: returns gas value consumed to perform a particular transfermaximum: returns maximum of selected measurable field oftransfersminimum: returns minimum of selected measurable field oftransfersreceiver: returns receiver of a particular transfersender: returns sender of a particular transfersuccess: returns boolean value for success of a particular transfertransaction: returns details of transaction in which a particular transfer
Related
Ready to run this in production?
Get an API key and run these queries in minutes, or talk to us about plans and enterprise delivery.