trade

Execute a trade in the web3 browser given order details
trade
sdk.trade(tx)

Value

Description

tx

Order details received from calling sdk.getTrade(), or using the /trade API.

sdk.trade() uses sdk.registerStatusHandler() to receive status callbacks as the trade gets executed and mined.

‚Äč