privex.steemengine.SteemEngineToken.SteemEngineToken.find_steem_tx

SteemEngineToken.find_steem_tx(tx_data: dict, last_blocks=15) Optional[dict][source]

Used internally to get the transaction ID after a Steem transaction has been broadcasted.

See send_token() and issue_token() for how this is used.

Parameters
  • tx_data (dict) – Transaction data returned by a beem broadcast operation, must include signatures

  • last_blocks (int) – Amount of previous blocks to search for the transaction

Return dict

Transaction data from the blockchain, see below.

Return format:

{
    transaction_id, ref_block_num, ref_block_prefix, expiration,
    operations, extensions, signatures, block_num, transaction_num
}
Return None

If the transaction wasn’t found, None will be returned.