@eth-optimism/viem • Docs
@eth-optimism/viem / supersimL2B
const
supersimL2B:object
L2 chain B definition for supersim in non-forked mode. Interop Enabled
blockExplorers:
object
Collection of block explorers
readonly
default:object
readonly
apiUrl:"https://api-optimistic.etherscan.io/api"
readonly
name:"Optimism Explorer"
readonly
url:"https://optimistic.etherscan.io"
contracts:
object
Collection of contracts
readonly
disputeGameFactory:object
readonly
1:object
readonly
address:"0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
readonly
gasPriceOracle:object
readonly
address:"0x420000000000000000000000000000000000000F"
readonly
l1Block:object
readonly
address:"0x4200000000000000000000000000000000000015"
readonly
l1StandardBridge:object
readonly
1:object
readonly
address:"0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"
readonly
l2CrossDomainMessenger:object
readonly
address:"0x4200000000000000000000000000000000000007"
readonly
l2Erc721Bridge:object
readonly
address:"0x4200000000000000000000000000000000000014"
readonly
l2OutputOracle:object
readonly
1:object
readonly
address:"0xdfe97868233d1aa22e815a266982f2cf17685a27"
readonly
l2StandardBridge:object
readonly
address:"0x4200000000000000000000000000000000000010"
readonly
l2ToL1MessagePasser:object
readonly
address:"0x4200000000000000000000000000000000000016"
readonly
multicall3:object
readonly
address:"0xca11bde05977b3631167028862be2a173976ca11"
readonly
blockCreated:4286263
readonly
portal:object
readonly
1:object
readonly
address:"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
optional
custom:Record
<string
,unknown
>
Custom chain data.
optional
fees:ChainFees
<undefined
>
Modifies how fees are derived.
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:
902
ID in number form
name:
"Supersim L2 B"
Human-readable name
nativeCurrency:
object
Currency used by chain
readonly
decimals:18
readonly
name:"Ether"
readonly
symbol:"ETH"
rpcUrls:
object
Collection of RPC endpoints
readonly
default:object
readonly
http: readonly ["http://127.0.0.1:9546"
]
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:
900
Source Chain ID (ie. the L1 chain)
testnet:
true
Flag for test networks