Decode a Base transaction's calldata into a human-readable function call and arguments — E
Decode a Base transaction's calldata into a human-readable function call and arguments — ERC-20 transfer/approve and the EIP-3009 transferWithAuthorization used by x402 settlements. Recognizes x402 settlement transactions.
3000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-18
updated
Provider
quartermaster.surewhynot.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x5253666c40432f009ebd99908b9cd2a7fd1019cb",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "3000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FgcKNzsBXSEHGNZNWetPsjXiBZk1WFoU6sF2zVsnzXfa",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "3000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"hash": "0x06be01596be1cb68d9b12a33946d2228a82eeb31016ab237825cec547017095f"
},
"type": "http"
},
"output": {
"example": {
"decoded_args": [
{
"name": "from",
"type": "address",
"value": "0x8872...3F9b"
},
{
"name": "to",
"type": "address",
"value": "0xc2a3...4083"
},
{
"formatted": "0.002 USDC",
"name": "value",
"type": "uint256",
"value": "2000"
}
],
"explorer": "https://basescan.org/tx/0x06be...095f",
"hash": "0x06be...095f",
"interpretation": "USDC transferWithAuthorization of 0.002 USDC (x402 settlement)",
"is_x402_settlement": true,
"method": {
"name": "transferWithAuthorization",
"selector": "0xe3ee160e",
"source": "known"
},
"network": "base",
"to": "0x8335...2913"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"hash": {
"description": "Base transaction hash to decode",
"pattern": "^0x[0-9a-fA-F]{64}$",
"type": "string"
}
},
"required": [
"hash"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://quartermaster.surewhynot.app/v1/tx-decode" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://quartermaster.surewhynot.app/v1/tx-decode");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://quartermaster.surewhynot.app/v1/tx-decode")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/640.json, and this resource appears in /discovery/resources and /discovery/search.