cURL
curl --request POST \ --url https://mainnet.gomaestro-api.org/v1/contracts/directSwap/cancelOffer \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "sender": "<string>", "offerOutRef": { "tx_hash": "<string>", "output_index": 123 } }'
{ "cbor_hex": "<string>", "tx_hash": "<string>" }
Cancel an existing peer-to-peer asset swap offer on Cardano and reclaim the locked assets.
Project API Key
Sender's bech32 address
Offer output reference
Show child attributes
Offer cancelled successfully
Unsigned transaction
CBOR hexadecimal representation of the transaction
Transaction hash
Was this page helpful?