Base transaction inspection
Inspect Base transaction status and receipt evidence in one call, including success, revert, or pending state, confirmations, actual gas fee, recognized calldata, bounded ERC-20-shaped transfers, and official Base USDC recognition for payment confirmation.
Endpoint
https://apiacre.com/v1/crypto/base-transaction-inspectSend the JSON body below. An unpaid request returns HTTP 402 with a PAYMENT-REQUIRED header; an x402-compatible buyer signs the requirement and retries with PAYMENT-SIGNATURE.
Pay $0.005 USDC and run in your browserOfficial Coinbase agent path
Coinbase Agentic Wallet can satisfy this x402 request in one command. Running it may pay automatically, so --max-amount is fixed to $0.005 USDC in atomic units. Copying the command does not install, authenticate, sign, or pay; review the request and use a separate low-value wallet before running it.
npx --yes awal@latest x402 pay https://apiacre.com/v1/crypto/base-transaction-inspect \
-X POST \
-d '{"transaction_hash":"0x2222222222222222222222222222222222222222222222222222222222222222"}' \
--max-amount 5000 \
--jsonCoinbase pay-for-service documentation · Buyer setup and wallet safety
Alternative third-party AgentCash commands
Run check first without payment. Its fetch command may automatically pay up to the exact listed price.
npx --yes agentcash@latest check https://apiacre.com/v1/crypto/base-transaction-inspect
npx --yes agentcash@latest fetch https://apiacre.com/v1/crypto/base-transaction-inspect \
--method POST \
--header 'content-type: application/json' \
--body '{"transaction_hash":"0x2222222222222222222222222222222222222222222222222222222222222222"}' \
--payment-protocol x402 \
--payment-network base \
--max-amount 0.005Input example
{
"transaction_hash": "0x2222222222222222222222222222222222222222222222222222222222222222"
}Response shape
{
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "crypto.base-transaction-inspect",
"version": "1",
"data": {
"network": "eip155:8453",
"transactionHash": "0x2222222222222222222222222222222222222222222222222222222222222222",
"found": true,
"mined": true,
"outcome": "success",
"observedAtBlock": 34567894,
"block": {
"number": 34567890,
"hash": "0x3333333333333333333333333333333333333333333333333333333333333333",
"timestamp": "2026-08-10T16:00:00+00:00",
"transactionIndex": 7,
"confirmations": 5
},
"transaction": {
"from": "0x1111111111111111111111111111111111111111",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"nonce": 42,
"value": {
"wei": "0",
"eth": "0"
},
"gasLimit": 65000,
"gasPriceWei": "10000000",
"maxFeePerGasWei": "20000000",
"maxPriorityFeePerGasWei": "1000000",
"type": 2,
"inputBytes": 68,
"methodSelector": "0xa9059cbb",
"standardCall": {
"status": "decoded",
"selector": "0xa9059cbb",
"candidateSignatures": [
"transfer(address,uint256)"
],
"decode": {
"function": "transfer",
"signature": "transfer(address,uint256)",
"canonicalSignature": "transfer(address,uint256)",
"signatureSource": "built_in_standard",
"selector": "0xa9059cbb",
"selectorPresent": true,
"inputMode": "selector_and_arguments",
"types": [
"address",
"uint256"
],
"values": [
"0x1111111111111111111111111111111111111111",
42
],
"arguments": [
{
"index": 0,
"type": "address",
"value": "0x1111111111111111111111111111111111111111"
},
{
"index": 1,
"type": "uint256",
"value": 42
}
],
"resolution": {
"method": "built_in_standard",
"signatureProvided": false,
"candidateCount": 1,
"candidates": [
"transfer(address,uint256)"
],
"matchedStandards": [
"ERC-20"
],
"standardReferences": [
{
"standard": "ERC-20",
"url": "https://eips.ethereum.org/EIPS/eip-20"
}
],
"builtInSignatureCount": 29,
"registryComplete": false,
"networkRequestsMade": false,
"version": "apiacre-standard-selectors/1"
},
"warnings": [
"Selector resolution is limited to 29 published standard signatures; four-byte selectors are not globally unique."
],
"encoding": {
"calldataBytes": 68,
"argumentBytes": 64,
"calldataSha256": "f77b5da6ef3efa41f5084d653dc4a135a3978d541db97ce13225bd442b025198",
"argumentsSha256": "d3458da251349437abe3549042a49868dc5528422a63bb815f3e0b46725052c9",
"canonical": true
}
}
}
},
"receipt": {
"status": 1,
"outcome": "success",
"gasUsed": 51234,
"effectiveGasPriceWei": "10000000",
"cumulativeGasUsed": 2100000,
"actualFee": {
"wei": "512340000000",
"eth": "0.00000051234"
},
"contractAddress": null,
"logsCount": 1,
"tokenTransfers": {
"eventSignature": "Transfer(address,address,uint256)",
"topic0": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"detected": 1,
"returned": 1,
"truncated": false,
"officialBaseUsdcDetected": 1,
"events": [
{
"logIndex": 12,
"contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"from": "0x1111111111111111111111111111111111111111",
"to": "0x2222222222222222222222222222222222222222",
"valueAtomic": "42000000",
"officialBaseUsdc": true,
"valueFormatted": "42"
}
],
"method": "receipt log shape only; no token contract calls",
"source": "https://eips.ethereum.org/EIPS/eip-20",
"limitations": [
"Only logs with exactly three topics and one 32-byte value are decoded; ERC-721 Transfer logs are excluded.",
"Non-USDC token metadata, decimals, and ERC-20 conformance are not queried; their values remain atomic."
]
}
},
"explorerUrl": "https://basescan.org/tx/0x2222222222222222222222222222222222222222222222222222222222222222",
"source": "https://docs.base.org/base-chain/quickstart/connecting-to-base",
"disclaimer": "Public Base mainnet execution data only; no identity, ownership, intent, counterparty quality, or transaction-safety conclusion is provided."
},
"meta": {
"duration_ms": 42,
"cached": false,
"sources": [],
"warnings": [],
"next_actions": []
}
}Try the payment challenge
curl -i -X POST 'https://apiacre.com/v1/crypto/base-transaction-inspect' \
-H 'content-type: application/json' \
--data '{"transaction_hash":"0x2222222222222222222222222222222222222222222222222222222222222222"}'