{
  "x402Version": 2,
  "id": 72578,
  "slug": "saylorinnovations-api-crypto-tx-explain",
  "resource": "https://saylorinnovations.com/api/crypto/tx-explain",
  "description": "Decode EVM calldata into plain English: ERC-20, NFT, Uniswap, Aave and permit calls, with risk flags for unlimited approvals, setApprovalForAll and proxy upgrades.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "chain": {
        "type": [
          "string",
          "null"
        ],
        "description": "Blockchain the data is for"
      },
      "to": {
        "type": [
          "string",
          "null"
        ],
        "description": "End of the range"
      },
      "to_label": {
        "type": [
          "string",
          "null"
        ],
        "description": "To label"
      },
      "to_kind": {
        "type": [
          "string",
          "null"
        ],
        "description": "To kind"
      },
      "value_wei": {
        "type": "string",
        "description": "Value wei"
      },
      "value_native": {
        "type": "number",
        "description": "Value native"
      },
      "native_symbol": {
        "type": "string",
        "description": "Native symbol"
      },
      "selector": {
        "type": [
          "string",
          "null"
        ]
      },
      "known_function": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "Known function"
      },
      "decoded": {
        "type": [
          "object",
          "null"
        ]
      },
      "summary": {
        "type": "string",
        "description": "Short summary"
      },
      "risk_level": {
        "type": "string",
        "description": "Risk level"
      },
      "risks": {
        "type": "array"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "value_wei",
      "value_native",
      "native_symbol",
      "summary",
      "risk_level",
      "risks",
      "note",
      "source"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "chain": "ethereum",
            "data": "0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
            "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "chain": "ethereum",
            "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "to_label": "USDT (Ethereum)",
            "to_kind": "contract",
            "value_wei": "0",
            "value_native": 0,
            "native_symbol": "ETH",
            "selector": "0x095ea7b3",
            "known_function": true,
            "decoded": {
              "selector": "0x095ea7b3",
              "known": true,
              "function": "approve(address,uint256)",
              "label": "ERC-20/ERC-721 approve",
              "args": [
                "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
                "115792089237316195423570985008687907853269984665640564039457584007913129639935"
              ],
              "spender": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
              "spender_label": "Uniswap V2 Router02",
              "amount_base_units": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
              "unlimited": true,
              "is_revoke": false,
              "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer",
              "risks": [
                {
                  "code": "unlimited_approval",
                  "severity": "high",
                  "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
                }
              ]
            },
            "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer (to USDT (Ethereum))",
            "risk_level": "high",
            "risks": [
              {
                "code": "unlimited_approval",
                "severity": "high",
                "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
              }
            ],
            "note": "Decoded offline from a built-in table of common functions (ERC-20/721/1155, WETH, Uniswap V2/V3, Permit2-style permits, Aave, ownership and proxy upgrades). Unknown selectors are reported as unknown,…",
            "source": "Computed locally from calldata; optional public JSON-RPC read of the target address when chain is given"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "optional: ethereum, base, arbitrum, optimism, polygon, bsc or avalanche; adds a contract-vs-account check on the destination"
                  },
                  "data": {
                    "type": "string",
                    "description": "optional calldata as 0x hex; omit for a plain transfer"
                  },
                  "to": {
                    "type": "string",
                    "description": "the contract or recipient address (0x...)"
                  }
                },
                "required": [
                  "to"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "chain": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Blockchain the data is for"
                  },
                  "to": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "End of the range"
                  },
                  "to_label": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "To label"
                  },
                  "to_kind": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "To kind"
                  },
                  "value_wei": {
                    "type": "string",
                    "description": "Value wei"
                  },
                  "value_native": {
                    "type": "number",
                    "description": "Value native"
                  },
                  "native_symbol": {
                    "type": "string",
                    "description": "Native symbol"
                  },
                  "selector": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "known_function": {
                    "type": [
                      "boolean",
                      "null"
                    ],
                    "description": "Known function"
                  },
                  "decoded": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "summary": {
                    "type": "string",
                    "description": "Short summary"
                  },
                  "risk_level": {
                    "type": "string",
                    "description": "Risk level"
                  },
                  "risks": {
                    "type": "array"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "value_wei",
                  "value_native",
                  "native_symbol",
                  "summary",
                  "risk_level",
                  "risks",
                  "note",
                  "source"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "decode transaction calldata",
    "explain evm transaction",
    "unlimited approval check",
    "pre-sign transaction review",
    "what does this transaction do"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.964Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "optional: ethereum, base, arbitrum, optimism, polygon, bsc or avalanche; adds a contract-vs-account check on the destination"
        },
        "data": {
          "type": "string",
          "description": "optional calldata as 0x hex; omit for a plain transfer"
        },
        "to": {
          "type": "string",
          "description": "the contract or recipient address (0x...)"
        }
      },
      "required": [
        "to"
      ]
    },
    "exampleResponse": {
      "chain": "ethereum",
      "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
      "to_label": "USDT (Ethereum)",
      "to_kind": "contract",
      "value_wei": "0",
      "value_native": 0,
      "native_symbol": "ETH",
      "selector": "0x095ea7b3",
      "known_function": true,
      "decoded": {
        "selector": "0x095ea7b3",
        "known": true,
        "function": "approve(address,uint256)",
        "label": "ERC-20/ERC-721 approve",
        "args": [
          "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
          "115792089237316195423570985008687907853269984665640564039457584007913129639935"
        ],
        "spender": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
        "spender_label": "Uniswap V2 Router02",
        "amount_base_units": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
        "unlimited": true,
        "is_revoke": false,
        "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer",
        "risks": [
          {
            "code": "unlimited_approval",
            "severity": "high",
            "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
          }
        ]
      },
      "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer (to USDT (Ethereum))",
      "risk_level": "high",
      "risks": [
        {
          "code": "unlimited_approval",
          "severity": "high",
          "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
        }
      ],
      "note": "Decoded offline from a built-in table of common functions (ERC-20/721/1155, WETH, Uniswap V2/V3, Permit2-style permits, Aave, ownership and proxy upgrades). Unknown selectors are reported as unknown,…",
      "source": "Computed locally from calldata; optional public JSON-RPC read of the target address when chain is given"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "chain": "ethereum",
              "data": "0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
              "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "chain": "ethereum",
              "to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
              "to_label": "USDT (Ethereum)",
              "to_kind": "contract",
              "value_wei": "0",
              "value_native": 0,
              "native_symbol": "ETH",
              "selector": "0x095ea7b3",
              "known_function": true,
              "decoded": {
                "selector": "0x095ea7b3",
                "known": true,
                "function": "approve(address,uint256)",
                "label": "ERC-20/ERC-721 approve",
                "args": [
                  "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
                  "115792089237316195423570985008687907853269984665640564039457584007913129639935"
                ],
                "spender": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
                "spender_label": "Uniswap V2 Router02",
                "amount_base_units": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
                "unlimited": true,
                "is_revoke": false,
                "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer",
                "risks": [
                  {
                    "code": "unlimited_approval",
                    "severity": "high",
                    "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
                  }
                ]
              },
              "summary": "Approves Uniswap V2 Router02 to spend UNLIMITED amounts of this token from the signer (to USDT (Ethereum))",
              "risk_level": "high",
              "risks": [
                {
                  "code": "unlimited_approval",
                  "severity": "high",
                  "message": "Unlimited token approval: the spender can move the entire balance now and in future. Prefer an exact amount, and revoke when done."
                }
              ],
              "note": "Decoded offline from a built-in table of common functions (ERC-20/721/1155, WETH, Uniswap V2/V3, Permit2-style permits, Aave, ownership and proxy upgrades). Unknown selectors are reported as unknown,…",
              "source": "Computed locally from calldata; optional public JSON-RPC read of the target address when chain is given"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": "string",
                      "description": "optional: ethereum, base, arbitrum, optimism, polygon, bsc or avalanche; adds a contract-vs-account check on the destination"
                    },
                    "data": {
                      "type": "string",
                      "description": "optional calldata as 0x hex; omit for a plain transfer"
                    },
                    "to": {
                      "type": "string",
                      "description": "the contract or recipient address (0x...)"
                    }
                  },
                  "required": [
                    "to"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "chain": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Blockchain the data is for"
                    },
                    "to": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "End of the range"
                    },
                    "to_label": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "To label"
                    },
                    "to_kind": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "To kind"
                    },
                    "value_wei": {
                      "type": "string",
                      "description": "Value wei"
                    },
                    "value_native": {
                      "type": "number",
                      "description": "Value native"
                    },
                    "native_symbol": {
                      "type": "string",
                      "description": "Native symbol"
                    },
                    "selector": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "known_function": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Known function"
                    },
                    "decoded": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "summary": {
                      "type": "string",
                      "description": "Short summary"
                    },
                    "risk_level": {
                      "type": "string",
                      "description": "Risk level"
                    },
                    "risks": {
                      "type": "array"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "value_wei",
                    "value_native",
                    "native_symbol",
                    "summary",
                    "risk_level",
                    "risks",
                    "note",
                    "source"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/crypto/tx-explain?chain=ethereum&to=0xdAC17F958D2ee523a2206206994597C13D831ec7&data=0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "chain": "string",
    "to": "string",
    "to_label": "string",
    "to_kind": "string",
    "value_wei": "string",
    "value_native": 0,
    "native_symbol": "string",
    "selector": "string",
    "known_function": true,
    "decoded": {},
    "summary": "string",
    "risk_level": "string",
    "risks": [
      "value"
    ],
    "note": "string",
    "source": "string"
  }
}