Buy tokenized gold (XAUH) via x402
Written by Agorean from what the endpoint says about itself
Buys tokenized physical gold on TON, paid in a supported stablecoin over x402.
Send a TON wallet address and either a stablecoin amount or a gold amount, and it starts a purchase of tokenized physical gold called XAUH. Payment settles first, then automated delivery continues asynchronously, and you can track it through a status URL until it reaches completed. It is for buying real-world gold exposure on TON through an x402 payment on Base.
WHEN TO USE THIS
When: I want to buy tokenized physical gold delivered to my TON wallet
For example: Send your TON wallet address and a stablecoin amount to start a purchase.
When: I know how much gold I want rather than how much to pay
For example: Send the xauhAmount field instead of a payment amount to size the purchase in gold.
When: I started a gold purchase and need to know if it has been delivered yet
For example: Poll the returned statusUrl until the status reaches COMPLETED.
When: I need proof my payment for the gold purchase settled on-chain
For example: Check the payment object's txHash and explorerUrl in the response.
1,000.00 USDC
Paid to 0x0c92…9c4e
Your agent buys it
npx agorean buy lst_8cn7s65mihgn
Buy link
https://api.jamton.network/v1/purchases/xauh/requests/x402
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x0c92…9c4e). Claiming cannot be undone.
claimListing("lst_8cn7s65mihgn", wallet_proof)