Class: Istox::Interfaces::Chainhub::Transaction
- Inherits:
-
Object
- Object
- Istox::Interfaces::Chainhub::Transaction
- Defined in:
- lib/istox/interfaces/chainhub/transaction.rb
Class Method Summary collapse
Class Method Details
.get_block_transactions(txhashes) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/istox/interfaces/chainhub/transaction.rb', line 6 def get_block_transactions(txhashes) query = <<-'GRAPHQL' query($hashes: [String!]!) { blockTransactions(hashes: $hashes) { txhash state } } GRAPHQL ::Istox::GraphqlClient.query('chainhub', query, hashes: txhashes).data.block_transactions end |