Skip to main content

/wallet/exchangeinject REST API Endpoint

Injects capital into the transaction to prevent price fluctuations from affecting the transaction.

Updated on
Oct 04, 2023

Body Parameters

owner_address
string
REQUIRED

The Trader wallet address, in hex string format

exchange_id
string
REQUIRED

The Transaction Pair ID

token_id
integer
REQUIRED

The ID of the sold token, in hexString format

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

quant
integer
REQUIRED

The quantity of the token being sold. If TRX being sold, need to express in units of SUN

Returns

result

A boolean value indicating whether the injection transaction was successful

message

The description of the result of the injection transaction. If the transaction was successful, this field will contain a message indicating that the injection was successful. If there was an error, this field will contain an error message describing the nature of the error

txID

The transaction ID of the injected transaction

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