71trust / 100

Chain Transfer Fees

by Tanod chainpeek in Onchain & crypto

x402 APIPassing, checked 3 h ago

chainpeek (Tanod) USDC or USDT transfer fee compared across Base, Polygon, Ethereum, BNB Chain, Arbitrum and Solana, ranked cheapest first, in native units and USD. Use when an agent must pick the cheapest chain to send USDC or USDT: ranks Base, Polygon, Ethereum, BNB, Arbitrum, Solana.

POST https://tanod.dev/v1/chain/transfer-fees

Last 30 days

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

Uptime
100%
Response time
1.0 s typical, 1.0 s slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

POST https://tanod.dev/v1/chain/transfer-fees

Each call costs $0.002 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://tanod.dev/v1/chain/transfer-fees
content-type: application/json

{
  "token": "USDC"
}

Parameters

ParameterTypeRequiredDescription
amountnumberNoTransfer size (default 100). Informational only: an ERC-20 or SPL transfer fee does not depend on the amount. Default: 100.
chainsarray of string or nullNoChains to compare: base, polygon, ethereum, bnb, arbitrum, solana. Default: all six. Default: null.
tokenstringNoUSDC (default) or USDT. One of: USDC, USDT. Default: "USDC".

Example response

The provider's example. We can't check it without paying.

Example response, 61 lines
{
  "amount": 100,
  "amount_note": "informational: an ERC-20 or SPL transfer fee does not depend on the amount",
  "assumptions": [
    "EVM chains: 65,000 gas units for one ERC-20 transfer to a funded recipient (the standard figure, not measured per chain); the fee does not depend on the amount.",
    "EVM fee = gas units x the node's current gas price (base fee + priority fee); Base's small L1 data fee is not included.",
    "Solana: 5,000 lamports for one signature plus the median recent priority fee over 30,000 compute units; creating the recipient's token account would add rent (…"
  ],
  "cached_for_s": 15,
  "cheapest": "solana",
  "fetched_at": "2026-10-13T09:33:29Z",
  "results": [
    {
      "base_fee_gwei": null,
      "chain": "solana",
      "chain_id": null,
      "decimals": 6,
      "fee_native": "0.000005",
      "fee_usd": 0.000535436,
      "gas_price_gwei": null,
      "gas_units": null,
      "name": "Solana",
      "native_symbol": "SOL",
      "native_usd": 107.087,
      "native_usd_source": "Pyth SOL/USD on Solana",
      "priority_fee_gwei": null,
      "solana": {
        "ata_note": "A recipient with no token account for this mint needs one created; the sender then also pays this one-time rent (recipient_ata_rent_*; refundable only when tha…",
        "base_fee_lamports": 5000,
        "compute_unit_limit": 30000,
        "priority_fee_lamports": 0,
        "priority_micro_lamports_per_cu": 0,
        "recipient_ata_rent_lamports": 1488440,
        "recipient_ata_rent_sol": "0.00148844",
        "recipient_ata_rent_usd": 0.159393,
        "total_fee_lamports": 5000
      },
      "token": "USDC",
      "token_contract": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    },
    {
      "base_fee_gwei": "0.005",
      "chain": "base",
      "chain_id": 8453,
      "decimals": 6,
      "fee_native": "0.00000039",
      "fee_usd": 0.000975797,
      "gas_price_gwei": "0.006",
      "gas_units": 65000,
      "name": "Base",
      "native_symbol": "ETH",
      "native_usd": 2502.04,
      "native_usd_source": "Chainlink ETH/USD (Ethereum, else Base)",
      "priority_fee_gwei": "0.001",
      "solana": null,
      "token": "USDC",
      "token_contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    }
  ],
  "token": "USDC"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://tanod.dev/v1/chain/transfer-fees' \
  -H 'content-type: application/json' \
  --data-raw '{"token":"USDC"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://tanod.dev/v1/chain/transfer-fees' \
  -H 'content-type: application/json' \
  --data-raw '{"token":"USDC"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftanod.dev%2Fv1%2Fchain%2Ftransfer-fees&method=POST
const res = await pay("https://tanod.dev/v1/chain/transfer-fees", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "token": "USDC"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://tanod.dev/v1/chain/transfer-fees",
        json={
            "token": "USDC",
        },
    )
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4021.0 s$0.002
7 h agoPassed4021.0 s$0.002
16 h agoPassed402273 ms$0.002