blockhain_transaction#

API documentation for tradeexecutor.state.blockhain_transaction Python module in Trading Strategy.

Module description#

Tracking of blockchain transactions.

  • Creating transactions and signing them from hot wallet

  • Broadcasting and tracking transaction mining status

  • Resolving succeed or failed transactions to succeed or failed trades

Classes#

BlockchainTransaction

A stateful blockchain transaction.

BlockchainTransactionType

What kind of transactions we generate.

JSONAssetDelta

JSON serialisable asset delta.

Functions#

solidity_arg_encoder(val)

JSON safe Solidity function argument encoder.