Class: CardanoWallet::Misc::Proxy
- Defined in:
- lib/cardano_wallet/misc.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#submit_external_transaction(binary_blob) ⇒ Object
Submit a transaction that was created and signed outside of cardano-wallet.
Methods inherited from Base
#byron, #initialize, #misc, #shared, #shelley, #utils
Constructor Details
This class inherits a constructor from CardanoWallet::Base
Instance Method Details
#submit_external_transaction(binary_blob) ⇒ Object
Submit a transaction that was created and signed outside of cardano-wallet.
153 154 155 156 157 |
# File 'lib/cardano_wallet/misc.rb', line 153 def submit_external_transaction(binary_blob) self.class.post('/proxy/transactions', body: binary_blob, headers: { 'Content-Type' => 'application/octet-stream' }) end |