open_rob
Create a Redemption Order Book buy order by depositing ADA to purchase an iAsset up to a specified max price, returning an unsigned transaction for client-side signing.
Instructions
Open a new ROB (Redemption Order Book) buy order: deposit ADA to buy an iAsset up to a max price. The max price is a rational number (numerator/denominator). Returns an unsigned transaction (CBOR hex) for client-side signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| address | Yes | User Cardano bech32 address | |
| lovelacesAmount | Yes | ADA amount in lovelace to deposit into the ROB | |
| maxPriceNumerator | Yes | Max price numerator (integer string) | |
| maxPriceDenominator | Yes | Max price denominator (integer string) |