Transfer Token
1from litewax import Client
2
3# Create a client with a private key
4client = Client(private_key="5K...")
5
6# to - the account send the tokens to
7to = "abuztradewax"
8
9# Create a eosio.token contract object
10contract = client.Contract("eosio.token")
11
12# Create a transaction object
13trx = client.Transaction(
14 contract.transfer(
15 _from=client.name,
16 to=to,
17 quantity="1.00000000 WAX",
18 memo="Test send"
19 )
20)
21
22# Push the transaction
23r = trx.push()
24
25print(r)