UNPKG

viem

Version:

TypeScript Interface for Ethereum

20 lines (18 loc) 460 B
import { defineChain } from '../../utils/chain/defineChain.js' export const tron = /*#__PURE__*/ defineChain({ id: 728126428, name: 'Tron', nativeCurrency: { name: 'TRON', symbol: 'TRX', decimals: 6 }, rpcUrls: { default: { http: ['https://api.trongrid.io/jsonrpc'], }, }, blockExplorers: { default: { name: 'Tronscan', url: 'https://tronscan.org', apiUrl: 'https://apilist.tronscanapi.com/api', }, }, })