Prepare Create Trade
chainwhisper_prepare_create_tradeValidate and prepare a one-off OTC order with explicit order type selection, ensuring public, unlisted, direct, and private-liquidity routes are distinct. Hidden amounts remain local; no signing or submission.
Instructions
Validate and prepare an audited ChainWhisper one-off OTC order. Select an explicit orderType so public, unlisted, direct-recipient, and private-liquidity routes cannot be confused. Hidden amounts stay in the local signer. This tool never signs or submits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderType": "<orderType>"
},
"name": "chainwhisper_prepare_create_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | ||
| expiresAt | No | ||
| orderType | Yes | Required. Use chainwhisper_order_types to explain the exact listing, recipient, terms, and liquidity privacy before the user chooses. | |
| recipient | No | ||
| fillPolicy | No | ||
| offerAsset | No | Native, a verified token symbol, or a verified token address. | |
| offerAmount | No | Include only for a public amount. Omit for every private-liquidity orderType and when an unlisted or Direct order offers a private token; the signer collects confidential amounts locally. | |
| requestAsset | No | Native, a verified token symbol, or a verified token address. | |
| requestAmount | No | Include only for a public amount. Omit for every private-liquidity orderType and when an unlisted or Direct order requests a private token; the signer collects confidential amounts locally. |