Hi all,
I’ve seen several examples of querying outbound ETH transactions from an address, however, none mentions USDT (ERC-20) transactions from an address. Would you mind helping me how to compose such query?
You can checkout for Outbound transaction details by searching for a specific token in our Bitquery Explorer. The below is one such example of an ERC20-USDT token address.
Latest Outbound Transfers
{
ethereum(network: ethereum) {
transfers(
options: {desc: "block.timestamp.time", asc: "currency.symbol", limit: 10}
sender: {is: "0xc40a3ad24c1a2c0baedf02aa11e4a9bb164dd8f3"}
) {
block {
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
height
}
sender{
address
}
receiver {
address
}
currency {
address
symbol
}
amount
transaction {
hash
}
}
}
}
Outbound Transfers on ETH Currency
{
ethereum(network: ethereum) {
transfers(options: {asc: "date.date"}, sender: {is: "0xc40a3ad24c1a2c0baedf02aa11e4a9bb164dd8f3"}, currency: {is: "ETH"}) {
date: date {
date(format: "%Y-%m")
}
count: count
amount
}
}
}
Source: ERC20-USDT (ERC20) ERC20 Token Outflow from Smart Contract in Ethereum Mainnet
By “OUTBOUND” were you referring to the use case of Coinpath API?