@eth-optimism/viem • Docs
@eth-optimism/viem / chains / ethernitySepolia
const
ethernitySepolia:object
Chain Definition for Ethernity Testnet
blockExplorers:
object
Collection of block explorers
readonly
default:object
readonly
name:"Ethernity Testnet Explorer"
='Ethernity Testnet Explorer'
readonly
url:"https://testnet.ernscan.io"
='https://testnet.ernscan.io'
contracts:
object
Collection of contracts
readonly
disputeGameFactory:object
readonly
11155111:object
readonly
address:"0x64d0Bce6eD7c16CAC7817F3597758E31AFacD01B"
='0x64d0Bce6eD7c16CAC7817F3597758E31AFacD01B'
readonly
gasPriceOracle:object
readonly
address:"0x420000000000000000000000000000000000000F"
readonly
l1Block:object
readonly
address:"0x4200000000000000000000000000000000000015"
readonly
l1CrossDomainMessenger:object
readonly
11155111:object
readonly
address:"0x1c8b6a6F3E3612c79E62460a6e44C24D1EfF2FDa"
='0x1c8b6a6F3E3612c79E62460a6e44C24D1EfF2FDa'
readonly
l1Erc721Bridge:object
readonly
11155111:object
readonly
address:"0xBf0D43e12eF74dC21917e1D6175702AD673e1283"
='0xBf0D43e12eF74dC21917e1D6175702AD673e1283'
readonly
l1StandardBridge:object
readonly
11155111:object
readonly
address:"0xFd1a12b7a04B13c031d8b075BA5b9080a2CF246f"
='0xFd1a12b7a04B13c031d8b075BA5b9080a2CF246f'
readonly
l2CrossDomainMessenger:object
readonly
address:"0x4200000000000000000000000000000000000007"
readonly
l2Erc721Bridge:object
readonly
address:"0x4200000000000000000000000000000000000014"
readonly
l2OutputOracle:object
readonly
11155111:object
readonly
address:"0x11118536F94Bc7C98bBaf9194bE13FC1987293cd"
='0x11118536F94Bc7C98bBaf9194bE13FC1987293cd'
readonly
l2StandardBridge:object
readonly
address:"0x4200000000000000000000000000000000000010"
readonly
l2ToL1MessagePasser:object
readonly
address:"0x4200000000000000000000000000000000000016"
readonly
portal:object
readonly
11155111:object
readonly
address:"0x1F24d471Ef7291c7F97DBD2f76299b30D3e3B6E3"
='0x1F24d471Ef7291c7F97DBD2f76299b30D3e3B6E3'
readonly
systemConfig:object
readonly
11155111:object
readonly
address:"0x7C957fec1F6B3d1024442E989cB08b8f2285686C"
='0x7C957fec1F6B3d1024442E989cB08b8f2285686C'
optional
custom:Record
<string
,unknown
>
Custom chain data.
optional
fees:ChainFees
<undefined
>
Modifies how fees are derived.
readonly
formatters:object
Modifies how data is formatted and typed (e.g. blocks and transactions)
readonly
block:object
exclude:
undefined
| []
format: (
args
) =>object
• args: OpStackRpcBlock
<BlockTag
, boolean
>
object
baseFeePerGas:
null
|bigint
blobGasUsed:
bigint
difficulty:
bigint
excessBlobGas:
bigint
extraData: `0x${string}`
gasLimit:
bigint
gasUsed:
bigint
hash:
null
| `0x${string}`
logsBloom:
null
| `0x${string}`
miner: `0x${string}`
mixHash: `0x${string}`
nonce:
null
| `0x${string}`
number:
null
|bigint
parentHash: `0x${string}`
receiptsRoot: `0x${string}`
sealFields: `0x${string}`[]
sha3Uncles: `0x${string}`
size:
bigint
stateRoot: `0x${string}`
timestamp:
bigint
totalDifficulty:
null
|bigint
transactions: `0x${string}`[] |
OpStackTransaction
<boolean
>[]
transactionsRoot: `0x${string}`
uncles: `0x${string}`[]
optional
withdrawals:Withdrawal
[]
optional
withdrawalsRoot: `0x${string}`
type:
"block"
readonly
transaction:object
exclude:
undefined
| []
format: (
args
) =>object
|object
|object
|object
|object
• args: OpStackRpcTransaction
<boolean
>
object
| object
| object
| object
| object
type:
"transaction"
readonly
transactionReceipt:object
exclude:
undefined
| []
format: (
args
) =>object
• args: OpStackRpcTransactionReceipt
object
optional
blobGasPrice:bigint
optional
blobGasUsed:bigint
blockHash: `0x${string}`
blockNumber:
bigint
contractAddress:
undefined
|null
| `0x${string}`
cumulativeGasUsed:
bigint
effectiveGasPrice:
bigint
from: `0x${string}`
gasUsed:
bigint
l1Fee:
null
|bigint
l1FeeScalar:
null
|number
l1GasPrice:
null
|bigint
l1GasUsed:
null
|bigint
logs:
Log
<bigint
,number
,false
,undefined
,undefined
,undefined
,undefined
>[]
logsBloom: `0x${string}`
optional
root: `0x${string}`
status:
"success"
|"reverted"
to:
null
| `0x${string}`
transactionHash: `0x${string}`
transactionIndex:
number
type:
TransactionType
type:
"transactionReceipt"
id:
233
ID in number form
name:
"Ethernity Testnet"
Human-readable name
nativeCurrency:
object
Currency used by chain
readonly
decimals:18
=18
readonly
name:"Ether"
='Ether'
readonly
symbol:"ETH"
='ETH'
rpcUrls:
object
Collection of RPC endpoints
readonly
default:object
readonly
http: readonly ["https://testnet.ethernitychain.io"
]
readonly
serializers:object
Modifies how data is serialized (e.g. transactions).
readonly
transaction: (transaction
,signature
?) => `0x02${string}` | `0x01${string}` | `0x03${string}` |TransactionSerializedLegacy
| `0x7e${string}`
• transaction: OpStackTransactionSerializable
• signature?: Signature
`0x02${string}` | `0x01${string}` | `0x03${string}` | TransactionSerializedLegacy
| `0x7e${string}`
sourceId:
11155111
Source Chain ID (ie. the L1 chain)
optional
testnet:boolean
Flag for test networks