code: def create_signed_tx(network, spendables, payables, wifs=[], fee="standard",
                       lock_time=0, version=1, **kwargs):
      
  
      tx = create_tx(network, spendables, payables, fee=fee, lock_time=lock_time, version=version)
      sign_tx(network, tx, wifs=wifs, **kwargs)
      for idx, tx_out in enumerate(tx.txs_in):
          if not tx.is_solution_ok(idx):
              raise SecretExponentMissing("failed to sign spendable for %s" %
                                          tx.unspents[idx].address())
      return tx
docs: This convenience function calls :func:`create_tx` and :func:`sign_tx` in turn. Read the documentation
      for those functions for information on the parameters.
  
      Usage::
  
          >>> spendables = spendables_for_address("1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH")
          >>> wifs = ["KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn"]
          >>> payables = ["1cMh228HTCiwS8ZsaakH8A8wze1JR5ZsP"]
          >>> tx = create_signed_tx(network, spendables, payables, wifs=wifs, fee=0)
  
      This will move all available reported funds from 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
      to 1cMh228HTCiwS8ZsaakH8A8wze1JR5ZsP, with no transaction fees (which means it might
      take a while to confirm, possibly never).