Prepare purchase
prepare_purchaseBuild the UNSIGNED buyListing calldata for a marketplace listing so your own wallet can sign it. Returns the Tips contract (0.0.10854060), the function selector, the hex calldata, and the exact HBAR value to attach (listing price converted at the live mirror-node HBAR/USD rate). This server never signs and never holds keys — you sign the prepared calldata with your own Hedera key and submit. The contract splits 98% to the seller and 2% to the treasury atomically in the same transaction; no escrow. Verify afterward with verify_purchase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listing_id | Yes | Marketplace listing id, e.g. bacon-badge |