Retrieve Tron smart contract ABIs via x402-paid API endpoint
What it does
This endpoint, hosted by Erudite Intelligence LLC on the EruditePay Bridge, returns the ABI (Application Binary Interface) for a given Tron smart contract. You POST a JSON body containing the contract address and receive the contract's ABI data in response. The endpoint is gated by the x402 payment protocol (v2), requiring per-call micropayments.
Payment is accepted via two options: USDC on Base (eip155:8453) at 10,000 base units ($0.01) per call, or USDT on Tron (tron:728126428) at 10,000 base units ($0.01) per call. The facilitator for Base payments is Coinbase CDP. The endpoint accepts POST requests with a JSON body containing an `address` field (the Tron contract address) and returns a JSON object with a `success` boolean and a `data` object containing the ABI.
The broader EruditePay Bridge platform is an x402 payment facilitator supporting 20 blockchains, registered as a FinCEN MSB (BSA ID 31000324258137). It operates non-custodially, routing settlements directly. Documentation at docs.eruditepay.com was not reachable during crawl, so detailed API docs beyond the schema embedded in the x402 challenge are unavailable.
Capabilities
Use cases
- —Fetching the ABI of a Tron smart contract to interact with it programmatically
- —Building Tron dApp frontends that need contract interfaces at runtime
- —Automated smart contract analysis and auditing tools that need ABI data
- —Indexing Tron contract ABIs for a blockchain explorer or analytics platform
Fit
Best for
- —Developers building on the Tron blockchain who need contract ABIs on demand
- —Agent workflows that need to decode Tron contract calls or events
- —Applications requiring pay-per-call access to Tron contract metadata without API keys
Not for
- —Retrieving ABIs for non-Tron blockchains (endpoint is Tron-specific)
- —Free or high-volume bulk ABI retrieval (each call costs $0.01)
- —Full contract source code or verification — this returns ABI only
Quick start
curl -X POST https://bridge.eruditepay.com/v1/tron/contract/abi \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"}'Example
Request
{
"address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
}Response
{
"data": {},
"success": true
}Endpoint
Quality
The endpoint is live (402 challenge captured) with a clear schema for input/output, pricing info, and provider identity. However, docs.eruditepay.com was unreachable, the output example is a stub (empty data object), and there is no detailed documentation about what the ABI response actually contains or error handling.
Warnings
- —Documentation site (docs.eruditepay.com) was not crawled and /docs on the bridge returns 404
- —The example output in the x402 challenge shows an empty data object — actual ABI response structure is unknown
- —No OpenAPI spec available for this endpoint
Citations
- —Endpoint returns 402 with x402 v2 challenge requiring payment of 10000 base units USDC on Base or 10000 base units USDT on Tronhttps://bridge.eruditepay.com/v1/tron/contract/abi
- —Provider is Erudite Intelligence LLC, FinCEN MSB registered with BSA ID 31000324258137https://bridge.eruditepay.com
- —EruditePay Bridge supports 20 blockchains and charges 0.5% per settlementhttps://bridge.eruditepay.com
- —Input schema requires a JSON body with an address field described as 'Contract address'https://bridge.eruditepay.com/v1/tron/contract/abi