Get NFT owner by token ID
Returns the latest balance update on Ethereum, where currency smart contract is 0xd4e4…7782, balance update amount is above 0 and balance update ID is 329: balance update address, balance update amount, balance update ID and block number.
What it returns
- balance update address
- balance update amount
- balance update ID
- block number
Filters
- currency smart contract is 0xd4e4…7782
- balance update amount is above 0
- balance update ID is 329
The query
{
EVM(dataset: archive, network: eth) {
BalanceUpdates(
where: {Currency: {SmartContract: {is: "0xd4e4078ca3495de5b1d4db434bebc5a986197782"}}, BalanceUpdate: {Amount: {gt: "0"}, Id: {eq: "329"}}}
orderBy: {descending: Block_Number}
limit: {count: 1}
) {
BalanceUpdate {
Address
Amount
Id
}
Block {
Number
}
}
}
}
Variables
{
"network": "eth",
"token": "0x0fcbd68251819928c8f6d182fc04be733fa94170",
"id": "6857"
}
Similar queries
- eth balance · Ethereum · BalanceUpdates
- Ethereum balance view · Ethereum · BalanceUpdates
- Balance update API explanation · Ethereum · BalanceUpdates
- MyQuery EVM · BNB Chain · BalanceUpdates
- usdt_holder_balance_update_ · Ethereum · BalanceUpdates