Skip to main content
The trade() response shape:
Always check status === TxnStatus.success before using txnHash. Use errorMsg for user-facing messages.

Next steps

Last modified on July 29, 2026