Cosmoshub GraphQL queries
57 public GraphQL queries on Cosmoshub, saved by 15 authors and ready to run in the Bitquery IDE: transfers (29), transactions (20), blocks (3), messages (3) and address details (3).
Transfers on Cosmoshub
- query_transfers_ – Returns transfers on cosmoshub, where transaction hash is 949D9D…6301: sender address, receiver address, value, currency name and currency symbol.
- cosmos transfers api – Returns the latest 10 transfers on cosmoshub, where date since 2022-06-09 and date till 2022-06-16: timestamp time, block height, sender address, receiver address, currency symbol, message index, transaction hash and 6 more fields.
- transfers_block – Returns transfers on cosmoshub, where block is 28366021: message type, transaction hash and block height.
- Atom Recieve Query – Returns the latest transfers on cosmoshub, where receiver is cosmos…40ne: sender address, receiver address, type, value, transaction hash, value decimal, currency name and 3 more fields.
- Atom Send Query – Returns transfers on cosmoshub, where sender is cosmos…f3hp: count, sender address, receiver address, type, value, transaction hash, value decimal and 6 more fields.
Transactions on Cosmoshub
- query_transactions_within_block – Returns transactions on cosmoshub, where block height is 25554580: hash.
- transactions_in_blocks – Returns transactions on cosmoshub, where block height is 28366021: block height and hash.
- Cosmos Hub Fees – Returns transactions on cosmoshub: fee currency symbol, fee currency name, token type, token ID, fee decimal and date date.
- transactions-api – Returns transactions on cosmoshub, where date after 2024-02-05: block height, iso8601, fee, fee currency name, fee currency address, gas used, index and 3 more fields.
- Atom – Returns the latest transactions on cosmoshub, where date since 2019-12-12: count and date date.
Blocks on Cosmoshub
- blocks-api – Returns 10 blocks on cosmoshub, where date after 2024-01-01, sorted by timestamp iso8601, highest first: hash, header, metadata, proposer address and iso8601.
- cosmos-query – Returns blocks on cosmoshub, where height is 19150963: timestamp time, height, hash and proposer address.
- CosmosHub unique validators count – attestations by a validator
Messages on Cosmoshub
- Cosmos Test Messages – Returns messages on cosmoshub, where transaction hash is 475D25…FA97: block height, timestamp time, block hash and count.
- Cosmos message example – Returns 10 messages on cosmoshub, where date is 2023-05-03: block hash, block height, timestamp time, type, json, transaction hash and senders.
- message-api – Returns messages on cosmoshub, where date after 2024-01-01 and block height is 16494924: index, json, senders, success, transaction hash, signer address and type.
Address details on Cosmoshub
- cosmos-address – Returns address details on cosmoshub, where address is cosmos…xrnv: address, balance and annotation.
- Query currency in conditional expr Cosmos – Returns address details and transfers on cosmoshub, where address is cosmos…ffym, receiver is cosmos…ffym and sender is cosmos…ffym: annotation, count, minimum of date, maximum of date and maximum of time.
- Query balance in Cosmos – Returns address details and transfers on cosmoshub, where address is cosmos…ffym, receiver is cosmos…ffym and sender is cosmos…ffym: balance, annotation, count, minimum of date, maximum of date and maximum of time.