B

Base Transaction · Base TX

by Base Transaction

GETBase

$0.002

per call · USD Coin on Base

🆕 A Base transaction by hash, unedited: from, to, value in wei and ETH, nonce, gas, fee caps, type, and the 4-byte method selector with the calldata size. Flags a contract creation (null to) and a still-pending transaction (null block) rather than leaving you to infer either. Unknown hashes answer found:false, not an error.

Endpoint

GET https://402.com.tr/api/x402/base-tx

3

Calls / 30d

1

Unique payers / 30d

Aug 24

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://402.com.tr/api/x402/base-tx", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://402.com.tr/api/x402/base-tx?hash=0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "blockNumber": 49707346,
  "chain": "base",
  "checkedAt": "2026-08-16T16:54:06.183Z",
  "found": true,
  "from": "0xE74817F4cDC15844314812B2271276E64e890fAE",
  "gas": "95892",
  "gasPriceWei": "6250000",
  "hasCalldata": true,
  "hash": "0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e",
  "inputBytes": 325,
  "isContractCreation": false,
  "maxFeePerGasWei": "26250000",
  "methodSelector": "0xe3ee160e",
  "nonce": 1118475,
  "pending": false,
  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "type": "eip1559",
  "valueEth": "0",
  "valueWei": "0"
}

Payment details

Pay to0x973a31858f4d2125f48c880542da11a2796f12d6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Base Transaction & similar services