Skip to content

Sending Tokens

Once you have your wallet configured, you can send transactions to the network. The LedgerClient object provides useful utilities to do common operations. The following example shows how to send 10 atestfet to another address:

destination_address = 'fetch1h2l3cnu7e23whmd5yrfeunacez9tv0plv5rxqy'

tx = ledger_client.send_tokens(destination_address, 10, "atestfet", wallet)

# block until the transaction has been successful or failed
tx.wait_to_complete()
Back to top