Skip to main content

Interface: TradeTokenTangleRequest

Tangle request object to trade a token.

Properties

count

Optional count: number

Count of the tokens to be bought. Only specify is type is BUY. Minimum 1, maximum 1e+26


price

Optional price: number

Price of the token to trade. Minimum 0.000001, maximum: 1000000000000.


requestType

requestType: "SELL_TOKEN" | "BUY_TOKEN"

Type of the tangle request.


symbol

Optional symbol: string

Symbol of the token to trade. Set it only during minted token trade.


targetAddress

Optional targetAddress: string

Funds will be sent here in case of a successfull trade.