create_otc_offer
Create a peer-to-peer OTC trading offer on Cardexscan and receive an unsigned transaction CBOR plus offer ID for signing and submission.
Instructions
Create a new peer-to-peer OTC trading offer on the Cardexscan marketplace. Returns an unsigned transaction CBOR and offer ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerAsset | Yes | Details of the token being offered for sale | |
| offerAmount | Yes | Amount of the offered token (in smallest unit) | |
| allowPartial | No | Whether partial fills are allowed (default: false) | |
| requestAsset | Yes | Token requested in exchange. Use 'lovelace' for ADA or a token object | |
| minTakeAmount | No | Minimum amount for partial fills (required if allowPartial is true) | |
| requestAmount | Yes | Amount of the requested token (in smallest unit) | |
| walletAddress | Yes | Cardano wallet address (bech32 format, starts with 'addr1') | |
| expirationHours | No | Number of hours until the offer expires (optional) |