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 offer for direct swap
Project API Key
Offer filled successfully
Unsigned transaction