Purchase a listed NFT
Step 1: Request fill call-data
payload = json.dumps({
"aciliaId": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcm...",
"taker": ALICE_ADDRESS
})
headers = {
'Authorization': f'Bearer {api_token}',
'Content-Type': 'application/json'
}
response = requests.request(
"POST",
f"https://{acilia_api_domain}/v1/order/fill",
headers=headers,
data=payload
)
response = response.json()Step 2: Fill the order on-chain
Step 3: Ensure the transaction succeeds
Last updated