CreateTransaction

Creates a TRX transfer transaction. If the recipient account (to_address) does not exist, it will be automatically activated.

Recipes
💸
Send Your First Transaction
Open Recipe
📡
API Signature and Broadcast Flow
Open Recipe
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns

Returns an unsigned transaction JSON object. Refer to the Transaction chapter for the field definitions. For the TransferContract type, the raw_data.contract[0].parameter.value fields are:

FieldTypeDescription
owner_addressstringSender address.
to_addressstringRecipient address
amountint64Amount of TRX to transfer. (Unit: sun, 1 TRX = 1,000,000 sun).

Body Params
string
required

Sender address. (Format: Base58 or Hex).
e.g., 41FD49EDA0F23FF7EC1D03B52C3A45991C24CD440E

string
required

Recipient address. (Format: Base58 or Hex).
e.g., 4198927FFB9F554DC4A453C64B2E553A02D6DF514B

int64
required
Defaults to -1

Amount of TRX to transfer. (Unit: sun).
e.g., 1000

int32

The permission ID of the account. Defaults to owner permission if unspecified. Check More info.

boolean
Defaults to false

Set to true to format addresses in Base58; set to false for hex format. (Default: false)

string

Remarks or notes for the transaction, in Hex format.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json