Broadcast Transaction
seed64 = "2k3LidUYf6c6Lxs5YR2RY9mT7gJS6663XbyfarMQx8V5Pf28NF5XCQaecZrvYty6sKHxr5w4RoUct2t16agNTAQd"
receiver = "69TDon8KJp3vicNeFR3dg5x5sKY8PJFLmoizX3RN31YL4fwr266AVcXgwy1mjCLy6M"
amount = 1.0 # AMA has 9 decimals. the API converts type float to integer currency
# 1.0 is actually 1_000_000_000 AMA
# if you pass amount = 1 you will send 1 of the lowest denomination of AMA
symbol = "AMA"
RPC.API.Wallet.transfer(seed64, receiver, amount, symbol)
%{error: "ok", hash: "CNzM2qvuPBVgV92LnBDtSrbFAm3iTwupEWiVGEBmrKpy"}
#Wait a second
RPC.API.Wallet.balance(receiver, symbol)
RPC.API.Chain.tx("CNzM2qvuPBVgV92LnBDtSrbFAm3iTwupEWiVGEBmrKpy")RPC.API.Wallet.transfer(seed64, receiver, amount, "NEURAL")Bulk Transfer
Last updated