post https://api.shasta.trongrid.io/wallet/createtransaction
Create a TRX transfer transaction. If to_address does not exist, then create the account on the blockchain.
Returns
Transaction - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is TransferContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
Field | Type | Description |
---|---|---|
owner_address | string | Transaction initiator address |
to_address | string | Destination address |
amount | int64 | Transfer TRX amount, in sun |