viem 2.0.0-alpha.18 → 2.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_cjs/chains/definitions/mainnet.js.map +1 -1
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/chains/definitions/mainnet.js.map +1 -1
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/errors/node.js +22 -11
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +36 -18
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/definitions/arbitrum.d.ts +5 -2
- package/_types/chains/definitions/arbitrum.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumGoerli.d.ts +5 -2
- package/_types/chains/definitions/arbitrumGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumNova.d.ts +5 -2
- package/_types/chains/definitions/arbitrumNova.d.ts.map +1 -1
- package/_types/chains/definitions/arbitrumSepolia.d.ts +5 -2
- package/_types/chains/definitions/arbitrumSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/astarZkatana.d.ts +5 -2
- package/_types/chains/definitions/astarZkatana.d.ts.map +1 -1
- package/_types/chains/definitions/aurora.d.ts +5 -2
- package/_types/chains/definitions/aurora.d.ts.map +1 -1
- package/_types/chains/definitions/auroraTestnet.d.ts +5 -2
- package/_types/chains/definitions/auroraTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/avalanche.d.ts +5 -2
- package/_types/chains/definitions/avalanche.d.ts.map +1 -1
- package/_types/chains/definitions/avalancheFuji.d.ts +5 -2
- package/_types/chains/definitions/avalancheFuji.d.ts.map +1 -1
- package/_types/chains/definitions/base.d.ts +1496 -499
- package/_types/chains/definitions/base.d.ts.map +1 -1
- package/_types/chains/definitions/baseGoerli.d.ts +1496 -499
- package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/baseSepolia.d.ts +1496 -499
- package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts +5 -2
- package/_types/chains/definitions/bearNetworkChainMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts +5 -2
- package/_types/chains/definitions/bearNetworkChainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/boba.d.ts +5 -2
- package/_types/chains/definitions/boba.d.ts.map +1 -1
- package/_types/chains/definitions/bronos.d.ts +5 -2
- package/_types/chains/definitions/bronos.d.ts.map +1 -1
- package/_types/chains/definitions/bronosTestnet.d.ts +5 -2
- package/_types/chains/definitions/bronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bsc.d.ts +5 -2
- package/_types/chains/definitions/bsc.d.ts.map +1 -1
- package/_types/chains/definitions/bscTestnet.d.ts +5 -2
- package/_types/chains/definitions/bscTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/bxn.d.ts +5 -2
- package/_types/chains/definitions/bxn.d.ts.map +1 -1
- package/_types/chains/definitions/bxnTestnet.d.ts +5 -2
- package/_types/chains/definitions/bxnTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/canto.d.ts +5 -2
- package/_types/chains/definitions/canto.d.ts.map +1 -1
- package/_types/chains/definitions/celo.d.ts +2634 -877
- package/_types/chains/definitions/celo.d.ts.map +1 -1
- package/_types/chains/definitions/celoAlfajores.d.ts +2634 -877
- package/_types/chains/definitions/celoAlfajores.d.ts.map +1 -1
- package/_types/chains/definitions/celoCannoli.d.ts +2634 -877
- package/_types/chains/definitions/celoCannoli.d.ts.map +1 -1
- package/_types/chains/definitions/classic.d.ts +5 -2
- package/_types/chains/definitions/classic.d.ts.map +1 -1
- package/_types/chains/definitions/confluxESpace.d.ts +5 -2
- package/_types/chains/definitions/confluxESpace.d.ts.map +1 -1
- package/_types/chains/definitions/coreDao.d.ts +5 -2
- package/_types/chains/definitions/coreDao.d.ts.map +1 -1
- package/_types/chains/definitions/cronos.d.ts +5 -2
- package/_types/chains/definitions/cronos.d.ts.map +1 -1
- package/_types/chains/definitions/cronosTestnet.d.ts +5 -2
- package/_types/chains/definitions/cronosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/crossbell.d.ts +5 -2
- package/_types/chains/definitions/crossbell.d.ts.map +1 -1
- package/_types/chains/definitions/dfk.d.ts +5 -2
- package/_types/chains/definitions/dfk.d.ts.map +1 -1
- package/_types/chains/definitions/dogechain.d.ts +5 -2
- package/_types/chains/definitions/dogechain.d.ts.map +1 -1
- package/_types/chains/definitions/edgeware.d.ts +5 -2
- package/_types/chains/definitions/edgeware.d.ts.map +1 -1
- package/_types/chains/definitions/edgewareTestnet.d.ts +5 -2
- package/_types/chains/definitions/edgewareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ekta.d.ts +5 -2
- package/_types/chains/definitions/ekta.d.ts.map +1 -1
- package/_types/chains/definitions/ektaTestnet.d.ts +5 -2
- package/_types/chains/definitions/ektaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/eon.d.ts +5 -2
- package/_types/chains/definitions/eon.d.ts.map +1 -1
- package/_types/chains/definitions/eos.d.ts +5 -2
- package/_types/chains/definitions/eos.d.ts.map +1 -1
- package/_types/chains/definitions/eosTestnet.d.ts +5 -2
- package/_types/chains/definitions/eosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/evmos.d.ts +5 -2
- package/_types/chains/definitions/evmos.d.ts.map +1 -1
- package/_types/chains/definitions/evmosTestnet.d.ts +5 -2
- package/_types/chains/definitions/evmosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fantom.d.ts +5 -2
- package/_types/chains/definitions/fantom.d.ts.map +1 -1
- package/_types/chains/definitions/fantomTestnet.d.ts +5 -2
- package/_types/chains/definitions/fantomTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/fibo.d.ts +5 -2
- package/_types/chains/definitions/fibo.d.ts.map +1 -1
- package/_types/chains/definitions/filecoin.d.ts +5 -2
- package/_types/chains/definitions/filecoin.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinCalibration.d.ts +5 -2
- package/_types/chains/definitions/filecoinCalibration.d.ts.map +1 -1
- package/_types/chains/definitions/filecoinHyperspace.d.ts +5 -2
- package/_types/chains/definitions/filecoinHyperspace.d.ts.map +1 -1
- package/_types/chains/definitions/flare.d.ts +5 -2
- package/_types/chains/definitions/flare.d.ts.map +1 -1
- package/_types/chains/definitions/flareTestnet.d.ts +5 -2
- package/_types/chains/definitions/flareTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/foundry.d.ts +5 -2
- package/_types/chains/definitions/foundry.d.ts.map +1 -1
- package/_types/chains/definitions/fuse.d.ts +5 -2
- package/_types/chains/definitions/fuse.d.ts.map +1 -1
- package/_types/chains/definitions/fuseSparknet.d.ts +5 -2
- package/_types/chains/definitions/fuseSparknet.d.ts.map +1 -1
- package/_types/chains/definitions/gnosis.d.ts +5 -2
- package/_types/chains/definitions/gnosis.d.ts.map +1 -1
- package/_types/chains/definitions/gnosisChiado.d.ts +5 -2
- package/_types/chains/definitions/gnosisChiado.d.ts.map +1 -1
- package/_types/chains/definitions/gobi.d.ts +5 -2
- package/_types/chains/definitions/gobi.d.ts.map +1 -1
- package/_types/chains/definitions/goerli.d.ts +5 -2
- package/_types/chains/definitions/goerli.d.ts.map +1 -1
- package/_types/chains/definitions/haqqMainnet.d.ts +5 -2
- package/_types/chains/definitions/haqqMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/haqqTestedge2.d.ts +5 -2
- package/_types/chains/definitions/haqqTestedge2.d.ts.map +1 -1
- package/_types/chains/definitions/hardhat.d.ts +5 -2
- package/_types/chains/definitions/hardhat.d.ts.map +1 -1
- package/_types/chains/definitions/harmonyOne.d.ts +5 -2
- package/_types/chains/definitions/harmonyOne.d.ts.map +1 -1
- package/_types/chains/definitions/holesky.d.ts +5 -2
- package/_types/chains/definitions/holesky.d.ts.map +1 -1
- package/_types/chains/definitions/iotex.d.ts +5 -2
- package/_types/chains/definitions/iotex.d.ts.map +1 -1
- package/_types/chains/definitions/iotexTestnet.d.ts +5 -2
- package/_types/chains/definitions/iotexTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/klaytn.d.ts +5 -2
- package/_types/chains/definitions/klaytn.d.ts.map +1 -1
- package/_types/chains/definitions/kroma.d.ts +5 -2
- package/_types/chains/definitions/kroma.d.ts.map +1 -1
- package/_types/chains/definitions/kromaSepolia.d.ts +5 -2
- package/_types/chains/definitions/kromaSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/linea.d.ts +5 -2
- package/_types/chains/definitions/linea.d.ts.map +1 -1
- package/_types/chains/definitions/lineaTestnet.d.ts +5 -2
- package/_types/chains/definitions/lineaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/localhost.d.ts +5 -2
- package/_types/chains/definitions/localhost.d.ts.map +1 -1
- package/_types/chains/definitions/mainnet.d.ts +5 -2
- package/_types/chains/definitions/mainnet.d.ts.map +1 -1
- package/_types/chains/definitions/manta.d.ts +5 -2
- package/_types/chains/definitions/manta.d.ts.map +1 -1
- package/_types/chains/definitions/mantaTestnet.d.ts +5 -2
- package/_types/chains/definitions/mantaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/mantle.d.ts +5 -2
- package/_types/chains/definitions/mantle.d.ts.map +1 -1
- package/_types/chains/definitions/mantleTestnet.d.ts +5 -2
- package/_types/chains/definitions/mantleTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/meter.d.ts +5 -2
- package/_types/chains/definitions/meter.d.ts.map +1 -1
- package/_types/chains/definitions/meterTestnet.d.ts +5 -2
- package/_types/chains/definitions/meterTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/metis.d.ts +5 -2
- package/_types/chains/definitions/metis.d.ts.map +1 -1
- package/_types/chains/definitions/metisGoerli.d.ts +5 -2
- package/_types/chains/definitions/metisGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/mev.d.ts +5 -2
- package/_types/chains/definitions/mev.d.ts.map +1 -1
- package/_types/chains/definitions/mevTestnet.d.ts +5 -2
- package/_types/chains/definitions/mevTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/modeTestnet.d.ts +5 -2
- package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/moonbaseAlpha.d.ts +5 -2
- package/_types/chains/definitions/moonbaseAlpha.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeam.d.ts +5 -2
- package/_types/chains/definitions/moonbeam.d.ts.map +1 -1
- package/_types/chains/definitions/moonbeamDev.d.ts +5 -2
- package/_types/chains/definitions/moonbeamDev.d.ts.map +1 -1
- package/_types/chains/definitions/moonriver.d.ts +5 -2
- package/_types/chains/definitions/moonriver.d.ts.map +1 -1
- package/_types/chains/definitions/neonDevnet.d.ts +5 -2
- package/_types/chains/definitions/neonDevnet.d.ts.map +1 -1
- package/_types/chains/definitions/nexi.d.ts +5 -2
- package/_types/chains/definitions/nexi.d.ts.map +1 -1
- package/_types/chains/definitions/nexilix.d.ts +5 -2
- package/_types/chains/definitions/nexilix.d.ts.map +1 -1
- package/_types/chains/definitions/oasys.d.ts +5 -2
- package/_types/chains/definitions/oasys.d.ts.map +1 -1
- package/_types/chains/definitions/okc.d.ts +5 -2
- package/_types/chains/definitions/okc.d.ts.map +1 -1
- package/_types/chains/definitions/opBNB.d.ts +5 -2
- package/_types/chains/definitions/opBNB.d.ts.map +1 -1
- package/_types/chains/definitions/opBNBTestnet.d.ts +5 -2
- package/_types/chains/definitions/opBNBTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/optimism.d.ts +1496 -499
- package/_types/chains/definitions/optimism.d.ts.map +1 -1
- package/_types/chains/definitions/optimismGoerli.d.ts +1496 -499
- package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
- package/_types/chains/definitions/optimismSepolia.d.ts +1496 -499
- package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/plinga.d.ts +5 -2
- package/_types/chains/definitions/plinga.d.ts.map +1 -1
- package/_types/chains/definitions/polygon.d.ts +5 -2
- package/_types/chains/definitions/polygon.d.ts.map +1 -1
- package/_types/chains/definitions/polygonMumbai.d.ts +5 -2
- package/_types/chains/definitions/polygonMumbai.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvm.d.ts +5 -2
- package/_types/chains/definitions/polygonZkEvm.d.ts.map +1 -1
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts +5 -2
- package/_types/chains/definitions/polygonZkEvmTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechain.d.ts +5 -2
- package/_types/chains/definitions/pulsechain.d.ts.map +1 -1
- package/_types/chains/definitions/pulsechainV4.d.ts +5 -2
- package/_types/chains/definitions/pulsechainV4.d.ts.map +1 -1
- package/_types/chains/definitions/qMainnet.d.ts +5 -2
- package/_types/chains/definitions/qMainnet.d.ts.map +1 -1
- package/_types/chains/definitions/qTestnet.d.ts +5 -2
- package/_types/chains/definitions/qTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rollux.d.ts +5 -2
- package/_types/chains/definitions/rollux.d.ts.map +1 -1
- package/_types/chains/definitions/rolluxTestnet.d.ts +5 -2
- package/_types/chains/definitions/rolluxTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/ronin.d.ts +5 -2
- package/_types/chains/definitions/ronin.d.ts.map +1 -1
- package/_types/chains/definitions/saigon.d.ts +5 -2
- package/_types/chains/definitions/saigon.d.ts.map +1 -1
- package/_types/chains/definitions/scroll.d.ts +5 -2
- package/_types/chains/definitions/scroll.d.ts.map +1 -1
- package/_types/chains/definitions/scrollSepolia.d.ts +5 -2
- package/_types/chains/definitions/scrollSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/scrollTestnet.d.ts +5 -2
- package/_types/chains/definitions/scrollTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/sepolia.d.ts +5 -2
- package/_types/chains/definitions/sepolia.d.ts.map +1 -1
- package/_types/chains/definitions/shardeumSphinx.d.ts +5 -2
- package/_types/chains/definitions/shardeumSphinx.d.ts.map +1 -1
- package/_types/chains/definitions/skale/brawl.d.ts +5 -2
- package/_types/chains/definitions/skale/brawl.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypso.d.ts +5 -2
- package/_types/chains/definitions/skale/calypso.d.ts.map +1 -1
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts +5 -2
- package/_types/chains/definitions/skale/calypsoTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/chaosTestnet.d.ts +5 -2
- package/_types/chains/definitions/skale/chaosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoBlades.d.ts +5 -2
- package/_types/chains/definitions/skale/cryptoBlades.d.ts.map +1 -1
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts +5 -2
- package/_types/chains/definitions/skale/cryptoColosseum.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europa.d.ts +5 -2
- package/_types/chains/definitions/skale/europa.d.ts.map +1 -1
- package/_types/chains/definitions/skale/europaTestnet.d.ts +5 -2
- package/_types/chains/definitions/skale/europaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/exorde.d.ts +5 -2
- package/_types/chains/definitions/skale/exorde.d.ts.map +1 -1
- package/_types/chains/definitions/skale/humanProtocol.d.ts +5 -2
- package/_types/chains/definitions/skale/humanProtocol.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebula.d.ts +5 -2
- package/_types/chains/definitions/skale/nebula.d.ts.map +1 -1
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts +5 -2
- package/_types/chains/definitions/skale/nebulaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/skale/razor.d.ts +5 -2
- package/_types/chains/definitions/skale/razor.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titan.d.ts +5 -2
- package/_types/chains/definitions/skale/titan.d.ts.map +1 -1
- package/_types/chains/definitions/skale/titanTestnet.d.ts +5 -2
- package/_types/chains/definitions/skale/titanTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/songbird.d.ts +5 -2
- package/_types/chains/definitions/songbird.d.ts.map +1 -1
- package/_types/chains/definitions/songbirdTestnet.d.ts +5 -2
- package/_types/chains/definitions/songbirdTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/syscoin.d.ts +5 -2
- package/_types/chains/definitions/syscoin.d.ts.map +1 -1
- package/_types/chains/definitions/syscoinTestnet.d.ts +5 -2
- package/_types/chains/definitions/syscoinTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +5 -2
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts +5 -2
- package/_types/chains/definitions/taikoTestnetSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/taraxa.d.ts +5 -2
- package/_types/chains/definitions/taraxa.d.ts.map +1 -1
- package/_types/chains/definitions/taraxaTestnet.d.ts +5 -2
- package/_types/chains/definitions/taraxaTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/telos.d.ts +5 -2
- package/_types/chains/definitions/telos.d.ts.map +1 -1
- package/_types/chains/definitions/telosTestnet.d.ts +5 -2
- package/_types/chains/definitions/telosTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/thunderTestnet.d.ts +5 -2
- package/_types/chains/definitions/thunderTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/vechain.d.ts +5 -2
- package/_types/chains/definitions/vechain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchain.d.ts +5 -2
- package/_types/chains/definitions/wanchain.d.ts.map +1 -1
- package/_types/chains/definitions/wanchainTestnet.d.ts +5 -2
- package/_types/chains/definitions/wanchainTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/xdc.d.ts +5 -2
- package/_types/chains/definitions/xdc.d.ts.map +1 -1
- package/_types/chains/definitions/xdcTestnet.d.ts +5 -2
- package/_types/chains/definitions/xdcTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts +5 -2
- package/_types/chains/definitions/zetachainAthensTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zhejiang.d.ts +5 -2
- package/_types/chains/definitions/zhejiang.d.ts.map +1 -1
- package/_types/chains/definitions/zkSync.d.ts +1453 -484
- package/_types/chains/definitions/zkSync.d.ts.map +1 -1
- package/_types/chains/definitions/zkSyncTestnet.d.ts +1453 -484
- package/_types/chains/definitions/zkSyncTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/zora.d.ts +1496 -499
- package/_types/chains/definitions/zora.d.ts.map +1 -1
- package/_types/chains/definitions/zoraSepolia.d.ts +1496 -499
- package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
- package/_types/chains/definitions/zoraTestnet.d.ts +1496 -499
- package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +1 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/decorators/wallet.d.ts +3 -3
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/types/utils.d.ts.map +1 -1
- package/_types/utils/chain/defineChain.d.ts +2 -2
- package/_types/utils/chain/defineChain.d.ts.map +1 -1
- package/actions/ens/getEnsAddress.ts +1 -1
- package/actions/public/call.ts +1 -1
- package/actions/public/verifyHash.ts +1 -1
- package/actions/public/verifyMessage.ts +1 -1
- package/actions/public/verifyTypedData.ts +1 -1
- package/actions/wallet/sendRawTransaction.ts +1 -1
- package/chains/definitions/mainnet.ts +2 -2
- package/chains/index.ts +1 -1
- package/clients/decorators/wallet.ts +3 -5
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/utils.ts +1 -1
- package/utils/ccip.ts +1 -1
- package/utils/chain/defineChain.ts +2 -2
- package/utils/rpc.ts +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const optimism:
|
1
|
+
export declare const optimism: {
|
2
2
|
readonly id: 10;
|
3
3
|
readonly name: "OP Mainnet";
|
4
4
|
readonly nativeCurrency: {
|
@@ -23,502 +23,1499 @@ export declare const optimism: import("../index.js").Assign<{
|
|
23
23
|
readonly blockCreated: 4286263;
|
24
24
|
};
|
25
25
|
};
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
}
|
26
|
+
formatters?: {
|
27
|
+
readonly block: {
|
28
|
+
exclude: [] | undefined;
|
29
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
|
30
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
|
31
|
+
}>) => {
|
32
|
+
baseFeePerGas: bigint | null;
|
33
|
+
difficulty: bigint;
|
34
|
+
extraData: `0x${string}`;
|
35
|
+
gasLimit: bigint;
|
36
|
+
gasUsed: bigint;
|
37
|
+
hash: `0x${string}` | null;
|
38
|
+
logsBloom: `0x${string}` | null;
|
39
|
+
miner: `0x${string}`;
|
40
|
+
mixHash: `0x${string}`;
|
41
|
+
nonce: `0x${string}` | null;
|
42
|
+
number: bigint | null;
|
43
|
+
parentHash: `0x${string}`;
|
44
|
+
receiptsRoot: `0x${string}`;
|
45
|
+
sealFields: `0x${string}`[];
|
46
|
+
sha3Uncles: `0x${string}`;
|
47
|
+
size: bigint;
|
48
|
+
stateRoot: `0x${string}`;
|
49
|
+
timestamp: bigint;
|
50
|
+
totalDifficulty: bigint | null;
|
51
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
|
52
|
+
transactionsRoot: `0x${string}`;
|
53
|
+
uncles: `0x${string}`[];
|
54
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
55
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
56
|
+
} & {};
|
57
|
+
type: "block";
|
58
|
+
};
|
59
|
+
readonly transaction: {
|
60
|
+
exclude: [] | undefined;
|
61
|
+
format: (args: ({
|
62
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
63
|
+
gas?: `0x${string}` | undefined;
|
64
|
+
value?: `0x${string}` | undefined;
|
65
|
+
gasPrice?: `0x${string}` | undefined;
|
66
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
67
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
68
|
+
blockHash?: `0x${string}` | null | undefined;
|
69
|
+
blockNumber?: `0x${string}` | null | undefined;
|
70
|
+
from?: `0x${string}` | undefined;
|
71
|
+
hash?: `0x${string}` | undefined;
|
72
|
+
input?: `0x${string}` | undefined;
|
73
|
+
nonce?: `0x${string}` | undefined;
|
74
|
+
r?: `0x${string}` | undefined;
|
75
|
+
s?: `0x${string}` | undefined;
|
76
|
+
to?: `0x${string}` | null | undefined;
|
77
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
78
|
+
v?: `0x${string}` | undefined;
|
79
|
+
accessList?: undefined;
|
80
|
+
chainId?: `0x${string}` | undefined;
|
81
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
82
|
+
isSystemTx?: undefined;
|
83
|
+
mint?: undefined;
|
84
|
+
sourceHash?: undefined;
|
85
|
+
}) | ({
|
86
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
87
|
+
gas?: `0x${string}` | undefined;
|
88
|
+
value?: `0x${string}` | undefined;
|
89
|
+
gasPrice?: `0x${string}` | undefined;
|
90
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
91
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
92
|
+
blockHash?: `0x${string}` | null | undefined;
|
93
|
+
blockNumber?: `0x${string}` | null | undefined;
|
94
|
+
from?: `0x${string}` | undefined;
|
95
|
+
hash?: `0x${string}` | undefined;
|
96
|
+
input?: `0x${string}` | undefined;
|
97
|
+
nonce?: `0x${string}` | undefined;
|
98
|
+
r?: `0x${string}` | undefined;
|
99
|
+
s?: `0x${string}` | undefined;
|
100
|
+
to?: `0x${string}` | null | undefined;
|
101
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
102
|
+
v?: `0x${string}` | undefined;
|
103
|
+
accessList?: undefined;
|
104
|
+
chainId?: `0x${string}` | undefined;
|
105
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
106
|
+
isSystemTx?: boolean | undefined;
|
107
|
+
mint?: `0x${string}` | undefined;
|
108
|
+
sourceHash: `0x${string}`;
|
109
|
+
type: "0x7e";
|
110
|
+
}) | ({
|
111
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
112
|
+
gas?: `0x${string}` | undefined;
|
113
|
+
value?: `0x${string}` | undefined;
|
114
|
+
gasPrice?: `0x${string}` | undefined;
|
115
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
116
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
117
|
+
blockHash?: `0x${string}` | null | undefined;
|
118
|
+
blockNumber?: `0x${string}` | null | undefined;
|
119
|
+
from?: `0x${string}` | undefined;
|
120
|
+
hash?: `0x${string}` | undefined;
|
121
|
+
input?: `0x${string}` | undefined;
|
122
|
+
nonce?: `0x${string}` | undefined;
|
123
|
+
r?: `0x${string}` | undefined;
|
124
|
+
s?: `0x${string}` | undefined;
|
125
|
+
to?: `0x${string}` | null | undefined;
|
126
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
127
|
+
v?: `0x${string}` | undefined;
|
128
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
129
|
+
chainId?: `0x${string}` | undefined;
|
130
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
131
|
+
isSystemTx?: undefined;
|
132
|
+
mint?: undefined;
|
133
|
+
sourceHash?: undefined;
|
134
|
+
}) | ({
|
135
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
136
|
+
gas?: `0x${string}` | undefined;
|
137
|
+
value?: `0x${string}` | undefined;
|
138
|
+
gasPrice?: `0x${string}` | undefined;
|
139
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
140
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
141
|
+
blockHash?: `0x${string}` | null | undefined;
|
142
|
+
blockNumber?: `0x${string}` | null | undefined;
|
143
|
+
from?: `0x${string}` | undefined;
|
144
|
+
hash?: `0x${string}` | undefined;
|
145
|
+
input?: `0x${string}` | undefined;
|
146
|
+
nonce?: `0x${string}` | undefined;
|
147
|
+
r?: `0x${string}` | undefined;
|
148
|
+
s?: `0x${string}` | undefined;
|
149
|
+
to?: `0x${string}` | null | undefined;
|
150
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
151
|
+
v?: `0x${string}` | undefined;
|
152
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
153
|
+
chainId?: `0x${string}` | undefined;
|
154
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
155
|
+
isSystemTx?: undefined;
|
156
|
+
mint?: undefined;
|
157
|
+
sourceHash?: undefined;
|
158
|
+
}) | ({
|
159
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
160
|
+
gas?: `0x${string}` | undefined;
|
161
|
+
value?: `0x${string}` | undefined;
|
162
|
+
gasPrice?: `0x${string}` | undefined;
|
163
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
164
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
165
|
+
blockHash?: `0x${string}` | null | undefined;
|
166
|
+
blockNumber?: `0x${string}` | null | undefined;
|
167
|
+
from?: `0x${string}` | undefined;
|
168
|
+
hash?: `0x${string}` | undefined;
|
169
|
+
input?: `0x${string}` | undefined;
|
170
|
+
nonce?: `0x${string}` | undefined;
|
171
|
+
r?: `0x${string}` | undefined;
|
172
|
+
s?: `0x${string}` | undefined;
|
173
|
+
to?: `0x${string}` | null | undefined;
|
174
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
175
|
+
v?: `0x${string}` | undefined;
|
176
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
177
|
+
chainId?: `0x${string}` | undefined;
|
178
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
179
|
+
isSystemTx?: undefined;
|
180
|
+
mint?: undefined;
|
181
|
+
sourceHash?: undefined;
|
182
|
+
}) | ({
|
183
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
184
|
+
gas?: `0x${string}` | undefined;
|
185
|
+
value?: `0x${string}` | undefined;
|
186
|
+
gasPrice?: `0x${string}` | undefined;
|
187
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
188
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
189
|
+
blockHash?: `0x${string}` | null | undefined;
|
190
|
+
blockNumber?: `0x${string}` | null | undefined;
|
191
|
+
from?: `0x${string}` | undefined;
|
192
|
+
hash?: `0x${string}` | undefined;
|
193
|
+
input?: `0x${string}` | undefined;
|
194
|
+
nonce?: `0x${string}` | undefined;
|
195
|
+
r?: `0x${string}` | undefined;
|
196
|
+
s?: `0x${string}` | undefined;
|
197
|
+
to?: `0x${string}` | null | undefined;
|
198
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
199
|
+
v?: `0x${string}` | undefined;
|
200
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
201
|
+
chainId?: `0x${string}` | undefined;
|
202
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
203
|
+
isSystemTx?: boolean | undefined;
|
204
|
+
mint?: `0x${string}` | undefined;
|
205
|
+
sourceHash: `0x${string}`;
|
206
|
+
type: "0x7e";
|
207
|
+
}) | ({
|
208
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
209
|
+
gas?: `0x${string}` | undefined;
|
210
|
+
value?: `0x${string}` | undefined;
|
211
|
+
gasPrice?: `0x${string}` | undefined;
|
212
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
213
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
214
|
+
blockHash?: `0x${string}` | null | undefined;
|
215
|
+
blockNumber?: `0x${string}` | null | undefined;
|
216
|
+
from?: `0x${string}` | undefined;
|
217
|
+
hash?: `0x${string}` | undefined;
|
218
|
+
input?: `0x${string}` | undefined;
|
219
|
+
nonce?: `0x${string}` | undefined;
|
220
|
+
r?: `0x${string}` | undefined;
|
221
|
+
s?: `0x${string}` | undefined;
|
222
|
+
to?: `0x${string}` | null | undefined;
|
223
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
224
|
+
v?: `0x${string}` | undefined;
|
225
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
226
|
+
chainId?: `0x${string}` | undefined;
|
227
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
228
|
+
isSystemTx?: undefined;
|
229
|
+
mint?: undefined;
|
230
|
+
sourceHash?: undefined;
|
231
|
+
}) | ({
|
232
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
233
|
+
gas?: `0x${string}` | undefined;
|
234
|
+
value?: `0x${string}` | undefined;
|
235
|
+
gasPrice?: `0x${string}` | undefined;
|
236
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
237
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
238
|
+
blockHash?: `0x${string}` | null | undefined;
|
239
|
+
blockNumber?: `0x${string}` | null | undefined;
|
240
|
+
from?: `0x${string}` | undefined;
|
241
|
+
hash?: `0x${string}` | undefined;
|
242
|
+
input?: `0x${string}` | undefined;
|
243
|
+
nonce?: `0x${string}` | undefined;
|
244
|
+
r?: `0x${string}` | undefined;
|
245
|
+
s?: `0x${string}` | undefined;
|
246
|
+
to?: `0x${string}` | null | undefined;
|
247
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
248
|
+
v?: `0x${string}` | undefined;
|
249
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
250
|
+
chainId?: `0x${string}` | undefined;
|
251
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
252
|
+
isSystemTx?: undefined;
|
253
|
+
mint?: undefined;
|
254
|
+
sourceHash?: undefined;
|
255
|
+
}) | ({
|
256
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
257
|
+
gas?: `0x${string}` | undefined;
|
258
|
+
value?: `0x${string}` | undefined;
|
259
|
+
gasPrice?: `0x${string}` | undefined;
|
260
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
261
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
262
|
+
blockHash?: `0x${string}` | null | undefined;
|
263
|
+
blockNumber?: `0x${string}` | null | undefined;
|
264
|
+
from?: `0x${string}` | undefined;
|
265
|
+
hash?: `0x${string}` | undefined;
|
266
|
+
input?: `0x${string}` | undefined;
|
267
|
+
nonce?: `0x${string}` | undefined;
|
268
|
+
r?: `0x${string}` | undefined;
|
269
|
+
s?: `0x${string}` | undefined;
|
270
|
+
to?: `0x${string}` | null | undefined;
|
271
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
272
|
+
v?: `0x${string}` | undefined;
|
273
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
274
|
+
chainId?: `0x${string}` | undefined;
|
275
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
276
|
+
isSystemTx?: undefined;
|
277
|
+
mint?: undefined;
|
278
|
+
sourceHash?: undefined;
|
279
|
+
}) | ({
|
280
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
281
|
+
gas?: `0x${string}` | undefined;
|
282
|
+
value?: `0x${string}` | undefined;
|
283
|
+
gasPrice?: `0x${string}` | undefined;
|
284
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
285
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
286
|
+
blockHash?: `0x${string}` | null | undefined;
|
287
|
+
blockNumber?: `0x${string}` | null | undefined;
|
288
|
+
from?: `0x${string}` | undefined;
|
289
|
+
hash?: `0x${string}` | undefined;
|
290
|
+
input?: `0x${string}` | undefined;
|
291
|
+
nonce?: `0x${string}` | undefined;
|
292
|
+
r?: `0x${string}` | undefined;
|
293
|
+
s?: `0x${string}` | undefined;
|
294
|
+
to?: `0x${string}` | null | undefined;
|
295
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
296
|
+
v?: `0x${string}` | undefined;
|
297
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
298
|
+
chainId?: `0x${string}` | undefined;
|
299
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
300
|
+
isSystemTx?: boolean | undefined;
|
301
|
+
mint?: `0x${string}` | undefined;
|
302
|
+
sourceHash: `0x${string}`;
|
303
|
+
type: "0x7e";
|
304
|
+
})) => ({
|
305
|
+
blockHash: `0x${string}` | null;
|
306
|
+
blockNumber: bigint | null;
|
307
|
+
from: `0x${string}`;
|
308
|
+
gas: bigint;
|
309
|
+
hash: `0x${string}`;
|
310
|
+
input: `0x${string}`;
|
311
|
+
nonce: number;
|
312
|
+
r: `0x${string}`;
|
313
|
+
s: `0x${string}`;
|
314
|
+
to: `0x${string}` | null;
|
315
|
+
transactionIndex: number | null;
|
316
|
+
typeHex: `0x${string}` | null;
|
317
|
+
v: bigint;
|
318
|
+
value: bigint;
|
319
|
+
gasPrice: bigint;
|
320
|
+
maxFeePerGas?: undefined;
|
321
|
+
maxPriorityFeePerGas?: undefined;
|
322
|
+
accessList?: undefined;
|
323
|
+
chainId?: number | undefined;
|
324
|
+
type: "legacy";
|
325
|
+
isSystemTx?: undefined;
|
326
|
+
mint?: undefined;
|
327
|
+
sourceHash?: undefined;
|
328
|
+
} | {
|
329
|
+
blockHash: `0x${string}` | null;
|
330
|
+
blockNumber: bigint | null;
|
331
|
+
from: `0x${string}`;
|
332
|
+
gas: bigint;
|
333
|
+
hash: `0x${string}`;
|
334
|
+
input: `0x${string}`;
|
335
|
+
nonce: number;
|
336
|
+
r: `0x${string}`;
|
337
|
+
s: `0x${string}`;
|
338
|
+
to: `0x${string}` | null;
|
339
|
+
transactionIndex: number | null;
|
340
|
+
typeHex: `0x${string}` | null;
|
341
|
+
v: bigint;
|
342
|
+
value: bigint;
|
343
|
+
gasPrice: undefined;
|
344
|
+
maxFeePerGas: bigint;
|
345
|
+
maxPriorityFeePerGas: bigint;
|
346
|
+
accessList?: undefined;
|
347
|
+
chainId?: number | undefined;
|
348
|
+
type: "deposit";
|
349
|
+
isSystemTx?: boolean | undefined;
|
350
|
+
mint?: bigint | undefined;
|
351
|
+
sourceHash: `0x${string}`;
|
352
|
+
} | {
|
353
|
+
blockHash: `0x${string}` | null;
|
354
|
+
blockNumber: bigint | null;
|
355
|
+
from: `0x${string}`;
|
356
|
+
gas: bigint;
|
357
|
+
hash: `0x${string}`;
|
358
|
+
input: `0x${string}`;
|
359
|
+
nonce: number;
|
360
|
+
r: `0x${string}`;
|
361
|
+
s: `0x${string}`;
|
362
|
+
to: `0x${string}` | null;
|
363
|
+
transactionIndex: number | null;
|
364
|
+
typeHex: `0x${string}` | null;
|
365
|
+
v: bigint;
|
366
|
+
value: bigint;
|
367
|
+
gasPrice: bigint;
|
368
|
+
maxFeePerGas?: undefined;
|
369
|
+
maxPriorityFeePerGas?: undefined;
|
370
|
+
accessList: import("../../index.js").AccessList;
|
371
|
+
chainId: number;
|
372
|
+
type: "eip2930";
|
373
|
+
isSystemTx?: undefined;
|
374
|
+
mint?: undefined;
|
375
|
+
sourceHash?: undefined;
|
376
|
+
} | {
|
377
|
+
blockHash: `0x${string}` | null;
|
378
|
+
blockNumber: bigint | null;
|
379
|
+
from: `0x${string}`;
|
380
|
+
gas: bigint;
|
381
|
+
hash: `0x${string}`;
|
382
|
+
input: `0x${string}`;
|
383
|
+
nonce: number;
|
384
|
+
r: `0x${string}`;
|
385
|
+
s: `0x${string}`;
|
386
|
+
to: `0x${string}` | null;
|
387
|
+
transactionIndex: number | null;
|
388
|
+
typeHex: `0x${string}` | null;
|
389
|
+
v: bigint;
|
390
|
+
value: bigint;
|
391
|
+
gasPrice: undefined;
|
392
|
+
maxFeePerGas: bigint;
|
393
|
+
maxPriorityFeePerGas: bigint;
|
394
|
+
accessList: import("../../index.js").AccessList;
|
395
|
+
chainId: number;
|
396
|
+
type: "eip1559";
|
397
|
+
isSystemTx?: undefined;
|
398
|
+
mint?: undefined;
|
399
|
+
sourceHash?: undefined;
|
400
|
+
} | {
|
401
|
+
blockHash: `0x${string}` | null;
|
402
|
+
blockNumber: bigint | null;
|
403
|
+
from: `0x${string}`;
|
404
|
+
gas: bigint;
|
405
|
+
hash: `0x${string}`;
|
406
|
+
input: `0x${string}`;
|
407
|
+
nonce: number;
|
408
|
+
r: `0x${string}`;
|
409
|
+
s: `0x${string}`;
|
410
|
+
to: `0x${string}` | null;
|
411
|
+
transactionIndex: number | null;
|
412
|
+
typeHex: `0x${string}` | null;
|
413
|
+
v: bigint;
|
414
|
+
value: bigint;
|
415
|
+
gasPrice: undefined;
|
416
|
+
maxFeePerGas: bigint;
|
417
|
+
maxPriorityFeePerGas: bigint;
|
418
|
+
accessList: import("../../index.js").AccessList;
|
419
|
+
chainId: number;
|
420
|
+
type: "deposit";
|
421
|
+
isSystemTx?: boolean | undefined;
|
422
|
+
mint?: bigint | undefined;
|
423
|
+
sourceHash: `0x${string}`;
|
424
|
+
} | {
|
425
|
+
blockHash: `0x${string}` | null;
|
426
|
+
blockNumber: bigint | null;
|
427
|
+
from: `0x${string}`;
|
428
|
+
gas: bigint;
|
429
|
+
hash: `0x${string}`;
|
430
|
+
input: `0x${string}`;
|
431
|
+
nonce: number;
|
432
|
+
r: `0x${string}`;
|
433
|
+
s: `0x${string}`;
|
434
|
+
to: `0x${string}` | null;
|
435
|
+
transactionIndex: number | null;
|
436
|
+
typeHex: `0x${string}` | null;
|
437
|
+
v: bigint;
|
438
|
+
value: bigint;
|
439
|
+
gasPrice: bigint;
|
440
|
+
maxFeePerGas: undefined;
|
441
|
+
maxPriorityFeePerGas: undefined;
|
442
|
+
accessList: import("../../index.js").AccessList;
|
443
|
+
chainId: number;
|
444
|
+
type: "eip2930";
|
445
|
+
isSystemTx?: undefined;
|
446
|
+
mint?: undefined;
|
447
|
+
sourceHash?: undefined;
|
448
|
+
} | {
|
449
|
+
blockHash: `0x${string}` | null;
|
450
|
+
blockNumber: bigint | null;
|
451
|
+
from: `0x${string}`;
|
452
|
+
gas: bigint;
|
453
|
+
hash: `0x${string}`;
|
454
|
+
input: `0x${string}`;
|
455
|
+
nonce: number;
|
456
|
+
r: `0x${string}`;
|
457
|
+
s: `0x${string}`;
|
458
|
+
to: `0x${string}` | null;
|
459
|
+
transactionIndex: number | null;
|
460
|
+
typeHex: `0x${string}` | null;
|
461
|
+
v: bigint;
|
462
|
+
value: bigint;
|
463
|
+
gasPrice?: undefined;
|
464
|
+
maxFeePerGas: bigint;
|
465
|
+
maxPriorityFeePerGas: bigint;
|
466
|
+
accessList: import("../../index.js").AccessList;
|
467
|
+
chainId: number;
|
468
|
+
type: "eip1559";
|
469
|
+
isSystemTx?: undefined;
|
470
|
+
mint?: undefined;
|
471
|
+
sourceHash?: undefined;
|
472
|
+
} | {
|
473
|
+
blockHash: `0x${string}` | null;
|
474
|
+
blockNumber: bigint | null;
|
475
|
+
from: `0x${string}`;
|
476
|
+
gas: bigint;
|
477
|
+
hash: `0x${string}`;
|
478
|
+
input: `0x${string}`;
|
479
|
+
nonce: number;
|
480
|
+
r: `0x${string}`;
|
481
|
+
s: `0x${string}`;
|
482
|
+
to: `0x${string}` | null;
|
483
|
+
transactionIndex: number | null;
|
484
|
+
typeHex: `0x${string}` | null;
|
485
|
+
v: bigint;
|
486
|
+
value: bigint;
|
487
|
+
gasPrice?: undefined;
|
488
|
+
maxFeePerGas: bigint;
|
489
|
+
maxPriorityFeePerGas: bigint;
|
490
|
+
accessList: import("../../index.js").AccessList;
|
491
|
+
chainId: number;
|
492
|
+
type: "deposit";
|
493
|
+
isSystemTx?: boolean | undefined;
|
494
|
+
mint?: bigint | undefined;
|
495
|
+
sourceHash: `0x${string}`;
|
496
|
+
}) & {};
|
497
|
+
type: "transaction";
|
498
|
+
};
|
499
|
+
readonly transactionReceipt: {
|
500
|
+
exclude: [] | undefined;
|
501
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
502
|
+
blockHash: `0x${string}`;
|
503
|
+
blockNumber: bigint;
|
504
|
+
contractAddress: `0x${string}` | null;
|
505
|
+
cumulativeGasUsed: bigint;
|
506
|
+
effectiveGasPrice: bigint;
|
507
|
+
from: `0x${string}`;
|
508
|
+
gasUsed: bigint;
|
509
|
+
logs: import("../../index.js").Log<bigint, number, false>[];
|
510
|
+
logsBloom: `0x${string}`;
|
511
|
+
status: "success" | "reverted";
|
512
|
+
to: `0x${string}` | null;
|
513
|
+
transactionHash: `0x${string}`;
|
514
|
+
transactionIndex: number;
|
515
|
+
type: import("../../index.js").TransactionType;
|
516
|
+
l1GasPrice: bigint | null;
|
517
|
+
l1GasUsed: bigint | null;
|
518
|
+
l1Fee: bigint | null;
|
519
|
+
l1FeeScalar: number | null;
|
520
|
+
} & {};
|
521
|
+
type: "transactionReceipt";
|
522
|
+
};
|
523
|
+
} | undefined;
|
524
|
+
serializers?: import("../../index.js").ChainSerializers<{
|
525
|
+
readonly block: {
|
526
|
+
exclude: [] | undefined;
|
527
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
|
528
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
|
529
|
+
}>) => {
|
530
|
+
baseFeePerGas: bigint | null;
|
531
|
+
difficulty: bigint;
|
532
|
+
extraData: `0x${string}`;
|
533
|
+
gasLimit: bigint;
|
534
|
+
gasUsed: bigint;
|
535
|
+
hash: `0x${string}` | null;
|
536
|
+
logsBloom: `0x${string}` | null;
|
537
|
+
miner: `0x${string}`;
|
538
|
+
mixHash: `0x${string}`;
|
539
|
+
nonce: `0x${string}` | null;
|
540
|
+
number: bigint | null;
|
541
|
+
parentHash: `0x${string}`;
|
542
|
+
receiptsRoot: `0x${string}`;
|
543
|
+
sealFields: `0x${string}`[];
|
544
|
+
sha3Uncles: `0x${string}`;
|
545
|
+
size: bigint;
|
546
|
+
stateRoot: `0x${string}`;
|
547
|
+
timestamp: bigint;
|
548
|
+
totalDifficulty: bigint | null;
|
549
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
|
550
|
+
transactionsRoot: `0x${string}`;
|
551
|
+
uncles: `0x${string}`[];
|
552
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
553
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
554
|
+
} & {};
|
555
|
+
type: "block";
|
556
|
+
};
|
557
|
+
readonly transaction: {
|
558
|
+
exclude: [] | undefined;
|
559
|
+
format: (args: ({
|
560
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
561
|
+
gas?: `0x${string}` | undefined;
|
562
|
+
value?: `0x${string}` | undefined;
|
563
|
+
gasPrice?: `0x${string}` | undefined;
|
564
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
565
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
566
|
+
blockHash?: `0x${string}` | null | undefined;
|
567
|
+
blockNumber?: `0x${string}` | null | undefined;
|
568
|
+
from?: `0x${string}` | undefined;
|
569
|
+
hash?: `0x${string}` | undefined;
|
570
|
+
input?: `0x${string}` | undefined;
|
571
|
+
nonce?: `0x${string}` | undefined;
|
572
|
+
r?: `0x${string}` | undefined;
|
573
|
+
s?: `0x${string}` | undefined;
|
574
|
+
to?: `0x${string}` | null | undefined;
|
575
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
576
|
+
v?: `0x${string}` | undefined;
|
577
|
+
accessList?: undefined;
|
578
|
+
chainId?: `0x${string}` | undefined;
|
579
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
580
|
+
isSystemTx?: undefined;
|
581
|
+
mint?: undefined;
|
582
|
+
sourceHash?: undefined;
|
583
|
+
}) | ({
|
584
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
585
|
+
gas?: `0x${string}` | undefined;
|
586
|
+
value?: `0x${string}` | undefined;
|
587
|
+
gasPrice?: `0x${string}` | undefined;
|
588
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
589
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
590
|
+
blockHash?: `0x${string}` | null | undefined;
|
591
|
+
blockNumber?: `0x${string}` | null | undefined;
|
592
|
+
from?: `0x${string}` | undefined;
|
593
|
+
hash?: `0x${string}` | undefined;
|
594
|
+
input?: `0x${string}` | undefined;
|
595
|
+
nonce?: `0x${string}` | undefined;
|
596
|
+
r?: `0x${string}` | undefined;
|
597
|
+
s?: `0x${string}` | undefined;
|
598
|
+
to?: `0x${string}` | null | undefined;
|
599
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
600
|
+
v?: `0x${string}` | undefined;
|
601
|
+
accessList?: undefined;
|
602
|
+
chainId?: `0x${string}` | undefined;
|
603
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
604
|
+
isSystemTx?: boolean | undefined;
|
605
|
+
mint?: `0x${string}` | undefined;
|
606
|
+
sourceHash: `0x${string}`;
|
607
|
+
type: "0x7e";
|
608
|
+
}) | ({
|
609
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
610
|
+
gas?: `0x${string}` | undefined;
|
611
|
+
value?: `0x${string}` | undefined;
|
612
|
+
gasPrice?: `0x${string}` | undefined;
|
613
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
614
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
615
|
+
blockHash?: `0x${string}` | null | undefined;
|
616
|
+
blockNumber?: `0x${string}` | null | undefined;
|
617
|
+
from?: `0x${string}` | undefined;
|
618
|
+
hash?: `0x${string}` | undefined;
|
619
|
+
input?: `0x${string}` | undefined;
|
620
|
+
nonce?: `0x${string}` | undefined;
|
621
|
+
r?: `0x${string}` | undefined;
|
622
|
+
s?: `0x${string}` | undefined;
|
623
|
+
to?: `0x${string}` | null | undefined;
|
624
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
625
|
+
v?: `0x${string}` | undefined;
|
626
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
627
|
+
chainId?: `0x${string}` | undefined;
|
628
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
629
|
+
isSystemTx?: undefined;
|
630
|
+
mint?: undefined;
|
631
|
+
sourceHash?: undefined;
|
632
|
+
}) | ({
|
633
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
634
|
+
gas?: `0x${string}` | undefined;
|
635
|
+
value?: `0x${string}` | undefined;
|
636
|
+
gasPrice?: `0x${string}` | undefined;
|
637
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
638
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
639
|
+
blockHash?: `0x${string}` | null | undefined;
|
640
|
+
blockNumber?: `0x${string}` | null | undefined;
|
641
|
+
from?: `0x${string}` | undefined;
|
642
|
+
hash?: `0x${string}` | undefined;
|
643
|
+
input?: `0x${string}` | undefined;
|
644
|
+
nonce?: `0x${string}` | undefined;
|
645
|
+
r?: `0x${string}` | undefined;
|
646
|
+
s?: `0x${string}` | undefined;
|
647
|
+
to?: `0x${string}` | null | undefined;
|
648
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
649
|
+
v?: `0x${string}` | undefined;
|
650
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
651
|
+
chainId?: `0x${string}` | undefined;
|
652
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
653
|
+
isSystemTx?: undefined;
|
654
|
+
mint?: undefined;
|
655
|
+
sourceHash?: undefined;
|
656
|
+
}) | ({
|
657
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
658
|
+
gas?: `0x${string}` | undefined;
|
659
|
+
value?: `0x${string}` | undefined;
|
660
|
+
gasPrice?: `0x${string}` | undefined;
|
661
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
662
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
663
|
+
blockHash?: `0x${string}` | null | undefined;
|
664
|
+
blockNumber?: `0x${string}` | null | undefined;
|
665
|
+
from?: `0x${string}` | undefined;
|
666
|
+
hash?: `0x${string}` | undefined;
|
667
|
+
input?: `0x${string}` | undefined;
|
668
|
+
nonce?: `0x${string}` | undefined;
|
669
|
+
r?: `0x${string}` | undefined;
|
670
|
+
s?: `0x${string}` | undefined;
|
671
|
+
to?: `0x${string}` | null | undefined;
|
672
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
673
|
+
v?: `0x${string}` | undefined;
|
674
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
675
|
+
chainId?: `0x${string}` | undefined;
|
676
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
677
|
+
isSystemTx?: undefined;
|
678
|
+
mint?: undefined;
|
679
|
+
sourceHash?: undefined;
|
680
|
+
}) | ({
|
681
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
682
|
+
gas?: `0x${string}` | undefined;
|
683
|
+
value?: `0x${string}` | undefined;
|
684
|
+
gasPrice?: `0x${string}` | undefined;
|
685
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
686
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
687
|
+
blockHash?: `0x${string}` | null | undefined;
|
688
|
+
blockNumber?: `0x${string}` | null | undefined;
|
689
|
+
from?: `0x${string}` | undefined;
|
690
|
+
hash?: `0x${string}` | undefined;
|
691
|
+
input?: `0x${string}` | undefined;
|
692
|
+
nonce?: `0x${string}` | undefined;
|
693
|
+
r?: `0x${string}` | undefined;
|
694
|
+
s?: `0x${string}` | undefined;
|
695
|
+
to?: `0x${string}` | null | undefined;
|
696
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
697
|
+
v?: `0x${string}` | undefined;
|
698
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
699
|
+
chainId?: `0x${string}` | undefined;
|
700
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
701
|
+
isSystemTx?: boolean | undefined;
|
702
|
+
mint?: `0x${string}` | undefined;
|
703
|
+
sourceHash: `0x${string}`;
|
704
|
+
type: "0x7e";
|
705
|
+
}) | ({
|
706
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
707
|
+
gas?: `0x${string}` | undefined;
|
708
|
+
value?: `0x${string}` | undefined;
|
709
|
+
gasPrice?: `0x${string}` | undefined;
|
710
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
711
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
712
|
+
blockHash?: `0x${string}` | null | undefined;
|
713
|
+
blockNumber?: `0x${string}` | null | undefined;
|
714
|
+
from?: `0x${string}` | undefined;
|
715
|
+
hash?: `0x${string}` | undefined;
|
716
|
+
input?: `0x${string}` | undefined;
|
717
|
+
nonce?: `0x${string}` | undefined;
|
718
|
+
r?: `0x${string}` | undefined;
|
719
|
+
s?: `0x${string}` | undefined;
|
720
|
+
to?: `0x${string}` | null | undefined;
|
721
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
722
|
+
v?: `0x${string}` | undefined;
|
723
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
724
|
+
chainId?: `0x${string}` | undefined;
|
725
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
726
|
+
isSystemTx?: undefined;
|
727
|
+
mint?: undefined;
|
728
|
+
sourceHash?: undefined;
|
729
|
+
}) | ({
|
730
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
731
|
+
gas?: `0x${string}` | undefined;
|
732
|
+
value?: `0x${string}` | undefined;
|
733
|
+
gasPrice?: `0x${string}` | undefined;
|
734
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
735
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
736
|
+
blockHash?: `0x${string}` | null | undefined;
|
737
|
+
blockNumber?: `0x${string}` | null | undefined;
|
738
|
+
from?: `0x${string}` | undefined;
|
739
|
+
hash?: `0x${string}` | undefined;
|
740
|
+
input?: `0x${string}` | undefined;
|
741
|
+
nonce?: `0x${string}` | undefined;
|
742
|
+
r?: `0x${string}` | undefined;
|
743
|
+
s?: `0x${string}` | undefined;
|
744
|
+
to?: `0x${string}` | null | undefined;
|
745
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
746
|
+
v?: `0x${string}` | undefined;
|
747
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
748
|
+
chainId?: `0x${string}` | undefined;
|
749
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
750
|
+
isSystemTx?: undefined;
|
751
|
+
mint?: undefined;
|
752
|
+
sourceHash?: undefined;
|
753
|
+
}) | ({
|
754
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
755
|
+
gas?: `0x${string}` | undefined;
|
756
|
+
value?: `0x${string}` | undefined;
|
757
|
+
gasPrice?: `0x${string}` | undefined;
|
758
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
759
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
760
|
+
blockHash?: `0x${string}` | null | undefined;
|
761
|
+
blockNumber?: `0x${string}` | null | undefined;
|
762
|
+
from?: `0x${string}` | undefined;
|
763
|
+
hash?: `0x${string}` | undefined;
|
764
|
+
input?: `0x${string}` | undefined;
|
765
|
+
nonce?: `0x${string}` | undefined;
|
766
|
+
r?: `0x${string}` | undefined;
|
767
|
+
s?: `0x${string}` | undefined;
|
768
|
+
to?: `0x${string}` | null | undefined;
|
769
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
770
|
+
v?: `0x${string}` | undefined;
|
771
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
772
|
+
chainId?: `0x${string}` | undefined;
|
773
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
774
|
+
isSystemTx?: undefined;
|
775
|
+
mint?: undefined;
|
776
|
+
sourceHash?: undefined;
|
777
|
+
}) | ({
|
778
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
779
|
+
gas?: `0x${string}` | undefined;
|
780
|
+
value?: `0x${string}` | undefined;
|
781
|
+
gasPrice?: `0x${string}` | undefined;
|
782
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
783
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
784
|
+
blockHash?: `0x${string}` | null | undefined;
|
785
|
+
blockNumber?: `0x${string}` | null | undefined;
|
786
|
+
from?: `0x${string}` | undefined;
|
787
|
+
hash?: `0x${string}` | undefined;
|
788
|
+
input?: `0x${string}` | undefined;
|
789
|
+
nonce?: `0x${string}` | undefined;
|
790
|
+
r?: `0x${string}` | undefined;
|
791
|
+
s?: `0x${string}` | undefined;
|
792
|
+
to?: `0x${string}` | null | undefined;
|
793
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
794
|
+
v?: `0x${string}` | undefined;
|
795
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
796
|
+
chainId?: `0x${string}` | undefined;
|
797
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
798
|
+
isSystemTx?: boolean | undefined;
|
799
|
+
mint?: `0x${string}` | undefined;
|
800
|
+
sourceHash: `0x${string}`;
|
801
|
+
type: "0x7e";
|
802
|
+
})) => ({
|
803
|
+
blockHash: `0x${string}` | null;
|
804
|
+
blockNumber: bigint | null;
|
805
|
+
from: `0x${string}`;
|
806
|
+
gas: bigint;
|
807
|
+
hash: `0x${string}`;
|
808
|
+
input: `0x${string}`;
|
809
|
+
nonce: number;
|
810
|
+
r: `0x${string}`;
|
811
|
+
s: `0x${string}`;
|
812
|
+
to: `0x${string}` | null;
|
813
|
+
transactionIndex: number | null;
|
814
|
+
typeHex: `0x${string}` | null;
|
815
|
+
v: bigint;
|
816
|
+
value: bigint;
|
817
|
+
gasPrice: bigint;
|
818
|
+
maxFeePerGas?: undefined;
|
819
|
+
maxPriorityFeePerGas?: undefined;
|
820
|
+
accessList?: undefined;
|
821
|
+
chainId?: number | undefined;
|
822
|
+
type: "legacy";
|
823
|
+
isSystemTx?: undefined;
|
824
|
+
mint?: undefined;
|
825
|
+
sourceHash?: undefined;
|
826
|
+
} | {
|
827
|
+
blockHash: `0x${string}` | null;
|
828
|
+
blockNumber: bigint | null;
|
829
|
+
from: `0x${string}`;
|
830
|
+
gas: bigint;
|
831
|
+
hash: `0x${string}`;
|
832
|
+
input: `0x${string}`;
|
833
|
+
nonce: number;
|
834
|
+
r: `0x${string}`;
|
835
|
+
s: `0x${string}`;
|
836
|
+
to: `0x${string}` | null;
|
837
|
+
transactionIndex: number | null;
|
838
|
+
typeHex: `0x${string}` | null;
|
839
|
+
v: bigint;
|
840
|
+
value: bigint;
|
841
|
+
gasPrice: undefined;
|
842
|
+
maxFeePerGas: bigint;
|
843
|
+
maxPriorityFeePerGas: bigint;
|
844
|
+
accessList?: undefined;
|
845
|
+
chainId?: number | undefined;
|
846
|
+
type: "deposit";
|
847
|
+
isSystemTx?: boolean | undefined;
|
848
|
+
mint?: bigint | undefined;
|
849
|
+
sourceHash: `0x${string}`;
|
850
|
+
} | {
|
851
|
+
blockHash: `0x${string}` | null;
|
852
|
+
blockNumber: bigint | null;
|
853
|
+
from: `0x${string}`;
|
854
|
+
gas: bigint;
|
855
|
+
hash: `0x${string}`;
|
856
|
+
input: `0x${string}`;
|
857
|
+
nonce: number;
|
858
|
+
r: `0x${string}`;
|
859
|
+
s: `0x${string}`;
|
860
|
+
to: `0x${string}` | null;
|
861
|
+
transactionIndex: number | null;
|
862
|
+
typeHex: `0x${string}` | null;
|
863
|
+
v: bigint;
|
864
|
+
value: bigint;
|
865
|
+
gasPrice: bigint;
|
866
|
+
maxFeePerGas?: undefined;
|
867
|
+
maxPriorityFeePerGas?: undefined;
|
868
|
+
accessList: import("../../index.js").AccessList;
|
869
|
+
chainId: number;
|
870
|
+
type: "eip2930";
|
871
|
+
isSystemTx?: undefined;
|
872
|
+
mint?: undefined;
|
873
|
+
sourceHash?: undefined;
|
874
|
+
} | {
|
875
|
+
blockHash: `0x${string}` | null;
|
876
|
+
blockNumber: bigint | null;
|
877
|
+
from: `0x${string}`;
|
878
|
+
gas: bigint;
|
879
|
+
hash: `0x${string}`;
|
880
|
+
input: `0x${string}`;
|
881
|
+
nonce: number;
|
882
|
+
r: `0x${string}`;
|
883
|
+
s: `0x${string}`;
|
884
|
+
to: `0x${string}` | null;
|
885
|
+
transactionIndex: number | null;
|
886
|
+
typeHex: `0x${string}` | null;
|
887
|
+
v: bigint;
|
888
|
+
value: bigint;
|
889
|
+
gasPrice: undefined;
|
890
|
+
maxFeePerGas: bigint;
|
891
|
+
maxPriorityFeePerGas: bigint;
|
892
|
+
accessList: import("../../index.js").AccessList;
|
893
|
+
chainId: number;
|
894
|
+
type: "eip1559";
|
895
|
+
isSystemTx?: undefined;
|
896
|
+
mint?: undefined;
|
897
|
+
sourceHash?: undefined;
|
898
|
+
} | {
|
899
|
+
blockHash: `0x${string}` | null;
|
900
|
+
blockNumber: bigint | null;
|
901
|
+
from: `0x${string}`;
|
902
|
+
gas: bigint;
|
903
|
+
hash: `0x${string}`;
|
904
|
+
input: `0x${string}`;
|
905
|
+
nonce: number;
|
906
|
+
r: `0x${string}`;
|
907
|
+
s: `0x${string}`;
|
908
|
+
to: `0x${string}` | null;
|
909
|
+
transactionIndex: number | null;
|
910
|
+
typeHex: `0x${string}` | null;
|
911
|
+
v: bigint;
|
912
|
+
value: bigint;
|
913
|
+
gasPrice: undefined;
|
914
|
+
maxFeePerGas: bigint;
|
915
|
+
maxPriorityFeePerGas: bigint;
|
916
|
+
accessList: import("../../index.js").AccessList;
|
917
|
+
chainId: number;
|
918
|
+
type: "deposit";
|
919
|
+
isSystemTx?: boolean | undefined;
|
920
|
+
mint?: bigint | undefined;
|
921
|
+
sourceHash: `0x${string}`;
|
922
|
+
} | {
|
923
|
+
blockHash: `0x${string}` | null;
|
924
|
+
blockNumber: bigint | null;
|
925
|
+
from: `0x${string}`;
|
926
|
+
gas: bigint;
|
927
|
+
hash: `0x${string}`;
|
928
|
+
input: `0x${string}`;
|
929
|
+
nonce: number;
|
930
|
+
r: `0x${string}`;
|
931
|
+
s: `0x${string}`;
|
932
|
+
to: `0x${string}` | null;
|
933
|
+
transactionIndex: number | null;
|
934
|
+
typeHex: `0x${string}` | null;
|
935
|
+
v: bigint;
|
936
|
+
value: bigint;
|
937
|
+
gasPrice: bigint;
|
938
|
+
maxFeePerGas: undefined;
|
939
|
+
maxPriorityFeePerGas: undefined;
|
940
|
+
accessList: import("../../index.js").AccessList;
|
941
|
+
chainId: number;
|
942
|
+
type: "eip2930";
|
943
|
+
isSystemTx?: undefined;
|
944
|
+
mint?: undefined;
|
945
|
+
sourceHash?: undefined;
|
946
|
+
} | {
|
947
|
+
blockHash: `0x${string}` | null;
|
948
|
+
blockNumber: bigint | null;
|
949
|
+
from: `0x${string}`;
|
950
|
+
gas: bigint;
|
951
|
+
hash: `0x${string}`;
|
952
|
+
input: `0x${string}`;
|
953
|
+
nonce: number;
|
954
|
+
r: `0x${string}`;
|
955
|
+
s: `0x${string}`;
|
956
|
+
to: `0x${string}` | null;
|
957
|
+
transactionIndex: number | null;
|
958
|
+
typeHex: `0x${string}` | null;
|
959
|
+
v: bigint;
|
960
|
+
value: bigint;
|
961
|
+
gasPrice?: undefined;
|
962
|
+
maxFeePerGas: bigint;
|
963
|
+
maxPriorityFeePerGas: bigint;
|
964
|
+
accessList: import("../../index.js").AccessList;
|
965
|
+
chainId: number;
|
966
|
+
type: "eip1559";
|
967
|
+
isSystemTx?: undefined;
|
968
|
+
mint?: undefined;
|
969
|
+
sourceHash?: undefined;
|
970
|
+
} | {
|
971
|
+
blockHash: `0x${string}` | null;
|
972
|
+
blockNumber: bigint | null;
|
973
|
+
from: `0x${string}`;
|
974
|
+
gas: bigint;
|
975
|
+
hash: `0x${string}`;
|
976
|
+
input: `0x${string}`;
|
977
|
+
nonce: number;
|
978
|
+
r: `0x${string}`;
|
979
|
+
s: `0x${string}`;
|
980
|
+
to: `0x${string}` | null;
|
981
|
+
transactionIndex: number | null;
|
982
|
+
typeHex: `0x${string}` | null;
|
983
|
+
v: bigint;
|
984
|
+
value: bigint;
|
985
|
+
gasPrice?: undefined;
|
986
|
+
maxFeePerGas: bigint;
|
987
|
+
maxPriorityFeePerGas: bigint;
|
988
|
+
accessList: import("../../index.js").AccessList;
|
989
|
+
chainId: number;
|
990
|
+
type: "deposit";
|
991
|
+
isSystemTx?: boolean | undefined;
|
992
|
+
mint?: bigint | undefined;
|
993
|
+
sourceHash: `0x${string}`;
|
994
|
+
}) & {};
|
995
|
+
type: "transaction";
|
996
|
+
};
|
997
|
+
readonly transactionReceipt: {
|
998
|
+
exclude: [] | undefined;
|
999
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
1000
|
+
blockHash: `0x${string}`;
|
1001
|
+
blockNumber: bigint;
|
1002
|
+
contractAddress: `0x${string}` | null;
|
1003
|
+
cumulativeGasUsed: bigint;
|
1004
|
+
effectiveGasPrice: bigint;
|
1005
|
+
from: `0x${string}`;
|
1006
|
+
gasUsed: bigint;
|
1007
|
+
logs: import("../../index.js").Log<bigint, number, false>[];
|
1008
|
+
logsBloom: `0x${string}`;
|
1009
|
+
status: "success" | "reverted";
|
1010
|
+
to: `0x${string}` | null;
|
1011
|
+
transactionHash: `0x${string}`;
|
1012
|
+
transactionIndex: number;
|
1013
|
+
type: import("../../index.js").TransactionType;
|
1014
|
+
l1GasPrice: bigint | null;
|
1015
|
+
l1GasUsed: bigint | null;
|
1016
|
+
l1Fee: bigint | null;
|
1017
|
+
l1FeeScalar: number | null;
|
1018
|
+
} & {};
|
1019
|
+
type: "transactionReceipt";
|
1020
|
+
};
|
1021
|
+
}> | undefined;
|
1022
|
+
fees?: import("../../index.js").ChainFees<{
|
1023
|
+
readonly block: {
|
1024
|
+
exclude: [] | undefined;
|
1025
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcBlock>, import("../utils.js").OptimismRpcBlockOverrides & {
|
1026
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismRpcTransaction[];
|
1027
|
+
}>) => {
|
1028
|
+
baseFeePerGas: bigint | null;
|
1029
|
+
difficulty: bigint;
|
1030
|
+
extraData: `0x${string}`;
|
1031
|
+
gasLimit: bigint;
|
1032
|
+
gasUsed: bigint;
|
1033
|
+
hash: `0x${string}` | null;
|
1034
|
+
logsBloom: `0x${string}` | null;
|
1035
|
+
miner: `0x${string}`;
|
1036
|
+
mixHash: `0x${string}`;
|
1037
|
+
nonce: `0x${string}` | null;
|
1038
|
+
number: bigint | null;
|
1039
|
+
parentHash: `0x${string}`;
|
1040
|
+
receiptsRoot: `0x${string}`;
|
1041
|
+
sealFields: `0x${string}`[];
|
1042
|
+
sha3Uncles: `0x${string}`;
|
1043
|
+
size: bigint;
|
1044
|
+
stateRoot: `0x${string}`;
|
1045
|
+
timestamp: bigint;
|
1046
|
+
totalDifficulty: bigint | null;
|
1047
|
+
transactions: `0x${string}`[] | import("../utils.js").OptimismTransaction[];
|
1048
|
+
transactionsRoot: `0x${string}`;
|
1049
|
+
uncles: `0x${string}`[];
|
1050
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
1051
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
1052
|
+
} & {};
|
1053
|
+
type: "block";
|
1054
|
+
};
|
1055
|
+
readonly transaction: {
|
1056
|
+
exclude: [] | undefined;
|
1057
|
+
format: (args: ({
|
1058
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1059
|
+
gas?: `0x${string}` | undefined;
|
1060
|
+
value?: `0x${string}` | undefined;
|
1061
|
+
gasPrice?: `0x${string}` | undefined;
|
1062
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1063
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1064
|
+
blockHash?: `0x${string}` | null | undefined;
|
1065
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1066
|
+
from?: `0x${string}` | undefined;
|
1067
|
+
hash?: `0x${string}` | undefined;
|
1068
|
+
input?: `0x${string}` | undefined;
|
1069
|
+
nonce?: `0x${string}` | undefined;
|
1070
|
+
r?: `0x${string}` | undefined;
|
1071
|
+
s?: `0x${string}` | undefined;
|
1072
|
+
to?: `0x${string}` | null | undefined;
|
1073
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1074
|
+
v?: `0x${string}` | undefined;
|
1075
|
+
accessList?: undefined;
|
1076
|
+
chainId?: `0x${string}` | undefined;
|
1077
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
1078
|
+
isSystemTx?: undefined;
|
1079
|
+
mint?: undefined;
|
1080
|
+
sourceHash?: undefined;
|
1081
|
+
}) | ({
|
1082
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1083
|
+
gas?: `0x${string}` | undefined;
|
1084
|
+
value?: `0x${string}` | undefined;
|
1085
|
+
gasPrice?: `0x${string}` | undefined;
|
1086
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1087
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1088
|
+
blockHash?: `0x${string}` | null | undefined;
|
1089
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1090
|
+
from?: `0x${string}` | undefined;
|
1091
|
+
hash?: `0x${string}` | undefined;
|
1092
|
+
input?: `0x${string}` | undefined;
|
1093
|
+
nonce?: `0x${string}` | undefined;
|
1094
|
+
r?: `0x${string}` | undefined;
|
1095
|
+
s?: `0x${string}` | undefined;
|
1096
|
+
to?: `0x${string}` | null | undefined;
|
1097
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1098
|
+
v?: `0x${string}` | undefined;
|
1099
|
+
accessList?: undefined;
|
1100
|
+
chainId?: `0x${string}` | undefined;
|
1101
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
1102
|
+
isSystemTx?: boolean | undefined;
|
1103
|
+
mint?: `0x${string}` | undefined;
|
1104
|
+
sourceHash: `0x${string}`;
|
1105
|
+
type: "0x7e";
|
1106
|
+
}) | ({
|
1107
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1108
|
+
gas?: `0x${string}` | undefined;
|
1109
|
+
value?: `0x${string}` | undefined;
|
1110
|
+
gasPrice?: `0x${string}` | undefined;
|
1111
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1112
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1113
|
+
blockHash?: `0x${string}` | null | undefined;
|
1114
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1115
|
+
from?: `0x${string}` | undefined;
|
1116
|
+
hash?: `0x${string}` | undefined;
|
1117
|
+
input?: `0x${string}` | undefined;
|
1118
|
+
nonce?: `0x${string}` | undefined;
|
1119
|
+
r?: `0x${string}` | undefined;
|
1120
|
+
s?: `0x${string}` | undefined;
|
1121
|
+
to?: `0x${string}` | null | undefined;
|
1122
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1123
|
+
v?: `0x${string}` | undefined;
|
1124
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1125
|
+
chainId?: `0x${string}` | undefined;
|
1126
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
1127
|
+
isSystemTx?: undefined;
|
1128
|
+
mint?: undefined;
|
1129
|
+
sourceHash?: undefined;
|
1130
|
+
}) | ({
|
1131
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1132
|
+
gas?: `0x${string}` | undefined;
|
1133
|
+
value?: `0x${string}` | undefined;
|
1134
|
+
gasPrice?: `0x${string}` | undefined;
|
1135
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1136
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1137
|
+
blockHash?: `0x${string}` | null | undefined;
|
1138
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1139
|
+
from?: `0x${string}` | undefined;
|
1140
|
+
hash?: `0x${string}` | undefined;
|
1141
|
+
input?: `0x${string}` | undefined;
|
1142
|
+
nonce?: `0x${string}` | undefined;
|
1143
|
+
r?: `0x${string}` | undefined;
|
1144
|
+
s?: `0x${string}` | undefined;
|
1145
|
+
to?: `0x${string}` | null | undefined;
|
1146
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1147
|
+
v?: `0x${string}` | undefined;
|
1148
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1149
|
+
chainId?: `0x${string}` | undefined;
|
1150
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
1151
|
+
isSystemTx?: undefined;
|
1152
|
+
mint?: undefined;
|
1153
|
+
sourceHash?: undefined;
|
1154
|
+
}) | ({
|
1155
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1156
|
+
gas?: `0x${string}` | undefined;
|
1157
|
+
value?: `0x${string}` | undefined;
|
1158
|
+
gasPrice?: `0x${string}` | undefined;
|
1159
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1160
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1161
|
+
blockHash?: `0x${string}` | null | undefined;
|
1162
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1163
|
+
from?: `0x${string}` | undefined;
|
1164
|
+
hash?: `0x${string}` | undefined;
|
1165
|
+
input?: `0x${string}` | undefined;
|
1166
|
+
nonce?: `0x${string}` | undefined;
|
1167
|
+
r?: `0x${string}` | undefined;
|
1168
|
+
s?: `0x${string}` | undefined;
|
1169
|
+
to?: `0x${string}` | null | undefined;
|
1170
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1171
|
+
v?: `0x${string}` | undefined;
|
1172
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1173
|
+
chainId?: `0x${string}` | undefined;
|
1174
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
1175
|
+
isSystemTx?: undefined;
|
1176
|
+
mint?: undefined;
|
1177
|
+
sourceHash?: undefined;
|
1178
|
+
}) | ({
|
1179
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1180
|
+
gas?: `0x${string}` | undefined;
|
1181
|
+
value?: `0x${string}` | undefined;
|
1182
|
+
gasPrice?: `0x${string}` | undefined;
|
1183
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1184
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1185
|
+
blockHash?: `0x${string}` | null | undefined;
|
1186
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1187
|
+
from?: `0x${string}` | undefined;
|
1188
|
+
hash?: `0x${string}` | undefined;
|
1189
|
+
input?: `0x${string}` | undefined;
|
1190
|
+
nonce?: `0x${string}` | undefined;
|
1191
|
+
r?: `0x${string}` | undefined;
|
1192
|
+
s?: `0x${string}` | undefined;
|
1193
|
+
to?: `0x${string}` | null | undefined;
|
1194
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1195
|
+
v?: `0x${string}` | undefined;
|
1196
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1197
|
+
chainId?: `0x${string}` | undefined;
|
1198
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
1199
|
+
isSystemTx?: boolean | undefined;
|
1200
|
+
mint?: `0x${string}` | undefined;
|
1201
|
+
sourceHash: `0x${string}`;
|
1202
|
+
type: "0x7e";
|
1203
|
+
}) | ({
|
1204
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1205
|
+
gas?: `0x${string}` | undefined;
|
1206
|
+
value?: `0x${string}` | undefined;
|
1207
|
+
gasPrice?: `0x${string}` | undefined;
|
1208
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1209
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1210
|
+
blockHash?: `0x${string}` | null | undefined;
|
1211
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1212
|
+
from?: `0x${string}` | undefined;
|
1213
|
+
hash?: `0x${string}` | undefined;
|
1214
|
+
input?: `0x${string}` | undefined;
|
1215
|
+
nonce?: `0x${string}` | undefined;
|
1216
|
+
r?: `0x${string}` | undefined;
|
1217
|
+
s?: `0x${string}` | undefined;
|
1218
|
+
to?: `0x${string}` | null | undefined;
|
1219
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1220
|
+
v?: `0x${string}` | undefined;
|
1221
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1222
|
+
chainId?: `0x${string}` | undefined;
|
1223
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
|
1224
|
+
isSystemTx?: undefined;
|
1225
|
+
mint?: undefined;
|
1226
|
+
sourceHash?: undefined;
|
1227
|
+
}) | ({
|
1228
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1229
|
+
gas?: `0x${string}` | undefined;
|
1230
|
+
value?: `0x${string}` | undefined;
|
1231
|
+
gasPrice?: `0x${string}` | undefined;
|
1232
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1233
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1234
|
+
blockHash?: `0x${string}` | null | undefined;
|
1235
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1236
|
+
from?: `0x${string}` | undefined;
|
1237
|
+
hash?: `0x${string}` | undefined;
|
1238
|
+
input?: `0x${string}` | undefined;
|
1239
|
+
nonce?: `0x${string}` | undefined;
|
1240
|
+
r?: `0x${string}` | undefined;
|
1241
|
+
s?: `0x${string}` | undefined;
|
1242
|
+
to?: `0x${string}` | null | undefined;
|
1243
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1244
|
+
v?: `0x${string}` | undefined;
|
1245
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1246
|
+
chainId?: `0x${string}` | undefined;
|
1247
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
|
1248
|
+
isSystemTx?: undefined;
|
1249
|
+
mint?: undefined;
|
1250
|
+
sourceHash?: undefined;
|
1251
|
+
}) | ({
|
1252
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1253
|
+
gas?: `0x${string}` | undefined;
|
1254
|
+
value?: `0x${string}` | undefined;
|
1255
|
+
gasPrice?: `0x${string}` | undefined;
|
1256
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1257
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1258
|
+
blockHash?: `0x${string}` | null | undefined;
|
1259
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1260
|
+
from?: `0x${string}` | undefined;
|
1261
|
+
hash?: `0x${string}` | undefined;
|
1262
|
+
input?: `0x${string}` | undefined;
|
1263
|
+
nonce?: `0x${string}` | undefined;
|
1264
|
+
r?: `0x${string}` | undefined;
|
1265
|
+
s?: `0x${string}` | undefined;
|
1266
|
+
to?: `0x${string}` | null | undefined;
|
1267
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1268
|
+
v?: `0x${string}` | undefined;
|
1269
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1270
|
+
chainId?: `0x${string}` | undefined;
|
1271
|
+
} & import("../index.js").Omit<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
|
1272
|
+
isSystemTx?: undefined;
|
1273
|
+
mint?: undefined;
|
1274
|
+
sourceHash?: undefined;
|
1275
|
+
}) | ({
|
1276
|
+
type?: "0x0" | "0x1" | "0x2" | "0x7e" | undefined;
|
1277
|
+
gas?: `0x${string}` | undefined;
|
1278
|
+
value?: `0x${string}` | undefined;
|
1279
|
+
gasPrice?: `0x${string}` | undefined;
|
1280
|
+
maxFeePerGas?: `0x${string}` | undefined;
|
1281
|
+
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
1282
|
+
blockHash?: `0x${string}` | null | undefined;
|
1283
|
+
blockNumber?: `0x${string}` | null | undefined;
|
1284
|
+
from?: `0x${string}` | undefined;
|
1285
|
+
hash?: `0x${string}` | undefined;
|
1286
|
+
input?: `0x${string}` | undefined;
|
1287
|
+
nonce?: `0x${string}` | undefined;
|
1288
|
+
r?: `0x${string}` | undefined;
|
1289
|
+
s?: `0x${string}` | undefined;
|
1290
|
+
to?: `0x${string}` | null | undefined;
|
1291
|
+
transactionIndex?: `0x${string}` | null | undefined;
|
1292
|
+
v?: `0x${string}` | undefined;
|
1293
|
+
accessList?: import("../../index.js").AccessList | undefined;
|
1294
|
+
chainId?: `0x${string}` | undefined;
|
1295
|
+
} & Omit<import("../../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean>, "typeHex"> & import("../../index.js").FeeValuesEIP1559<`0x${string}`> & {
|
1296
|
+
isSystemTx?: boolean | undefined;
|
1297
|
+
mint?: `0x${string}` | undefined;
|
1298
|
+
sourceHash: `0x${string}`;
|
1299
|
+
type: "0x7e";
|
1300
|
+
})) => ({
|
1301
|
+
blockHash: `0x${string}` | null;
|
1302
|
+
blockNumber: bigint | null;
|
1303
|
+
from: `0x${string}`;
|
1304
|
+
gas: bigint;
|
1305
|
+
hash: `0x${string}`;
|
1306
|
+
input: `0x${string}`;
|
1307
|
+
nonce: number;
|
1308
|
+
r: `0x${string}`;
|
1309
|
+
s: `0x${string}`;
|
1310
|
+
to: `0x${string}` | null;
|
1311
|
+
transactionIndex: number | null;
|
1312
|
+
typeHex: `0x${string}` | null;
|
1313
|
+
v: bigint;
|
1314
|
+
value: bigint;
|
1315
|
+
gasPrice: bigint;
|
1316
|
+
maxFeePerGas?: undefined;
|
1317
|
+
maxPriorityFeePerGas?: undefined;
|
1318
|
+
accessList?: undefined;
|
1319
|
+
chainId?: number | undefined;
|
1320
|
+
type: "legacy";
|
1321
|
+
isSystemTx?: undefined;
|
1322
|
+
mint?: undefined;
|
1323
|
+
sourceHash?: undefined;
|
1324
|
+
} | {
|
1325
|
+
blockHash: `0x${string}` | null;
|
1326
|
+
blockNumber: bigint | null;
|
1327
|
+
from: `0x${string}`;
|
1328
|
+
gas: bigint;
|
1329
|
+
hash: `0x${string}`;
|
1330
|
+
input: `0x${string}`;
|
1331
|
+
nonce: number;
|
1332
|
+
r: `0x${string}`;
|
1333
|
+
s: `0x${string}`;
|
1334
|
+
to: `0x${string}` | null;
|
1335
|
+
transactionIndex: number | null;
|
1336
|
+
typeHex: `0x${string}` | null;
|
1337
|
+
v: bigint;
|
1338
|
+
value: bigint;
|
1339
|
+
gasPrice: undefined;
|
1340
|
+
maxFeePerGas: bigint;
|
1341
|
+
maxPriorityFeePerGas: bigint;
|
1342
|
+
accessList?: undefined;
|
1343
|
+
chainId?: number | undefined;
|
1344
|
+
type: "deposit";
|
1345
|
+
isSystemTx?: boolean | undefined;
|
1346
|
+
mint?: bigint | undefined;
|
1347
|
+
sourceHash: `0x${string}`;
|
1348
|
+
} | {
|
1349
|
+
blockHash: `0x${string}` | null;
|
1350
|
+
blockNumber: bigint | null;
|
1351
|
+
from: `0x${string}`;
|
1352
|
+
gas: bigint;
|
1353
|
+
hash: `0x${string}`;
|
1354
|
+
input: `0x${string}`;
|
1355
|
+
nonce: number;
|
1356
|
+
r: `0x${string}`;
|
1357
|
+
s: `0x${string}`;
|
1358
|
+
to: `0x${string}` | null;
|
1359
|
+
transactionIndex: number | null;
|
1360
|
+
typeHex: `0x${string}` | null;
|
1361
|
+
v: bigint;
|
1362
|
+
value: bigint;
|
1363
|
+
gasPrice: bigint;
|
1364
|
+
maxFeePerGas?: undefined;
|
1365
|
+
maxPriorityFeePerGas?: undefined;
|
1366
|
+
accessList: import("../../index.js").AccessList;
|
1367
|
+
chainId: number;
|
1368
|
+
type: "eip2930";
|
1369
|
+
isSystemTx?: undefined;
|
1370
|
+
mint?: undefined;
|
1371
|
+
sourceHash?: undefined;
|
1372
|
+
} | {
|
1373
|
+
blockHash: `0x${string}` | null;
|
1374
|
+
blockNumber: bigint | null;
|
1375
|
+
from: `0x${string}`;
|
1376
|
+
gas: bigint;
|
1377
|
+
hash: `0x${string}`;
|
1378
|
+
input: `0x${string}`;
|
1379
|
+
nonce: number;
|
1380
|
+
r: `0x${string}`;
|
1381
|
+
s: `0x${string}`;
|
1382
|
+
to: `0x${string}` | null;
|
1383
|
+
transactionIndex: number | null;
|
1384
|
+
typeHex: `0x${string}` | null;
|
1385
|
+
v: bigint;
|
1386
|
+
value: bigint;
|
1387
|
+
gasPrice: undefined;
|
1388
|
+
maxFeePerGas: bigint;
|
1389
|
+
maxPriorityFeePerGas: bigint;
|
1390
|
+
accessList: import("../../index.js").AccessList;
|
1391
|
+
chainId: number;
|
1392
|
+
type: "eip1559";
|
1393
|
+
isSystemTx?: undefined;
|
1394
|
+
mint?: undefined;
|
1395
|
+
sourceHash?: undefined;
|
1396
|
+
} | {
|
1397
|
+
blockHash: `0x${string}` | null;
|
1398
|
+
blockNumber: bigint | null;
|
1399
|
+
from: `0x${string}`;
|
1400
|
+
gas: bigint;
|
1401
|
+
hash: `0x${string}`;
|
1402
|
+
input: `0x${string}`;
|
1403
|
+
nonce: number;
|
1404
|
+
r: `0x${string}`;
|
1405
|
+
s: `0x${string}`;
|
1406
|
+
to: `0x${string}` | null;
|
1407
|
+
transactionIndex: number | null;
|
1408
|
+
typeHex: `0x${string}` | null;
|
1409
|
+
v: bigint;
|
1410
|
+
value: bigint;
|
1411
|
+
gasPrice: undefined;
|
1412
|
+
maxFeePerGas: bigint;
|
1413
|
+
maxPriorityFeePerGas: bigint;
|
1414
|
+
accessList: import("../../index.js").AccessList;
|
1415
|
+
chainId: number;
|
1416
|
+
type: "deposit";
|
1417
|
+
isSystemTx?: boolean | undefined;
|
1418
|
+
mint?: bigint | undefined;
|
1419
|
+
sourceHash: `0x${string}`;
|
1420
|
+
} | {
|
1421
|
+
blockHash: `0x${string}` | null;
|
1422
|
+
blockNumber: bigint | null;
|
1423
|
+
from: `0x${string}`;
|
1424
|
+
gas: bigint;
|
1425
|
+
hash: `0x${string}`;
|
1426
|
+
input: `0x${string}`;
|
1427
|
+
nonce: number;
|
1428
|
+
r: `0x${string}`;
|
1429
|
+
s: `0x${string}`;
|
1430
|
+
to: `0x${string}` | null;
|
1431
|
+
transactionIndex: number | null;
|
1432
|
+
typeHex: `0x${string}` | null;
|
1433
|
+
v: bigint;
|
1434
|
+
value: bigint;
|
1435
|
+
gasPrice: bigint;
|
1436
|
+
maxFeePerGas: undefined;
|
1437
|
+
maxPriorityFeePerGas: undefined;
|
1438
|
+
accessList: import("../../index.js").AccessList;
|
1439
|
+
chainId: number;
|
1440
|
+
type: "eip2930";
|
1441
|
+
isSystemTx?: undefined;
|
1442
|
+
mint?: undefined;
|
1443
|
+
sourceHash?: undefined;
|
1444
|
+
} | {
|
1445
|
+
blockHash: `0x${string}` | null;
|
1446
|
+
blockNumber: bigint | null;
|
1447
|
+
from: `0x${string}`;
|
1448
|
+
gas: bigint;
|
1449
|
+
hash: `0x${string}`;
|
1450
|
+
input: `0x${string}`;
|
1451
|
+
nonce: number;
|
1452
|
+
r: `0x${string}`;
|
1453
|
+
s: `0x${string}`;
|
1454
|
+
to: `0x${string}` | null;
|
1455
|
+
transactionIndex: number | null;
|
1456
|
+
typeHex: `0x${string}` | null;
|
1457
|
+
v: bigint;
|
1458
|
+
value: bigint;
|
1459
|
+
gasPrice?: undefined;
|
1460
|
+
maxFeePerGas: bigint;
|
1461
|
+
maxPriorityFeePerGas: bigint;
|
1462
|
+
accessList: import("../../index.js").AccessList;
|
1463
|
+
chainId: number;
|
1464
|
+
type: "eip1559";
|
1465
|
+
isSystemTx?: undefined;
|
1466
|
+
mint?: undefined;
|
1467
|
+
sourceHash?: undefined;
|
1468
|
+
} | {
|
1469
|
+
blockHash: `0x${string}` | null;
|
1470
|
+
blockNumber: bigint | null;
|
1471
|
+
from: `0x${string}`;
|
1472
|
+
gas: bigint;
|
1473
|
+
hash: `0x${string}`;
|
1474
|
+
input: `0x${string}`;
|
1475
|
+
nonce: number;
|
1476
|
+
r: `0x${string}`;
|
1477
|
+
s: `0x${string}`;
|
1478
|
+
to: `0x${string}` | null;
|
1479
|
+
transactionIndex: number | null;
|
1480
|
+
typeHex: `0x${string}` | null;
|
1481
|
+
v: bigint;
|
1482
|
+
value: bigint;
|
1483
|
+
gasPrice?: undefined;
|
1484
|
+
maxFeePerGas: bigint;
|
1485
|
+
maxPriorityFeePerGas: bigint;
|
1486
|
+
accessList: import("../../index.js").AccessList;
|
1487
|
+
chainId: number;
|
1488
|
+
type: "deposit";
|
1489
|
+
isSystemTx?: boolean | undefined;
|
1490
|
+
mint?: bigint | undefined;
|
1491
|
+
sourceHash: `0x${string}`;
|
1492
|
+
}) & {};
|
1493
|
+
type: "transaction";
|
1494
|
+
};
|
1495
|
+
readonly transactionReceipt: {
|
1496
|
+
exclude: [] | undefined;
|
1497
|
+
format: (args: import("../index.js").Assign<Partial<import("../../index.js").RpcTransactionReceipt>, import("../utils.js").OptimismRpcTransactionReceiptOverrides>) => {
|
1498
|
+
blockHash: `0x${string}`;
|
1499
|
+
blockNumber: bigint;
|
1500
|
+
contractAddress: `0x${string}` | null;
|
1501
|
+
cumulativeGasUsed: bigint;
|
1502
|
+
effectiveGasPrice: bigint;
|
1503
|
+
from: `0x${string}`;
|
1504
|
+
gasUsed: bigint;
|
1505
|
+
logs: import("../../index.js").Log<bigint, number, false>[];
|
1506
|
+
logsBloom: `0x${string}`;
|
1507
|
+
status: "success" | "reverted";
|
1508
|
+
to: `0x${string}` | null;
|
1509
|
+
transactionHash: `0x${string}`;
|
1510
|
+
transactionIndex: number;
|
1511
|
+
type: import("../../index.js").TransactionType;
|
1512
|
+
l1GasPrice: bigint | null;
|
1513
|
+
l1GasUsed: bigint | null;
|
1514
|
+
l1Fee: bigint | null;
|
1515
|
+
l1FeeScalar: number | null;
|
1516
|
+
} & {};
|
1517
|
+
type: "transactionReceipt";
|
1518
|
+
};
|
1519
|
+
}> | undefined;
|
1520
|
+
};
|
524
1521
|
//# sourceMappingURL=optimism.d.ts.map
|