Klaytn GraphQL queries
99 public GraphQL queries on Klaytn, saved by 29 authors and ready to run in the Bitquery IDE: transfers (34), transactions (31), address details (29), DEX trades (13) and smart contract calls (10).
Transfers on Klaytn
- Cross chain transfers – Returns 100 transfers and address details on Ethereum, BNB Chain, cronos, celo_mainnet, Polygon, velas, moonbeam, Fantom, Avalanche, klaytn and Tron, where address is 0xb3ea…d6fe: amount, sender address, receiver address, currency name, currency symbol, balances value, currency address and token typ
- internal_transactions_ – Returns the latest transfers on Ethereum and klaytn, where receiver is 0xec1b…f599 and currency is KLAY: sender address, receiver address, external, amount, currency address, currency name, transaction hash and block height.
- SSG transaction extraction – Returns 10000 transfers on Ethereum and klaytn, where currency is 0x63de…0556, date since 2024-07-01 and date till 2024-07-02, sorted by block timestamp time: block height, timestamp time, sender address, receiver address, success, gas price, transaction hash and 2 more fields.
- KlayBalance_ – Returns transfers and transactions on Ethereum and klaytn, where sender is 0x0bb3…ed22, receiver is 0x0bb3…ed22 and fee payer is 0x0bb3…ed22: amount and gas value.
- Query ETH addresses – Returns address details and transactions on Ethereum, Polygon and klaytn, where address is 0x57f1…ea85, tx sender is 0x57f1…ea85 and receiver is 0x57f1…ea85: annotation, minimum of time, maximum of time and count.
Transactions on Klaytn
- Klayn – Klay Download Transactions Query
- KlayInputTransactionsQuery – Klay Input Transactions Query
- address_fee_transaction_ – Klay Input Transactions Query
- Klaytn fees – Returns transactions on Ethereum and klaytn, where tx hash is 0xfa9d…dfb1: amount, sender address, annotation, gas, gas price, gas currency symbol, gas value and 4 more fields.
- Query ETH addresses – Returns address details and transactions on Ethereum, Polygon and klaytn, where address is 0x57f1…ea85, tx sender is 0x57f1…ea85 and receiver is 0x57f1…ea85: annotation, minimum of time, maximum of time and count.
Address details on Klaytn
- Cross chain transfers – Returns 100 transfers and address details on Ethereum, BNB Chain, cronos, celo_mainnet, Polygon, velas, moonbeam, Fantom, Avalanche, klaytn and Tron, where address is 0xb3ea…d6fe: amount, sender address, receiver address, currency name, currency symbol, balances value, currency address and token typ
- Klaytn negative balance – Returns address details on Ethereum and klaytn, where address is 0x69b7…9e85: balances value, currency address, currency symbol and token type.
- Klay_Balance – Returns address details on Ethereum and klaytn, where address is 0x81ab…0C8E: address and balance.
- klaytn – query to report KLAY balance error
- Query ETH addresses – Returns address details and transactions on Ethereum, Polygon and klaytn, where address is 0x57f1…ea85, tx sender is 0x57f1…ea85 and receiver is 0x57f1…ea85: annotation, minimum of time, maximum of time and count.
DEX trades on Klaytn
- 3) Get Router Address From Factory And Base Token – Returns the latest DEX trade on Ethereum and klaytn, where base currency is 0x4cd7…0b5a and exchange address is 0x36fa…db2b: block height and to address.
- Cross chain Trades – Returns 10 DEX trades on Ethereum, BNB Chain, cronos, celo_mainnet, Polygon, velas, moonbeam, Fantom, Avalanche and klaytn, where maker or taker is 0x225f…bf76, date since 2023-12-07 and date till 2023-12-14, sorted by count, highest first.
- 1) Get Top Dex Factorys For Network – moonbeam dex
- Swap Scanner – Returns DEX trades on Ethereum and klaytn, where tx to is 0xf507…31b5: trade amount and count.
- klaytn dex trade volume – Returns DEX trades on Ethereum and klaytn, where date since 2023-10-25 and date till 2023-11-01, sorted by trade amount, highest first: full name, count and trade amount.
Smart contract calls on Klaytn
- internal_transaction_klaytn – Returns the latest 10 smart contract calls on Ethereum and klaytn, where date since 2024-05-20: transaction hash, tx from address, external, caller address, address address, amount, block height and smart contract method name.
- Graphql API Klaytn – Returns 10 transfers and transactions on Ethereum and klaytn, where caller is 0x87f7…5db3, address is 0x87f7…5db3 and date since 2022-04-04, sorted by count in count out, highest first: minimum of block, amount, count, gas value, maximum of block, currency name, currency symbol and balances value.
- klaytn smart contract calls – Returns 10 smart contract calls on Ethereum and klaytn, where tx hash is 0xe6a4…9a67, sorted by call depth: address address, annotation, contract type, protocol type, smart contract method name, signature hash, caller address and 5 more fields.
- details_about_an_address_klaytn – Returns transfers and transactions on Ethereum and klaytn, where caller is 0x87f7…5db3, address is 0x87f7…5db3 and amount is above 0: minimum of block, maximum of block, amount, count, gas value, currency name, currency symbol and 2 more fields.
- CHECK2 – Returns smart contract calls on Ethereum and klaytn, where caller is 0x69b7…9e85: gas value.