Skip to content
Fourohtwo

tanod.dev/v1/x402/receipt-check

Check whether a transaction paid a specified token amount to a recipient on a supported EVM chain or Solana. Use when an agent or seller must verify that a transaction hash paid a given token amount to a given address.

SolanaAnswering
POSThttps://tanod.dev/v1/x402/receipt-check

Uptime100% of 4 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/x402/receipt-check" \
  -d '{"network":"base","tx_hash":"0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd","expect_amount":"0.002","expect_pay_to":"0x1111111111111111111111111111111111111111"}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "network": "base",
  "tx_hash": "0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
  "expect_amount": "0.002",
  "expect_pay_to": "0x1111111111111111111111111111111111111111"
}

More from Tanod chainpeekProvider status