Prepare Counter
chainwhisper_prepare_counterPrepare a Direct counterorder for trusted one-off orders. Counter terms are recipient-bound to the original maker, with confidential token amounts kept local.
Instructions
Prepare a canonical Direct counterorder against a trusted one-off order. Counter terms are recipient-bound to the original maker; confidential token amounts stay in the local signer. Existing recipient-bound Standard orders use an explicitly labeled legacy compatibility route and cannot be confused with newly created Direct orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| wallet | No | ||
| expiresAt | No | ||
| offerAmount | No | Include for public assets and for visibly bound private-token amounts when superseding an explicitly labeled legacy Standard counter. Omit for confidential Direct counter amounts; the signer collects those locally. | |
| requestAmount | No | Include for public assets and for visibly bound private-token amounts when superseding an explicitly labeled legacy Standard counter. Omit for confidential Direct counter amounts; the signer collects those locally. |