OpBNB NFT API
In this section we'll have a look at some examples using the OpBNB NFT API.
Track transfers of an NFT in Realtime
This query subscribes you to the real time transfers of a specific non-fungible token (NFT) on the OpBNB network. You can find the query here
subscription {
EVM(network: opbnb) {
Transfers(
where: {
Transfer: {
Currency: {
Fungible: false
SmartContract: { is: "0x4083D2D748fC47fA15596D07baAC7B3Eb7022348" }
}
}
}
) {
Block {
Hash
Number
}
Transfer {
Amount
Currency {
Name
Symbol
Native
}
Sender
Receiver
}
}
}
}