Decode and explain any EVM transaction across 11 chains — a human-readable read of swaps, transfers, approvals and DeFi actions.
curl --request POST \
--url https://x402.ottoai.services/tx-explainer \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "<string>",
"chain": "<string>"
}
'import requests
url = "https://x402.ottoai.services/tx-explainer"
payload = {
"txHash": "<string>",
"chain": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '<string>', chain: '<string>'})
};
fetch('https://x402.ottoai.services/tx-explainer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://x402.ottoai.services/tx-explainer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'txHash' => '<string>',
'chain' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://x402.ottoai.services/tx-explainer"
payload := strings.NewReader("{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://x402.ottoai.services/tx-explainer")
.header("Content-Type", "application/json")
.body("{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/tx-explainer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}AI Research & Tools
POST /tx-explainer
Decode and explain any EVM blockchain transaction across 11 chains (Base, Ethereum, Arbitrum, Optimism, Avalanche, Polygon, Mantle, Monad, Plasma, BSC, Hyperliquid). Get a human-readable summary of swaps, transfers, approvals, DeFi interactions, and more.
POST
/
tx-explainer
Decode and explain any EVM transaction across 11 chains — a human-readable read of swaps, transfers, approvals and DeFi actions.
curl --request POST \
--url https://x402.ottoai.services/tx-explainer \
--header 'Content-Type: application/json' \
--data '
{
"txHash": "<string>",
"chain": "<string>"
}
'import requests
url = "https://x402.ottoai.services/tx-explainer"
payload = {
"txHash": "<string>",
"chain": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({txHash: '<string>', chain: '<string>'})
};
fetch('https://x402.ottoai.services/tx-explainer', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://x402.ottoai.services/tx-explainer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'txHash' => '<string>',
'chain' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://x402.ottoai.services/tx-explainer"
payload := strings.NewReader("{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://x402.ottoai.services/tx-explainer")
.header("Content-Type", "application/json")
.body("{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://x402.ottoai.services/tx-explainer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"txHash\": \"<string>\",\n \"chain\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "success",
"data": {}
}Price: 0.01 USDC per call, paid on Base or Solana.
Fill in the required fields and send this request without payment to get the live price quote. The API answers
402 and lists the price, network and token in accepts. To pay, follow Your first paid call.Body
application/json
Was this page helpful?
