OpBNB GraphQL queries
39 public GraphQL queries on opBNB, saved by 7 authors and ready to run in the Bitquery IDE: transfers (13), DEX trades by token (8), DEX trades (7), events (4) and blocks (2).
Transfers on opBNB
- OpBNB transfers – Streams transfers on opBNB as they happen: block number, block time, sender, receiver, currency symbol and transfer amount.
- Sender is a particular address – Streams transfers on opBNB as they happen, where transfer sender is 0xc4f9…0204: transfer amount, amount in USD, currency name, smart contract, native, currency symbol, fungible and 3 more fields.
- All transfers of an nft – Returns the latest 20 transfers on opBNB, where currency smart contract is 0x4083…2348: block hash, block number, transfer amount, currency name, currency symbol, native, sender and receiver.
- OpBnb latest Transfers – Streams transfers on opBNB as they happen: from, transaction hash, transfer amount, sender, receiver, smart contract, currency symbol and 4 more fields.
- OpBnb latest Transfers of token – Streams transfers on opBNB as they happen, where currency smart contract is 0xc323…25dc: from, transaction hash, transfer amount, sender, receiver, smart contract, currency symbol and 4 more fields.
DEX trades by token on opBNB
- Latest OHLC info – Returns the latest 10 DEX trades by token on opBNB, where currency smart contract is 0x4200…0006, side currency smart contract is 0x9e5a…96f3 and DEX smart contract is 0x706f…e91d: block date, sum of trade amount, trade price, currency name, protocol name, smart contract, side currency name and 2 mo
- Price of a USDT token in terms of WBNB on opBNB – Returns the latest DEX trade by token on opBNB, where currency smart contract is 0x9e5A…96f3 and side currency smart contract is 0x4200…0006: block time, trade amount, trade price, currency symbol, currency name, side amount, side currency name and side currency symbol.
- opBnB top tokens – Returns 100 DEX trades by token on opBNB, sorted by count, highest first: currency symbol, smart contract, fungible, currency name, trade amount, amount in USD, unique of trade side currency smart contract and 6 more fields.
- Copy don Donald – Returns DEX trades by token on opBNB, where block time since 2024-12-19: protocol family, unique of trade buyer, unique of trade sender and count.
- Error query – Returns 100 DEX trades by token on opBNB, where block time after 2025-02-16, sorted by USD, highest first: currency symbol, currency name, smart contract, protocol name, side currency symbol, side currency name, side smart contract and 8 more fields.
DEX trades on opBNB
- Latest Trades on opBNB – Returns the latest 10 DEX trades on opBNB, where buy currency smart contract is 0x5283…8b44: block number, block time, from, to, transaction hash, buy amount, buy buyer and 12 more fields.
- Price of a USDT token in terms of WBNB on opBNB – Streams the latest 10 DEX trades on opBNB as they happen, where sell currency smart contract is 0x4200…0006 and buy currency smart contract is 0x9e5A…96f3: block time, buy amount, buy price, buy currency name, buy currency symbol, buy smart contract, sell amount and 4 more fields.
- Real time trades on opBnB chain – Streams DEX trades on opBNB as they happen: buy amount, buy buyer, buy smart contract, buy currency symbol, buy currency name, sell amount, sell buyer and 4 more fields.
Events on opBNB
- Real time Smart contract events on opBnB chain – Streams events on opBNB as they happen: transaction hash, signature name, smart contract, arguments name, arguments index, arguments type, integer and 7 more fields.
- Smart contract call /event – Returns events on opBNB, where signature name is PairCreated: transaction hash, signature name, arguments name, integer, string, value address, big integer and 2 more fields.
- Smart contract call/event – Returns events on opBNB, where signature name is PairCreated: transaction hash, signature name, arguments name, integer, string, value address, big integer and 2 more fields.
Blocks on opBNB
- query OpBNB – Returns blocks on opBNB: block number.
- timestamp – Returns 10 blocks on Tron, opBNB and Solana, where block time after 2025-05-09 and block time before 2025-05-09: block date, block hash, block time, block number and slot.