HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

ExchangeInject

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

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.

Language
Click Try It! to start a request and see the response here!