Skip to main content

/wallet/createtransaction REST API Endpoint

Create a TRX transfer transaction. If to_address does not exist, then create the account on the blockchain.

Updated on
Oct 04, 2023

Body Parameters

owner_address
string
REQUIRED

The address of the account that is initiating the transaction, encoded in hex

to_address
string
REQUIRED

The address of the recipient of the transaction, encoded in hex

amount
integer

The amount of TRX to be sent in the transaction

permission_id
integer

The ID of the permission that is required to execute the transaction

visible
boolean

A boolean value indicating whether the address is in base58 format

extra_data
string

The extra data to be included in the transaction

Returns

visible

A boolean value indicating whether the transaction was successful

txid

The transaction id

raw_data

An object that contains the transaction details with the following fields:

contract

An array of objects containing information about the exchange transaction contract

parameter

An object containing the exchange transaction contract parameters

value

An object containing the values of the exchange transaction contract parameters

amount

The amount of the token being injected in the exchange

owner_address

The owner address of the exchange pair

to_address

The receiver address of the exchange pair

type_url

The URL of the exchange transaction contract type

type

The type of the exchange transaction contract

ref_block_bytes

The ref block bytes of the transaction

ref_block_hash

The ref block hash of the transaction

expiration

This is a timestamp indicating the expiration time of the transaction in milliseconds

timestamp

This is a timestamp indicating the time at which the transaction was created in milliseconds

raw_data_hex

The hexadecimal representation of the raw data in the transactio

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free