@eth-optimism/viem • Docs
@eth-optimism/viem / chains / automata
constautomata:object
Chain Definition for Automata
blockExplorers:
object
Collection of block explorers
readonlydefault:object
readonlyname:"Automata Explorer"='Automata Explorer'
readonlyurl:"https://explorer.ata.network"='https://explorer.ata.network'
contracts:
object
Collection of contracts
readonlydisputeGameFactory:object
readonly1:object
readonlyaddress:"0xB52337F38747D6931f2976eEa24A3f3F6B7CDEA2"='0xB52337F38747D6931f2976eEa24A3f3F6B7CDEA2'
readonlygasPriceOracle:object
readonlyaddress:"0x420000000000000000000000000000000000000F"
readonlyl1Block:object
readonlyaddress:"0x4200000000000000000000000000000000000015"
readonlyl1CrossDomainMessenger:object
readonly1:object
readonlyaddress:"0x825C858149F1E775a0f4Aeb172037B970bE7B736"='0x825C858149F1E775a0f4Aeb172037B970bE7B736'
readonlyl1Erc721Bridge:object
readonly1:object
readonlyaddress:"0x00bd00c5C7F60e222D9CB8040270Ba929241A280"='0x00bd00c5C7F60e222D9CB8040270Ba929241A280'
readonlyl1StandardBridge:object
readonly1:object
readonlyaddress:"0xE639919b92AB6DD238aEACc6F2A8d6e355D17bd5"='0xE639919b92AB6DD238aEACc6F2A8d6e355D17bd5'
readonlyl2CrossDomainMessenger:object
readonlyaddress:"0x4200000000000000000000000000000000000007"
readonlyl2Erc721Bridge:object
readonlyaddress:"0x4200000000000000000000000000000000000014"
readonlyl2OutputOracle:object
readonly1:object
readonlyaddress:"0xdbf381984c4515Fe3285D3C55fDfb3054C52c261"='0xdbf381984c4515Fe3285D3C55fDfb3054C52c261'
readonlyl2StandardBridge:object
readonlyaddress:"0x4200000000000000000000000000000000000010"
readonlyl2ToL1MessagePasser:object
readonlyaddress:"0x4200000000000000000000000000000000000016"
readonlyportal:object
readonly1:object
readonlyaddress:"0xD52ba64CBE1e3B44167f810622fBef36bE24d95c"='0xD52ba64CBE1e3B44167f810622fBef36bE24d95c'
readonlysystemConfig:object
readonly1:object
readonlyaddress:"0x72934D7AEDC1A2d889ca89Aaf064CD9455E64d00"='0x72934D7AEDC1A2d889ca89Aaf064CD9455E64d00'
optionalcustom:Record<string,unknown>
Custom chain data.
optionalfees:ChainFees<undefined>
Modifies how fees are derived.
readonlyformatters:object
Modifies how data is formatted and typed (e.g. blocks and transactions)
readonlyblock: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}`[]
optionalwithdrawals:Withdrawal[]
optionalwithdrawalsRoot: `0x${string}`
type:
"block"
readonlytransaction:object
exclude:
undefined| []
format: (
args) =>object|object|object|object|object
• args: OpStackRpcTransaction<boolean>
object | object | object | object | object
type:
"transaction"
readonlytransactionReceipt:object
exclude:
undefined| []
format: (
args) =>object
• args: OpStackRpcTransactionReceipt
object
optionalblobGasPrice:bigint
optionalblobGasUsed: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}`
optionalroot: `0x${string}`
status:
"success"|"reverted"
to:
null| `0x${string}`
transactionHash: `0x${string}`
transactionIndex:
number
type:
TransactionType
type:
"transactionReceipt"
id:
65536
ID in number form
name:
"Automata"
Human-readable name
nativeCurrency:
object
Currency used by chain
readonlydecimals:18=18
readonlyname:"Automata"='Automata'
readonlysymbol:"ATA"='ATA'
rpcUrls:
object
Collection of RPC endpoints
readonlydefault:object
readonlyhttp: readonly ["https://rpc.ata.network"]
readonlyserializers:object
Modifies how data is serialized (e.g. transactions).
readonlytransaction: (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:
1
Source Chain ID (ie. the L1 chain)
optionaltestnet:boolean
Flag for test networks