ExchangeInject

Injects capital into the transaction. The purpose of injecting capital into the trading pair is to prevent price fluctuation from affecting the transaction.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns

Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is ExchangeInjectContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

FieldTypeDescription
owner_addressstringTransaction initiator address. (Format: Base58 or Hex)
exchange_idint64ID of the DEX trading pair.
token_idstringID of the token to inject.
quantint64Amount of tokens to inject from a DEX trading pair.

Body Params
string

Transaction creator address (format: Base58 or Hex). Example: 4100776428620856AE1D71562812B734E356B68551

int64

ID of the DEX trading pair. Example: 12

string

ID of the token, usually is the token name (format: Hex). Example: 31303030343837

int64

Amount of tokens to inject from a DEX trading pair. Example: 100

int64

Permission ID used for multi-signature.

boolean

Set to true to include detailed transaction statistics (txStat) in the response. (Default: false)

Responses

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