{
  "x402Version": 2,
  "id": 30667,
  "slug": "30667",
  "resource": "https://preflight402.com/v1/evm/tx-inspect",
  "description": "Call before signing an Ethereum or Base transaction or calldata. Decodes raw transaction bytes or contract calldata against standard interfaces (ERC-20, ERC-721, ERC-1155, WETH, EIP-2612 Permit and Permit2) in memory. Returns the decoded method signature, typed parameters, value in wei and standard specification links. Mechanical byte decoding only: never simulates state or advises whether to sign.",
  "type": "http",
  "serviceName": "Preflight",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xB9Db3966C7F18283624C97E860a84CEf7f9ba607",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "calldata": "0xa9059cbb000000000000000000000000222222222222222222222222222222222222222200000000000000000000000000000000000000000000000000000000000f4240",
            "network": "base",
            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "arguments": [
              {
                "name": "to",
                "type": "address",
                "value": "0x2222222222222222222222222222222222222222"
              },
              {
                "name": "amount",
                "type": "uint256",
                "value": "1000000"
              }
            ],
            "chain_id": 8453,
            "decode_status": "decoded",
            "input_kind": "calldata",
            "method_signatures": [
              "transfer(address to, uint256 amount)"
            ],
            "network": "base",
            "official_url": "https://eips.ethereum.org/EIPS/eip-20",
            "selector": "0xa9059cbb",
            "standard_urls": [
              "https://eips.ethereum.org/EIPS/eip-20"
            ],
            "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
            "transaction_type": null,
            "value_wei": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "calldata": {
                    "pattern": "^0x([0-9a-fA-F]{2})*$",
                    "type": "string"
                  },
                  "network": {
                    "enum": [
                      "ethereum",
                      "base"
                    ],
                    "type": "string"
                  },
                  "raw_tx": {
                    "pattern": "^0x([0-9a-fA-F]{2})*$",
                    "type": "string"
                  },
                  "to": {
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "network"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "s": [
          "cdp_sdk_server"
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "eip2612GasSponsoring": {},
    "erc20ApprovalGasSponsoring": {}
  },
  "tags": [
    "ethereum",
    "base",
    "evm",
    "crypto",
    "smart-contracts",
    "bazaar",
    "builder-code",
    "eip2612GasSponsoring",
    "erc20ApprovalGasSponsoring"
  ],
  "sourceHost": "preflight402.com",
  "lastUpdated": "2026-10-08T05:36:26.353Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T05:36:25.651Z"
  },
  "metadata": {
    "serviceName": "Preflight",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "calldata": "0xa9059cbb000000000000000000000000222222222222222222222222222222222222222200000000000000000000000000000000000000000000000000000000000f4240",
              "network": "base",
              "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "arguments": [
                {
                  "name": "to",
                  "type": "address",
                  "value": "0x2222222222222222222222222222222222222222"
                },
                {
                  "name": "amount",
                  "type": "uint256",
                  "value": "1000000"
                }
              ],
              "chain_id": 8453,
              "decode_status": "decoded",
              "input_kind": "calldata",
              "method_signatures": [
                "transfer(address to, uint256 amount)"
              ],
              "network": "base",
              "official_url": "https://eips.ethereum.org/EIPS/eip-20",
              "selector": "0xa9059cbb",
              "standard_urls": [
                "https://eips.ethereum.org/EIPS/eip-20"
              ],
              "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "transaction_type": null,
              "value_wei": null
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "calldata": {
                      "pattern": "^0x([0-9a-fA-F]{2})*$",
                      "type": "string"
                    },
                    "network": {
                      "enum": [
                        "ethereum",
                        "base"
                      ],
                      "type": "string"
                    },
                    "raw_tx": {
                      "pattern": "^0x([0-9a-fA-F]{2})*$",
                      "type": "string"
                    },
                    "to": {
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "network"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "s": [
            "cdp_sdk_server"
          ]
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "eip2612GasSponsoring": {},
      "erc20ApprovalGasSponsoring": {}
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "preflight402.com",
    "manifest_name": "preflight402.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}