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 = " query($hashes: [String!]!) {\n blockTransactions(hashes: $hashes) {\n txhash\n state\n }\n }\n GRAPHQL\n\n ::Istox::GraphqlClient.query('chainhub', query, hashes: txhashes).data.block_transactions\nend\n" |