ethereum
constethereum:object
Defined in: src/chains/ethereum.ts:14
Ethereum mainnet — priority 4 production chain (institutional use cases).
Casper FFG finalises in epochs (~12.8 min). defaultConfirmations of 32
(~6.4 min at ~12 s blocks) gives finalised-grade safety. Do NOT use
Polygon’s 4 here — 4 blocks (~48 s) is nowhere near finalised, and would
re-open the settle-reorg gap (threat 2.8). The facilitator auto-sizes
receiptTimeoutMs from this depth (~10 min), so the default does not time
out. JPYC is live at the same address as the other chains.
Type Declaration
blockExplorers
blockExplorers:
object
blockExplorers.default
readonlydefault:object
blockExplorers.default.apiUrl
readonlyapiUrl:"https://api.etherscan.io/api"
blockExplorers.default.name
readonlyname:"Etherscan"
blockExplorers.default.url
readonlyurl:"https://etherscan.io"
blockTime
blockTime:
12000
blockTimeMs
blockTimeMs:
number=12_000
contracts
contracts:
object
contracts.ensUniversalResolver
readonlyensUniversalResolver:object
contracts.ensUniversalResolver.address
readonlyaddress:"0xeeeeeeee14d718c2b47d9923deab1335e144eeee"
contracts.ensUniversalResolver.blockCreated
readonlyblockCreated:23085558
contracts.multicall3
readonlymulticall3:object
contracts.multicall3.address
readonlyaddress:"0xca11bde05977b3631167028862be2a173976ca11"
contracts.multicall3.blockCreated
readonlyblockCreated:14353601
custom?
optionalcustom?:Record<string,unknown>
defaultConfirmations
defaultConfirmations:
number=32
ensTlds?
optionalensTlds?: readonlystring[]
experimental_preconfirmationTime?
optionalexperimental_preconfirmationTime?:number
extendSchema?
optionalextendSchema?:Record<string,unknown>
fees?
optionalfees?:ChainFees<undefined>
formatters?
optionalformatters?:undefined
id
id:
1
isTestnet
isTestnet:
false=false
name
name:
"Ethereum"
nativeCurrency
nativeCurrency:
object
nativeCurrency.decimals
readonlydecimals:18
nativeCurrency.name
readonlyname:"Ether"
nativeCurrency.symbol
readonlysymbol:"ETH"
prepareTransactionRequest?
optionalprepareTransactionRequest?: ((args,options) =>Promise<PrepareTransactionRequestParameters<Chain|undefined,Account|undefined,Chain|undefined,`0x${string}`|Account|undefined,PrepareTransactionRequestRequest<Chain|undefined,Chain|undefined,Chain|undefined>>>) | [(args,options) =>Promise<PrepareTransactionRequestParameters<Chain|undefined,Account|undefined,Chain|undefined,`0x${string}`|Account|undefined,PrepareTransactionRequestRequest<Chain|undefined,Chain|undefined,Chain|undefined>>>,object]
rpcUrls
rpcUrls:
object
rpcUrls.default
readonlydefault:object
rpcUrls.default.http
readonlyhttp: readonly ["https://eth.merkle.io"]
serializers?
optionalserializers?:ChainSerializers<undefined,TransactionSerializable<bigint,number>>
sourceId?
optionalsourceId?:number
testnet?
optionaltestnet?:boolean
verifyHash?
optionalverifyHash?: (client,parameters) =>Promise<boolean>
Parameters
client
Client<Transport, Chain | undefined, Account | undefined, undefined, {[key: string]: unknown; account?: undefined; batch?: undefined; cacheTime?: undefined; ccipRead?: undefined; chain?: undefined; dataSuffix?: undefined; experimental_blockTag?: undefined; key?: undefined; name?: undefined; pollingInterval?: undefined; request?: undefined; transport?: undefined; type?: undefined; uid?: undefined; } | undefined>
parameters
VerifyHashParameters
Returns
Promise<boolean>