Skip to content
Fourohtwo

mcp.naxytra.com/mcp/http402/abi.encode

ABI-encode values (MCP tool "abi.encode"), $0.01 USDC per call on Base mainnet ($0.001 on Base Sepolia), paid with x402; charged only if the call succeeds. Solidity ABI encoding (like abi.encode): address, bool, uint8-256, int8-256, bytes1-32, bytes, string, dynamic T[] and fixed T[k] arrays, and tuples written (uint256,address), nested to any depth. Strict: exact 20-byte (checksum-valid) addresse

BaseBase SepoliaAnswering
POSThttps://mcp.naxytra.com/mcp/http402/abi.encode

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mcp.naxytra.com/mcp/http402/abi.encode", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"types":["address","uint256"],"values":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","1000000"]},"name":"abi.encode"}}),
});
console.log(await res.json());

Example input

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "types": [
        "address",
        "uint256"
      ],
      "values": [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "1000000"
      ]
    },
    "name": "abi.encode"
  }
}

More from naxytraProvider status