cURL
curl --request POST \ --url https://mainnet.gomaestro-api.org/v1/contracts/directSwap/fillOffer \ --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>" }
Fill an existing peer-to-peer asset swap offer on Cardano to complete the trustless token exchange.
Project API Key
Sender's bech32 address
Offer output reference
Show child attributes
Offer filled successfully
Unsigned transaction
CBOR hexadecimal representation of the transaction
Transaction hash
Was this page helpful?