Sell an RWA yield token
Sell an RWA yield token, redeem from an IXS managed vault, or sell a Centrifuge deRWA token, back to a stablecoin.
Set token_in to a Midas symbol (mTBILL, mBASIS, mBTC), a Centrifuge
deRWA symbol (e.g. deSPXA), or an IXS vault address. Midas redemptions
and Centrifuge deRWA swaps are instant and settle in the same transaction; an
IXS redemption is asynchronous — it files a requestRedeem
(settlement: async) the vault operator settles off-chain later, so poll
GET /v2/tokenized_assets/redemptions for status. The transaction executes
inside the product account (owner signs, or EIP-712 with gas_sponsorship).
Body
Buy or sell a swap-traded tokenized asset inside the product account.
Applies to RWA yield assets (Midas mTokens). Equities trade via the order endpoints instead.
Token to spend. For a buy this must be a stablecoin the Midas issuance vault accepts (USDC on every supported network; mBASIS also accepts USDT/DAI on Ethereum). For a sell it is the Midas RWA asset to redeem (e.g. 'mTBILL').
"USDC"
"mTBILL"
Token to receive. For a buy this is the Midas RWA asset to mint (e.g. 'mTBILL'); for a sell it is the payout stablecoin (USDC).
"mTBILL"
"USDC"
Human-readable amount of token_in to trade (token units, not wei).
x > 0500
The owner's wallet address.
Network to trade on. Midas RWA assets exist on Ethereum and Base.
base, ethereum, arbitrum, hyperevm, tempo, bsc, ethereum_sepolia Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%).
0.5
When true, returns an EIP-712 payload for gas-sponsored execution instead of an unsigned transaction.
WisdomTree Connect API credentials, required only when trading a WisdomTree money-market fund. Each organization authenticates with its own credentials, which are exchanged for a short-lived token to look up the settlement wallet for this trade. They are never stored and are masked in logs.
Optional partner fee charged when selling (exiting). It is taken from the payout-token (USDC) proceeds and sent to your fee recipient inside the same execution.
Response
Successful Response
Unsigned trade execution for the owner to sign.
Exactly one of transaction (gas_sponsorship=false) or eip_712
(gas_sponsorship=true) is set.
Estimated amount of token_out received (human-readable units).
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Unsigned transaction executing the trade in the product account.
EIP-712 payload for gas-sponsored execution.
Fee charged on the sell, in payout-token (USDC) units. Null when no fee was applied.
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$How the trade settles. instant: the signed transaction completes the trade (Midas/Ondo swaps and IXS deposits). async: the transaction only requests an IXS redemption, which the vault operator settles off-chain later — poll poll_endpoint for status.
instant, async For async settlements, the endpoint to poll for redemption status (GET /v2/tokenized_assets/redemptions). Null for instant trades.