Create an offer
Create a new offer for direct swap
application/json
Request Body required
sender string required
Sender's bech32 address
offer object required
Offer assets
property name* string
toBuy object required
Assets to buy
property name* string
Responses
- 200
- 400
Offer created successfully
application/json
Schema
Example (from schema)
Schema
cbor_hex string required
CBOR hexadecimal representation of the transaction
tx_hash string required
Transaction hash
{
"cbor_hex": "string",
"tx_hash": "string"
}
Bad Request. Invalid request body provided.
Loading...