@otim/utils 0.0.2-development.0

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.
Files changed (421) hide show
  1. package/LICENSE +201 -0
  2. package/dist/api/api.d.mts +18 -0
  3. package/dist/api/api.d.ts +18 -0
  4. package/dist/api/api.d.ts.map +1 -0
  5. package/dist/api/core/error.d.mts +74 -0
  6. package/dist/api/core/error.d.ts +74 -0
  7. package/dist/api/core/error.d.ts.map +1 -0
  8. package/dist/api/core/index.d.mts +4 -0
  9. package/dist/api/core/index.d.ts +4 -0
  10. package/dist/api/core/index.d.ts.map +1 -0
  11. package/dist/api/core/instance.d.mts +13 -0
  12. package/dist/api/core/instance.d.ts +13 -0
  13. package/dist/api/core/instance.d.ts.map +1 -0
  14. package/dist/api/core/service.d.mts +51 -0
  15. package/dist/api/core/service.d.ts +51 -0
  16. package/dist/api/core/service.d.ts.map +1 -0
  17. package/dist/api/index.d.mts +7 -0
  18. package/dist/api/index.d.ts +7 -0
  19. package/dist/api/index.d.ts.map +1 -0
  20. package/dist/api/index.js +2061 -0
  21. package/dist/api/index.js.map +7 -0
  22. package/dist/api/index.mjs +2030 -0
  23. package/dist/api/index.mjs.map +7 -0
  24. package/dist/api/schemas/account.d.mts +44 -0
  25. package/dist/api/schemas/account.d.ts +44 -0
  26. package/dist/api/schemas/account.d.ts.map +1 -0
  27. package/dist/api/schemas/activity.d.mts +277 -0
  28. package/dist/api/schemas/activity.d.ts +277 -0
  29. package/dist/api/schemas/activity.d.ts.map +1 -0
  30. package/dist/api/schemas/auth.d.mts +127 -0
  31. package/dist/api/schemas/auth.d.ts +127 -0
  32. package/dist/api/schemas/auth.d.ts.map +1 -0
  33. package/dist/api/schemas/chain.d.mts +15 -0
  34. package/dist/api/schemas/chain.d.ts +15 -0
  35. package/dist/api/schemas/chain.d.ts.map +1 -0
  36. package/dist/api/schemas/config.d.mts +33 -0
  37. package/dist/api/schemas/config.d.ts +33 -0
  38. package/dist/api/schemas/config.d.ts.map +1 -0
  39. package/dist/api/schemas/contacts.d.mts +27 -0
  40. package/dist/api/schemas/contacts.d.ts +27 -0
  41. package/dist/api/schemas/contacts.d.ts.map +1 -0
  42. package/dist/api/schemas/index.d.mts +12 -0
  43. package/dist/api/schemas/index.d.ts +12 -0
  44. package/dist/api/schemas/index.d.ts.map +1 -0
  45. package/dist/api/schemas/instruction.d.mts +446 -0
  46. package/dist/api/schemas/instruction.d.ts +446 -0
  47. package/dist/api/schemas/instruction.d.ts.map +1 -0
  48. package/dist/api/schemas/integration.d.mts +166 -0
  49. package/dist/api/schemas/integration.d.ts +166 -0
  50. package/dist/api/schemas/integration.d.ts.map +1 -0
  51. package/dist/api/schemas/operating-account.d.mts +11 -0
  52. package/dist/api/schemas/operating-account.d.ts +11 -0
  53. package/dist/api/schemas/operating-account.d.ts.map +1 -0
  54. package/dist/api/schemas/payments.d.mts +196 -0
  55. package/dist/api/schemas/payments.d.ts +196 -0
  56. package/dist/api/schemas/payments.d.ts.map +1 -0
  57. package/dist/api/schemas/transaction.d.mts +37 -0
  58. package/dist/api/schemas/transaction.d.ts +37 -0
  59. package/dist/api/schemas/transaction.d.ts.map +1 -0
  60. package/dist/api/services/account.d.mts +8 -0
  61. package/dist/api/services/account.d.ts +8 -0
  62. package/dist/api/services/account.d.ts.map +1 -0
  63. package/dist/api/services/activity.d.mts +7 -0
  64. package/dist/api/services/activity.d.ts +7 -0
  65. package/dist/api/services/activity.d.ts.map +1 -0
  66. package/dist/api/services/auth.d.mts +12 -0
  67. package/dist/api/services/auth.d.ts +12 -0
  68. package/dist/api/services/auth.d.ts.map +1 -0
  69. package/dist/api/services/base.d.mts +10 -0
  70. package/dist/api/services/base.d.ts +10 -0
  71. package/dist/api/services/base.d.ts.map +1 -0
  72. package/dist/api/services/config.d.mts +10 -0
  73. package/dist/api/services/config.d.ts +10 -0
  74. package/dist/api/services/config.d.ts.map +1 -0
  75. package/dist/api/services/contacts.d.mts +8 -0
  76. package/dist/api/services/contacts.d.ts +8 -0
  77. package/dist/api/services/contacts.d.ts.map +1 -0
  78. package/dist/api/services/developer.d.mts +6 -0
  79. package/dist/api/services/developer.d.ts +6 -0
  80. package/dist/api/services/developer.d.ts.map +1 -0
  81. package/dist/api/services/index.d.mts +13 -0
  82. package/dist/api/services/index.d.ts +13 -0
  83. package/dist/api/services/index.d.ts.map +1 -0
  84. package/dist/api/services/instruction.d.mts +12 -0
  85. package/dist/api/services/instruction.d.ts +12 -0
  86. package/dist/api/services/instruction.d.ts.map +1 -0
  87. package/dist/api/services/integration.d.mts +8 -0
  88. package/dist/api/services/integration.d.ts +8 -0
  89. package/dist/api/services/integration.d.ts.map +1 -0
  90. package/dist/api/services/operating-account.d.mts +8 -0
  91. package/dist/api/services/operating-account.d.ts +8 -0
  92. package/dist/api/services/operating-account.d.ts.map +1 -0
  93. package/dist/api/services/payments.d.mts +13 -0
  94. package/dist/api/services/payments.d.ts +13 -0
  95. package/dist/api/services/payments.d.ts.map +1 -0
  96. package/dist/api/services/transaction.d.mts +8 -0
  97. package/dist/api/services/transaction.d.ts +8 -0
  98. package/dist/api/services/transaction.d.ts.map +1 -0
  99. package/dist/api/services/uniswap-token-list-service.d.mts +66 -0
  100. package/dist/api/services/uniswap-token-list-service.d.ts +66 -0
  101. package/dist/api/services/uniswap-token-list-service.d.ts.map +1 -0
  102. package/dist/api/utils/index.d.mts +2 -0
  103. package/dist/api/utils/index.d.ts +2 -0
  104. package/dist/api/utils/index.d.ts.map +1 -0
  105. package/dist/api/utils/pagination.d.mts +32 -0
  106. package/dist/api/utils/pagination.d.ts +32 -0
  107. package/dist/api/utils/pagination.d.ts.map +1 -0
  108. package/dist/chains/config/all-chains.d.mts +4243 -0
  109. package/dist/chains/config/all-chains.d.ts +4243 -0
  110. package/dist/chains/config/all-chains.d.ts.map +1 -0
  111. package/dist/chains/config/custom-chains.d.mts +49 -0
  112. package/dist/chains/config/custom-chains.d.ts +49 -0
  113. package/dist/chains/config/custom-chains.d.ts.map +1 -0
  114. package/dist/chains/config/mainnet-chains.d.mts +1063 -0
  115. package/dist/chains/config/mainnet-chains.d.ts +1063 -0
  116. package/dist/chains/config/mainnet-chains.d.ts.map +1 -0
  117. package/dist/chains/config/supported-chains.d.mts +2172 -0
  118. package/dist/chains/config/supported-chains.d.ts +2172 -0
  119. package/dist/chains/config/supported-chains.d.ts.map +1 -0
  120. package/dist/chains/config/testnet-chains.d.mts +1110 -0
  121. package/dist/chains/config/testnet-chains.d.ts +1110 -0
  122. package/dist/chains/config/testnet-chains.d.ts.map +1 -0
  123. package/dist/chains/index.d.mts +16 -0
  124. package/dist/chains/index.d.ts +16 -0
  125. package/dist/chains/index.d.ts.map +1 -0
  126. package/dist/chains/index.js +490 -0
  127. package/dist/chains/index.js.map +7 -0
  128. package/dist/chains/index.mjs +505 -0
  129. package/dist/chains/index.mjs.map +7 -0
  130. package/dist/chains/lambda/chain-mapping.d.mts +55 -0
  131. package/dist/chains/lambda/chain-mapping.d.ts +55 -0
  132. package/dist/chains/lambda/chain-mapping.d.ts.map +1 -0
  133. package/dist/chains/lambda/index.d.mts +2 -0
  134. package/dist/chains/lambda/index.d.ts +2 -0
  135. package/dist/chains/lambda/index.d.ts.map +1 -0
  136. package/dist/chains/tokens/chain-tokens.d.mts +6 -0
  137. package/dist/chains/tokens/chain-tokens.d.ts +6 -0
  138. package/dist/chains/tokens/chain-tokens.d.ts.map +1 -0
  139. package/dist/chains/tokens/token-addresses.d.mts +8 -0
  140. package/dist/chains/tokens/token-addresses.d.ts +8 -0
  141. package/dist/chains/tokens/token-addresses.d.ts.map +1 -0
  142. package/dist/chains/tokens/token-metadata.d.mts +5 -0
  143. package/dist/chains/tokens/token-metadata.d.ts +5 -0
  144. package/dist/chains/tokens/token-metadata.d.ts.map +1 -0
  145. package/dist/chains/types.d.mts +23 -0
  146. package/dist/chains/types.d.ts +23 -0
  147. package/dist/chains/types.d.ts.map +1 -0
  148. package/dist/chains/utils/filter-tokens.d.mts +3 -0
  149. package/dist/chains/utils/filter-tokens.d.ts +3 -0
  150. package/dist/chains/utils/filter-tokens.d.ts.map +1 -0
  151. package/dist/chains/utils/stablecoin.d.mts +7 -0
  152. package/dist/chains/utils/stablecoin.d.ts +7 -0
  153. package/dist/chains/utils/stablecoin.d.ts.map +1 -0
  154. package/dist/chains/utils/token-maps.d.mts +10 -0
  155. package/dist/chains/utils/token-maps.d.ts +10 -0
  156. package/dist/chains/utils/token-maps.d.ts.map +1 -0
  157. package/dist/constants.d.mts +31 -0
  158. package/dist/constants.d.ts +31 -0
  159. package/dist/constants.d.ts.map +1 -0
  160. package/dist/constants.js +47 -0
  161. package/dist/constants.js.map +7 -0
  162. package/dist/constants.mjs +26 -0
  163. package/dist/constants.mjs.map +7 -0
  164. package/dist/env.d.mts +17 -0
  165. package/dist/env.d.ts +17 -0
  166. package/dist/env.d.ts.map +1 -0
  167. package/dist/formatters/index.d.mts +2 -0
  168. package/dist/formatters/index.d.ts +2 -0
  169. package/dist/formatters/index.d.ts.map +1 -0
  170. package/dist/formatters/index.js +19 -0
  171. package/dist/formatters/index.js.map +7 -0
  172. package/dist/formatters/index.mjs +1 -0
  173. package/dist/formatters/index.mjs.map +7 -0
  174. package/dist/helpers/address.d.mts +7 -0
  175. package/dist/helpers/address.d.ts +7 -0
  176. package/dist/helpers/address.d.ts.map +1 -0
  177. package/dist/helpers/blockchain.d.mts +41 -0
  178. package/dist/helpers/blockchain.d.ts +41 -0
  179. package/dist/helpers/blockchain.d.ts.map +1 -0
  180. package/dist/helpers/date.d.mts +70 -0
  181. package/dist/helpers/date.d.ts +70 -0
  182. package/dist/helpers/date.d.ts.map +1 -0
  183. package/dist/helpers/datetime.d.mts +57 -0
  184. package/dist/helpers/datetime.d.ts +57 -0
  185. package/dist/helpers/datetime.d.ts.map +1 -0
  186. package/dist/helpers/domain.d.mts +2 -0
  187. package/dist/helpers/domain.d.ts +2 -0
  188. package/dist/helpers/domain.d.ts.map +1 -0
  189. package/dist/helpers/index.d.mts +19 -0
  190. package/dist/helpers/index.d.ts +19 -0
  191. package/dist/helpers/index.d.ts.map +1 -0
  192. package/dist/helpers/index.js +1322 -0
  193. package/dist/helpers/index.js.map +7 -0
  194. package/dist/helpers/index.mjs +1294 -0
  195. package/dist/helpers/index.mjs.map +7 -0
  196. package/dist/helpers/intl.d.mts +20 -0
  197. package/dist/helpers/intl.d.ts +20 -0
  198. package/dist/helpers/intl.d.ts.map +1 -0
  199. package/dist/helpers/logger.d.mts +26 -0
  200. package/dist/helpers/logger.d.ts +26 -0
  201. package/dist/helpers/logger.d.ts.map +1 -0
  202. package/dist/helpers/mask-options.d.mts +10 -0
  203. package/dist/helpers/mask-options.d.ts +10 -0
  204. package/dist/helpers/mask-options.d.ts.map +1 -0
  205. package/dist/helpers/num-formatter.d.mts +3 -0
  206. package/dist/helpers/num-formatter.d.ts +3 -0
  207. package/dist/helpers/num-formatter.d.ts.map +1 -0
  208. package/dist/helpers/polling.d.mts +39 -0
  209. package/dist/helpers/polling.d.ts +39 -0
  210. package/dist/helpers/polling.d.ts.map +1 -0
  211. package/dist/helpers/random.d.mts +10 -0
  212. package/dist/helpers/random.d.ts +10 -0
  213. package/dist/helpers/random.d.ts.map +1 -0
  214. package/dist/helpers/sdk-loader.d.mts +25 -0
  215. package/dist/helpers/sdk-loader.d.ts +25 -0
  216. package/dist/helpers/sdk-loader.d.ts.map +1 -0
  217. package/dist/helpers/signatures.d.mts +17 -0
  218. package/dist/helpers/signatures.d.ts +17 -0
  219. package/dist/helpers/signatures.d.ts.map +1 -0
  220. package/dist/helpers/string.d.mts +17 -0
  221. package/dist/helpers/string.d.ts +17 -0
  222. package/dist/helpers/string.d.ts.map +1 -0
  223. package/dist/helpers/types.d.mts +39 -0
  224. package/dist/helpers/types.d.ts +39 -0
  225. package/dist/helpers/types.d.ts.map +1 -0
  226. package/dist/helpers/url.d.mts +11 -0
  227. package/dist/helpers/url.d.ts +11 -0
  228. package/dist/helpers/url.d.ts.map +1 -0
  229. package/dist/helpers/window.d.mts +37 -0
  230. package/dist/helpers/window.d.ts +37 -0
  231. package/dist/helpers/window.d.ts.map +1 -0
  232. package/dist/helpers/zod.d.mts +30 -0
  233. package/dist/helpers/zod.d.ts +30 -0
  234. package/dist/helpers/zod.d.ts.map +1 -0
  235. package/dist/index.d.mts +1 -0
  236. package/dist/index.d.ts +1 -0
  237. package/dist/index.d.ts.map +1 -0
  238. package/dist/index.js +2 -0
  239. package/dist/index.js.map +7 -0
  240. package/dist/index.mjs +1 -0
  241. package/dist/index.mjs.map +7 -0
  242. package/dist/instructions/actions/index.d.mts +5 -0
  243. package/dist/instructions/actions/index.d.ts +5 -0
  244. package/dist/instructions/actions/index.d.ts.map +1 -0
  245. package/dist/instructions/actions/refuel/index.d.mts +15 -0
  246. package/dist/instructions/actions/refuel/index.d.ts +15 -0
  247. package/dist/instructions/actions/refuel/index.d.ts.map +1 -0
  248. package/dist/instructions/actions/swap/index.d.mts +19 -0
  249. package/dist/instructions/actions/swap/index.d.ts +19 -0
  250. package/dist/instructions/actions/swap/index.d.ts.map +1 -0
  251. package/dist/instructions/actions/sweep/index.d.mts +16 -0
  252. package/dist/instructions/actions/sweep/index.d.ts +16 -0
  253. package/dist/instructions/actions/sweep/index.d.ts.map +1 -0
  254. package/dist/instructions/actions/transfer/index.d.mts +13 -0
  255. package/dist/instructions/actions/transfer/index.d.ts +13 -0
  256. package/dist/instructions/actions/transfer/index.d.ts.map +1 -0
  257. package/dist/instructions/activate.d.mts +84 -0
  258. package/dist/instructions/activate.d.ts +84 -0
  259. package/dist/instructions/activate.d.ts.map +1 -0
  260. package/dist/instructions/build.d.mts +146 -0
  261. package/dist/instructions/build.d.ts +146 -0
  262. package/dist/instructions/build.d.ts.map +1 -0
  263. package/dist/instructions/constants.d.mts +9 -0
  264. package/dist/instructions/constants.d.ts +9 -0
  265. package/dist/instructions/constants.d.ts.map +1 -0
  266. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.mts +609 -0
  267. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts +609 -0
  268. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts.map +1 -0
  269. package/dist/instructions/index.d.mts +6 -0
  270. package/dist/instructions/index.d.ts +6 -0
  271. package/dist/instructions/index.d.ts.map +1 -0
  272. package/dist/instructions/index.js +1152 -0
  273. package/dist/instructions/index.js.map +7 -0
  274. package/dist/instructions/index.mjs +1119 -0
  275. package/dist/instructions/index.mjs.map +7 -0
  276. package/dist/instructions/types.d.mts +289 -0
  277. package/dist/instructions/types.d.ts +289 -0
  278. package/dist/instructions/types.d.ts.map +1 -0
  279. package/dist/payments/action-names.d.mts +16 -0
  280. package/dist/payments/action-names.d.ts +16 -0
  281. package/dist/payments/action-names.d.ts.map +1 -0
  282. package/dist/payments/actions/index.d.mts +5 -0
  283. package/dist/payments/actions/index.d.ts +5 -0
  284. package/dist/payments/actions/index.d.ts.map +1 -0
  285. package/dist/payments/actions/sweep-cctp.d.mts +15 -0
  286. package/dist/payments/actions/sweep-cctp.d.ts +15 -0
  287. package/dist/payments/actions/sweep-cctp.d.ts.map +1 -0
  288. package/dist/payments/actions/sweep-erc20.d.mts +12 -0
  289. package/dist/payments/actions/sweep-erc20.d.ts +12 -0
  290. package/dist/payments/actions/sweep-erc20.d.ts.map +1 -0
  291. package/dist/payments/actions/sweep-uniswap-v3.d.mts +17 -0
  292. package/dist/payments/actions/sweep-uniswap-v3.d.ts +17 -0
  293. package/dist/payments/actions/sweep-uniswap-v3.d.ts.map +1 -0
  294. package/dist/payments/actions/sweep.d.mts +12 -0
  295. package/dist/payments/actions/sweep.d.ts +12 -0
  296. package/dist/payments/actions/sweep.d.ts.map +1 -0
  297. package/dist/payments/build.d.mts +27 -0
  298. package/dist/payments/build.d.ts +27 -0
  299. package/dist/payments/build.d.ts.map +1 -0
  300. package/dist/payments/chain-token-config-builder.d.mts +10 -0
  301. package/dist/payments/chain-token-config-builder.d.ts +10 -0
  302. package/dist/payments/chain-token-config-builder.d.ts.map +1 -0
  303. package/dist/payments/comprehensive-payment-request.d.mts +25 -0
  304. package/dist/payments/comprehensive-payment-request.d.ts +25 -0
  305. package/dist/payments/comprehensive-payment-request.d.ts.map +1 -0
  306. package/dist/payments/config/cctp.d.mts +14 -0
  307. package/dist/payments/config/cctp.d.ts +14 -0
  308. package/dist/payments/config/cctp.d.ts.map +1 -0
  309. package/dist/payments/config/index.d.mts +3 -0
  310. package/dist/payments/config/index.d.ts +3 -0
  311. package/dist/payments/config/index.d.ts.map +1 -0
  312. package/dist/payments/config/tokens.d.mts +14 -0
  313. package/dist/payments/config/tokens.d.ts +14 -0
  314. package/dist/payments/config/tokens.d.ts.map +1 -0
  315. package/dist/payments/index.d.mts +16 -0
  316. package/dist/payments/index.d.ts +16 -0
  317. package/dist/payments/index.d.ts.map +1 -0
  318. package/dist/payments/index.js +1303 -0
  319. package/dist/payments/index.js.map +7 -0
  320. package/dist/payments/index.mjs +1281 -0
  321. package/dist/payments/index.mjs.map +7 -0
  322. package/dist/payments/instruction-registry.d.mts +19 -0
  323. package/dist/payments/instruction-registry.d.ts +19 -0
  324. package/dist/payments/instruction-registry.d.ts.map +1 -0
  325. package/dist/payments/payment-metadata-builder.d.mts +56 -0
  326. package/dist/payments/payment-metadata-builder.d.ts +56 -0
  327. package/dist/payments/payment-metadata-builder.d.ts.map +1 -0
  328. package/dist/payments/payment-metadata.d.mts +15 -0
  329. package/dist/payments/payment-metadata.d.ts +15 -0
  330. package/dist/payments/payment-metadata.d.ts.map +1 -0
  331. package/dist/payments/payment-request-token-resolver.d.mts +25 -0
  332. package/dist/payments/payment-request-token-resolver.d.ts +25 -0
  333. package/dist/payments/payment-request-token-resolver.d.ts.map +1 -0
  334. package/dist/payments/types.d.mts +40 -0
  335. package/dist/payments/types.d.ts +40 -0
  336. package/dist/payments/types.d.ts.map +1 -0
  337. package/dist/payments/validation.d.mts +19 -0
  338. package/dist/payments/validation.d.ts +19 -0
  339. package/dist/payments/validation.d.ts.map +1 -0
  340. package/dist/schemas/account.d.mts +9 -0
  341. package/dist/schemas/account.d.ts +9 -0
  342. package/dist/schemas/account.d.ts.map +1 -0
  343. package/dist/schemas/brand.d.mts +7 -0
  344. package/dist/schemas/brand.d.ts +7 -0
  345. package/dist/schemas/brand.d.ts.map +1 -0
  346. package/dist/schemas/contact.d.mts +18 -0
  347. package/dist/schemas/contact.d.ts +18 -0
  348. package/dist/schemas/contact.d.ts.map +1 -0
  349. package/dist/schemas/index.d.mts +10 -0
  350. package/dist/schemas/index.d.ts +10 -0
  351. package/dist/schemas/index.d.ts.map +1 -0
  352. package/dist/schemas/index.js +433 -0
  353. package/dist/schemas/index.js.map +7 -0
  354. package/dist/schemas/index.mjs +410 -0
  355. package/dist/schemas/index.mjs.map +7 -0
  356. package/dist/schemas/instruction.d.mts +248 -0
  357. package/dist/schemas/instruction.d.ts +248 -0
  358. package/dist/schemas/instruction.d.ts.map +1 -0
  359. package/dist/schemas/misc.d.mts +36 -0
  360. package/dist/schemas/misc.d.ts +36 -0
  361. package/dist/schemas/misc.d.ts.map +1 -0
  362. package/dist/schemas/payment.d.mts +64 -0
  363. package/dist/schemas/payment.d.ts +64 -0
  364. package/dist/schemas/payment.d.ts.map +1 -0
  365. package/dist/schemas/token.d.mts +17 -0
  366. package/dist/schemas/token.d.ts +17 -0
  367. package/dist/schemas/token.d.ts.map +1 -0
  368. package/dist/schemas/transaction.d.mts +65 -0
  369. package/dist/schemas/transaction.d.ts +65 -0
  370. package/dist/schemas/transaction.d.ts.map +1 -0
  371. package/dist/schemas/user.d.mts +24 -0
  372. package/dist/schemas/user.d.ts +24 -0
  373. package/dist/schemas/user.d.ts.map +1 -0
  374. package/dist/server/client.d.mts +3 -0
  375. package/dist/server/client.d.ts +3 -0
  376. package/dist/server/client.d.ts.map +1 -0
  377. package/dist/server/index.d.mts +3 -0
  378. package/dist/server/index.d.ts +3 -0
  379. package/dist/server/index.d.ts.map +1 -0
  380. package/dist/server/index.js +420 -0
  381. package/dist/server/index.js.map +7 -0
  382. package/dist/server/index.mjs +389 -0
  383. package/dist/server/index.mjs.map +7 -0
  384. package/dist/server/routes/account.d.mts +4 -0
  385. package/dist/server/routes/account.d.ts +4 -0
  386. package/dist/server/routes/account.d.ts.map +1 -0
  387. package/dist/server/routes/auth.d.mts +28 -0
  388. package/dist/server/routes/auth.d.ts +28 -0
  389. package/dist/server/routes/auth.d.ts.map +1 -0
  390. package/dist/server/routes/bridge.d.mts +192 -0
  391. package/dist/server/routes/bridge.d.ts +192 -0
  392. package/dist/server/routes/bridge.d.ts.map +1 -0
  393. package/dist/server/routes/config.d.mts +3 -0
  394. package/dist/server/routes/config.d.ts +3 -0
  395. package/dist/server/routes/config.d.ts.map +1 -0
  396. package/dist/server/routes/index.d.mts +8 -0
  397. package/dist/server/routes/index.d.ts +8 -0
  398. package/dist/server/routes/index.d.ts.map +1 -0
  399. package/dist/server/routes/instruction.d.mts +4 -0
  400. package/dist/server/routes/instruction.d.ts +4 -0
  401. package/dist/server/routes/instruction.d.ts.map +1 -0
  402. package/dist/server/routes/integration.d.mts +4 -0
  403. package/dist/server/routes/integration.d.ts +4 -0
  404. package/dist/server/routes/integration.d.ts.map +1 -0
  405. package/dist/server/routes/payments.d.mts +4 -0
  406. package/dist/server/routes/payments.d.ts +4 -0
  407. package/dist/server/routes/payments.d.ts.map +1 -0
  408. package/dist/server/routes/verify.d.mts +3 -0
  409. package/dist/server/routes/verify.d.ts +3 -0
  410. package/dist/server/routes/verify.d.ts.map +1 -0
  411. package/dist/wallet/wagmi/config.d.mts +18 -0
  412. package/dist/wallet/wagmi/config.d.ts +18 -0
  413. package/dist/wallet/wagmi/config.d.ts.map +1 -0
  414. package/dist/wallet/wagmi/index.d.mts +2 -0
  415. package/dist/wallet/wagmi/index.d.ts +2 -0
  416. package/dist/wallet/wagmi/index.d.ts.map +1 -0
  417. package/dist/wallet/wagmi/index.js +429 -0
  418. package/dist/wallet/wagmi/index.js.map +7 -0
  419. package/dist/wallet/wagmi/index.mjs +431 -0
  420. package/dist/wallet/wagmi/index.mjs.map +7 -0
  421. package/package.json +222 -0
@@ -0,0 +1,2172 @@
1
+ import type { ChainConfig } from "../types";
2
+ import type { Optional } from "@otim/utils/helpers";
3
+ import type { Chain } from "viem/chains";
4
+ export declare const allChains: readonly [{
5
+ blockExplorers: {
6
+ readonly default: {
7
+ readonly name: "Etherscan";
8
+ readonly url: "https://etherscan.io";
9
+ readonly apiUrl: "https://api.etherscan.io/api";
10
+ };
11
+ };
12
+ blockTime: 12000;
13
+ contracts: {
14
+ readonly ensUniversalResolver: {
15
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
16
+ readonly blockCreated: 23085558;
17
+ };
18
+ readonly multicall3: {
19
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
20
+ readonly blockCreated: 14353601;
21
+ };
22
+ };
23
+ ensTlds?: readonly string[] | undefined;
24
+ id: 1;
25
+ name: "Ethereum";
26
+ nativeCurrency: {
27
+ readonly name: "Ether";
28
+ readonly symbol: "ETH";
29
+ readonly decimals: 18;
30
+ };
31
+ experimental_preconfirmationTime?: number | undefined | undefined;
32
+ rpcUrls: {
33
+ readonly default: {
34
+ readonly http: readonly ["https://eth.merkle.io"];
35
+ };
36
+ };
37
+ sourceId?: number | undefined | undefined;
38
+ testnet?: boolean | undefined | undefined;
39
+ custom?: Record<string, unknown> | undefined;
40
+ fees?: import("viem").ChainFees<undefined> | undefined;
41
+ formatters?: undefined;
42
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
43
+ }, {
44
+ blockExplorers: {
45
+ readonly default: {
46
+ readonly name: "Basescan";
47
+ readonly url: "https://basescan.org";
48
+ readonly apiUrl: "https://api.basescan.org/api";
49
+ };
50
+ };
51
+ blockTime: 2000;
52
+ contracts: {
53
+ readonly disputeGameFactory: {
54
+ readonly 1: {
55
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
56
+ };
57
+ };
58
+ readonly l2OutputOracle: {
59
+ readonly 1: {
60
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
61
+ };
62
+ };
63
+ readonly multicall3: {
64
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
65
+ readonly blockCreated: 5022;
66
+ };
67
+ readonly portal: {
68
+ readonly 1: {
69
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
70
+ readonly blockCreated: 17482143;
71
+ };
72
+ };
73
+ readonly l1StandardBridge: {
74
+ readonly 1: {
75
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
76
+ readonly blockCreated: 17482143;
77
+ };
78
+ };
79
+ readonly gasPriceOracle: {
80
+ readonly address: "0x420000000000000000000000000000000000000F";
81
+ };
82
+ readonly l1Block: {
83
+ readonly address: "0x4200000000000000000000000000000000000015";
84
+ };
85
+ readonly l2CrossDomainMessenger: {
86
+ readonly address: "0x4200000000000000000000000000000000000007";
87
+ };
88
+ readonly l2Erc721Bridge: {
89
+ readonly address: "0x4200000000000000000000000000000000000014";
90
+ };
91
+ readonly l2StandardBridge: {
92
+ readonly address: "0x4200000000000000000000000000000000000010";
93
+ };
94
+ readonly l2ToL1MessagePasser: {
95
+ readonly address: "0x4200000000000000000000000000000000000016";
96
+ };
97
+ };
98
+ ensTlds?: readonly string[] | undefined;
99
+ id: 8453;
100
+ name: "Base";
101
+ nativeCurrency: {
102
+ readonly name: "Ether";
103
+ readonly symbol: "ETH";
104
+ readonly decimals: 18;
105
+ };
106
+ experimental_preconfirmationTime?: number | undefined | undefined;
107
+ rpcUrls: {
108
+ readonly default: {
109
+ readonly http: readonly ["https://mainnet.base.org"];
110
+ };
111
+ };
112
+ sourceId: 1;
113
+ testnet?: boolean | undefined | undefined;
114
+ custom?: Record<string, unknown> | undefined;
115
+ fees?: import("viem").ChainFees<undefined> | undefined;
116
+ formatters: {
117
+ readonly block: {
118
+ exclude: [] | undefined;
119
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
120
+ baseFeePerGas: bigint | null;
121
+ blobGasUsed: bigint;
122
+ difficulty: bigint;
123
+ excessBlobGas: bigint;
124
+ extraData: import("viem").Hex;
125
+ gasLimit: bigint;
126
+ gasUsed: bigint;
127
+ hash: `0x${string}` | null;
128
+ logsBloom: `0x${string}` | null;
129
+ miner: import("viem").Address;
130
+ mixHash: import("viem").Hash;
131
+ nonce: `0x${string}` | null;
132
+ number: bigint | null;
133
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
134
+ parentHash: import("viem").Hash;
135
+ receiptsRoot: import("viem").Hex;
136
+ sealFields: import("viem").Hex[];
137
+ sha3Uncles: import("viem").Hash;
138
+ size: bigint;
139
+ stateRoot: import("viem").Hash;
140
+ timestamp: bigint;
141
+ totalDifficulty: bigint | null;
142
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
143
+ transactionsRoot: import("viem").Hash;
144
+ uncles: import("viem").Hash[];
145
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
146
+ withdrawalsRoot?: `0x${string}` | undefined;
147
+ } & {};
148
+ type: "block";
149
+ };
150
+ readonly transaction: {
151
+ exclude: [] | undefined;
152
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
153
+ blockHash: `0x${string}` | null;
154
+ blockNumber: bigint | null;
155
+ from: import("viem").Address;
156
+ gas: bigint;
157
+ hash: import("viem").Hash;
158
+ input: import("viem").Hex;
159
+ nonce: number;
160
+ r: import("viem").Hex;
161
+ s: import("viem").Hex;
162
+ to: import("viem").Address | null;
163
+ transactionIndex: number | null;
164
+ typeHex: import("viem").Hex | null;
165
+ v: bigint;
166
+ value: bigint;
167
+ yParity: number;
168
+ gasPrice?: undefined | undefined;
169
+ maxFeePerBlobGas?: undefined | undefined;
170
+ maxFeePerGas: bigint;
171
+ maxPriorityFeePerGas: bigint;
172
+ isSystemTx?: boolean;
173
+ mint?: bigint | undefined | undefined;
174
+ sourceHash: import("viem").Hex;
175
+ type: "deposit";
176
+ } | {
177
+ r: import("viem").Hex;
178
+ s: import("viem").Hex;
179
+ v: bigint;
180
+ value: bigint;
181
+ gas: bigint;
182
+ to: import("viem").Address | null;
183
+ from: import("viem").Address;
184
+ nonce: number;
185
+ blockHash: `0x${string}` | null;
186
+ blockNumber: bigint | null;
187
+ transactionIndex: number | null;
188
+ hash: import("viem").Hash;
189
+ input: import("viem").Hex;
190
+ typeHex: import("viem").Hex | null;
191
+ accessList?: undefined | undefined;
192
+ authorizationList?: undefined | undefined;
193
+ blobVersionedHashes?: undefined | undefined;
194
+ chainId?: number | undefined;
195
+ yParity?: undefined | undefined;
196
+ type: "legacy";
197
+ gasPrice: bigint;
198
+ maxFeePerBlobGas?: undefined | undefined;
199
+ maxFeePerGas?: undefined | undefined;
200
+ maxPriorityFeePerGas?: undefined | undefined;
201
+ isSystemTx?: undefined | undefined;
202
+ mint?: undefined | undefined;
203
+ sourceHash?: undefined | undefined;
204
+ } | {
205
+ blockHash: `0x${string}` | null;
206
+ blockNumber: bigint | null;
207
+ from: import("viem").Address;
208
+ gas: bigint;
209
+ hash: import("viem").Hash;
210
+ input: import("viem").Hex;
211
+ nonce: number;
212
+ r: import("viem").Hex;
213
+ s: import("viem").Hex;
214
+ to: import("viem").Address | null;
215
+ transactionIndex: number | null;
216
+ typeHex: import("viem").Hex | null;
217
+ v: bigint;
218
+ value: bigint;
219
+ yParity: number;
220
+ accessList: import("viem").AccessList;
221
+ authorizationList?: undefined | undefined;
222
+ blobVersionedHashes?: undefined | undefined;
223
+ chainId: number;
224
+ type: "eip2930";
225
+ gasPrice: bigint;
226
+ maxFeePerBlobGas?: undefined | undefined;
227
+ maxFeePerGas?: undefined | undefined;
228
+ maxPriorityFeePerGas?: undefined | undefined;
229
+ isSystemTx?: undefined | undefined;
230
+ mint?: undefined | undefined;
231
+ sourceHash?: undefined | undefined;
232
+ } | {
233
+ blockHash: `0x${string}` | null;
234
+ blockNumber: bigint | null;
235
+ from: import("viem").Address;
236
+ gas: bigint;
237
+ hash: import("viem").Hash;
238
+ input: import("viem").Hex;
239
+ nonce: number;
240
+ r: import("viem").Hex;
241
+ s: import("viem").Hex;
242
+ to: import("viem").Address | null;
243
+ transactionIndex: number | null;
244
+ typeHex: import("viem").Hex | null;
245
+ v: bigint;
246
+ value: bigint;
247
+ yParity: number;
248
+ accessList: import("viem").AccessList;
249
+ authorizationList?: undefined | undefined;
250
+ blobVersionedHashes?: undefined | undefined;
251
+ chainId: number;
252
+ type: "eip1559";
253
+ gasPrice?: undefined | undefined;
254
+ maxFeePerBlobGas?: undefined | undefined;
255
+ maxFeePerGas: bigint;
256
+ maxPriorityFeePerGas: bigint;
257
+ isSystemTx?: undefined | undefined;
258
+ mint?: undefined | undefined;
259
+ sourceHash?: undefined | undefined;
260
+ } | {
261
+ blockHash: `0x${string}` | null;
262
+ blockNumber: bigint | null;
263
+ from: import("viem").Address;
264
+ gas: bigint;
265
+ hash: import("viem").Hash;
266
+ input: import("viem").Hex;
267
+ nonce: number;
268
+ r: import("viem").Hex;
269
+ s: import("viem").Hex;
270
+ to: import("viem").Address | null;
271
+ transactionIndex: number | null;
272
+ typeHex: import("viem").Hex | null;
273
+ v: bigint;
274
+ value: bigint;
275
+ yParity: number;
276
+ accessList: import("viem").AccessList;
277
+ authorizationList?: undefined | undefined;
278
+ blobVersionedHashes: readonly import("viem").Hex[];
279
+ chainId: number;
280
+ type: "eip4844";
281
+ gasPrice?: undefined | undefined;
282
+ maxFeePerBlobGas: bigint;
283
+ maxFeePerGas: bigint;
284
+ maxPriorityFeePerGas: bigint;
285
+ isSystemTx?: undefined | undefined;
286
+ mint?: undefined | undefined;
287
+ sourceHash?: undefined | undefined;
288
+ } | {
289
+ blockHash: `0x${string}` | null;
290
+ blockNumber: bigint | null;
291
+ from: import("viem").Address;
292
+ gas: bigint;
293
+ hash: import("viem").Hash;
294
+ input: import("viem").Hex;
295
+ nonce: number;
296
+ r: import("viem").Hex;
297
+ s: import("viem").Hex;
298
+ to: import("viem").Address | null;
299
+ transactionIndex: number | null;
300
+ typeHex: import("viem").Hex | null;
301
+ v: bigint;
302
+ value: bigint;
303
+ yParity: number;
304
+ accessList: import("viem").AccessList;
305
+ authorizationList: import("viem").SignedAuthorizationList;
306
+ blobVersionedHashes?: undefined | undefined;
307
+ chainId: number;
308
+ type: "eip7702";
309
+ gasPrice?: undefined | undefined;
310
+ maxFeePerBlobGas?: undefined | undefined;
311
+ maxFeePerGas: bigint;
312
+ maxPriorityFeePerGas: bigint;
313
+ isSystemTx?: undefined | undefined;
314
+ mint?: undefined | undefined;
315
+ sourceHash?: undefined | undefined;
316
+ }) & {};
317
+ type: "transaction";
318
+ };
319
+ readonly transactionReceipt: {
320
+ exclude: [] | undefined;
321
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
322
+ blobGasPrice?: bigint | undefined;
323
+ blobGasUsed?: bigint | undefined;
324
+ blockHash: import("viem").Hash;
325
+ blockNumber: bigint;
326
+ contractAddress: import("viem").Address | null | undefined;
327
+ cumulativeGasUsed: bigint;
328
+ effectiveGasPrice: bigint;
329
+ from: import("viem").Address;
330
+ gasUsed: bigint;
331
+ logs: import("viem").Log<bigint, number, false>[];
332
+ logsBloom: import("viem").Hex;
333
+ root?: `0x${string}` | undefined;
334
+ status: "success" | "reverted";
335
+ to: import("viem").Address | null;
336
+ transactionHash: import("viem").Hash;
337
+ transactionIndex: number;
338
+ type: import("viem").TransactionType;
339
+ l1GasPrice: bigint | null;
340
+ l1GasUsed: bigint | null;
341
+ l1Fee: bigint | null;
342
+ l1FeeScalar: number | null;
343
+ } & {};
344
+ type: "transactionReceipt";
345
+ };
346
+ };
347
+ serializers: {
348
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
349
+ };
350
+ }, {
351
+ blockExplorers: {
352
+ readonly default: {
353
+ readonly name: "Arbiscan";
354
+ readonly url: "https://arbiscan.io";
355
+ readonly apiUrl: "https://api.arbiscan.io/api";
356
+ };
357
+ };
358
+ blockTime: 250;
359
+ contracts: {
360
+ readonly multicall3: {
361
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
362
+ readonly blockCreated: 7654707;
363
+ };
364
+ };
365
+ ensTlds?: readonly string[] | undefined;
366
+ id: 42161;
367
+ name: "Arbitrum One";
368
+ nativeCurrency: {
369
+ readonly name: "Ether";
370
+ readonly symbol: "ETH";
371
+ readonly decimals: 18;
372
+ };
373
+ experimental_preconfirmationTime?: number | undefined | undefined;
374
+ rpcUrls: {
375
+ readonly default: {
376
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
377
+ };
378
+ };
379
+ sourceId?: number | undefined | undefined;
380
+ testnet?: boolean | undefined | undefined;
381
+ custom?: Record<string, unknown> | undefined;
382
+ fees?: import("viem").ChainFees<undefined> | undefined;
383
+ formatters?: undefined;
384
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
385
+ }, {
386
+ blockExplorers: {
387
+ readonly default: {
388
+ readonly name: "Optimism Explorer";
389
+ readonly url: "https://optimistic.etherscan.io";
390
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
391
+ };
392
+ };
393
+ blockTime: 2000;
394
+ contracts: {
395
+ readonly disputeGameFactory: {
396
+ readonly 1: {
397
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
398
+ };
399
+ };
400
+ readonly l2OutputOracle: {
401
+ readonly 1: {
402
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
403
+ };
404
+ };
405
+ readonly multicall3: {
406
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
407
+ readonly blockCreated: 4286263;
408
+ };
409
+ readonly portal: {
410
+ readonly 1: {
411
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
412
+ };
413
+ };
414
+ readonly l1StandardBridge: {
415
+ readonly 1: {
416
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
417
+ };
418
+ };
419
+ readonly gasPriceOracle: {
420
+ readonly address: "0x420000000000000000000000000000000000000F";
421
+ };
422
+ readonly l1Block: {
423
+ readonly address: "0x4200000000000000000000000000000000000015";
424
+ };
425
+ readonly l2CrossDomainMessenger: {
426
+ readonly address: "0x4200000000000000000000000000000000000007";
427
+ };
428
+ readonly l2Erc721Bridge: {
429
+ readonly address: "0x4200000000000000000000000000000000000014";
430
+ };
431
+ readonly l2StandardBridge: {
432
+ readonly address: "0x4200000000000000000000000000000000000010";
433
+ };
434
+ readonly l2ToL1MessagePasser: {
435
+ readonly address: "0x4200000000000000000000000000000000000016";
436
+ };
437
+ };
438
+ ensTlds?: readonly string[] | undefined;
439
+ id: 10;
440
+ name: "OP Mainnet";
441
+ nativeCurrency: {
442
+ readonly name: "Ether";
443
+ readonly symbol: "ETH";
444
+ readonly decimals: 18;
445
+ };
446
+ experimental_preconfirmationTime?: number | undefined | undefined;
447
+ rpcUrls: {
448
+ readonly default: {
449
+ readonly http: readonly ["https://mainnet.optimism.io"];
450
+ };
451
+ };
452
+ sourceId: 1;
453
+ testnet?: boolean | undefined | undefined;
454
+ custom?: Record<string, unknown> | undefined;
455
+ fees?: import("viem").ChainFees<undefined> | undefined;
456
+ formatters: {
457
+ readonly block: {
458
+ exclude: [] | undefined;
459
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
460
+ baseFeePerGas: bigint | null;
461
+ blobGasUsed: bigint;
462
+ difficulty: bigint;
463
+ excessBlobGas: bigint;
464
+ extraData: import("viem").Hex;
465
+ gasLimit: bigint;
466
+ gasUsed: bigint;
467
+ hash: `0x${string}` | null;
468
+ logsBloom: `0x${string}` | null;
469
+ miner: import("viem").Address;
470
+ mixHash: import("viem").Hash;
471
+ nonce: `0x${string}` | null;
472
+ number: bigint | null;
473
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
474
+ parentHash: import("viem").Hash;
475
+ receiptsRoot: import("viem").Hex;
476
+ sealFields: import("viem").Hex[];
477
+ sha3Uncles: import("viem").Hash;
478
+ size: bigint;
479
+ stateRoot: import("viem").Hash;
480
+ timestamp: bigint;
481
+ totalDifficulty: bigint | null;
482
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
483
+ transactionsRoot: import("viem").Hash;
484
+ uncles: import("viem").Hash[];
485
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
486
+ withdrawalsRoot?: `0x${string}` | undefined;
487
+ } & {};
488
+ type: "block";
489
+ };
490
+ readonly transaction: {
491
+ exclude: [] | undefined;
492
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
493
+ blockHash: `0x${string}` | null;
494
+ blockNumber: bigint | null;
495
+ from: import("viem").Address;
496
+ gas: bigint;
497
+ hash: import("viem").Hash;
498
+ input: import("viem").Hex;
499
+ nonce: number;
500
+ r: import("viem").Hex;
501
+ s: import("viem").Hex;
502
+ to: import("viem").Address | null;
503
+ transactionIndex: number | null;
504
+ typeHex: import("viem").Hex | null;
505
+ v: bigint;
506
+ value: bigint;
507
+ yParity: number;
508
+ gasPrice?: undefined | undefined;
509
+ maxFeePerBlobGas?: undefined | undefined;
510
+ maxFeePerGas: bigint;
511
+ maxPriorityFeePerGas: bigint;
512
+ isSystemTx?: boolean;
513
+ mint?: bigint | undefined | undefined;
514
+ sourceHash: import("viem").Hex;
515
+ type: "deposit";
516
+ } | {
517
+ r: import("viem").Hex;
518
+ s: import("viem").Hex;
519
+ v: bigint;
520
+ value: bigint;
521
+ gas: bigint;
522
+ to: import("viem").Address | null;
523
+ from: import("viem").Address;
524
+ nonce: number;
525
+ blockHash: `0x${string}` | null;
526
+ blockNumber: bigint | null;
527
+ transactionIndex: number | null;
528
+ hash: import("viem").Hash;
529
+ input: import("viem").Hex;
530
+ typeHex: import("viem").Hex | null;
531
+ accessList?: undefined | undefined;
532
+ authorizationList?: undefined | undefined;
533
+ blobVersionedHashes?: undefined | undefined;
534
+ chainId?: number | undefined;
535
+ yParity?: undefined | undefined;
536
+ type: "legacy";
537
+ gasPrice: bigint;
538
+ maxFeePerBlobGas?: undefined | undefined;
539
+ maxFeePerGas?: undefined | undefined;
540
+ maxPriorityFeePerGas?: undefined | undefined;
541
+ isSystemTx?: undefined | undefined;
542
+ mint?: undefined | undefined;
543
+ sourceHash?: undefined | undefined;
544
+ } | {
545
+ blockHash: `0x${string}` | null;
546
+ blockNumber: bigint | null;
547
+ from: import("viem").Address;
548
+ gas: bigint;
549
+ hash: import("viem").Hash;
550
+ input: import("viem").Hex;
551
+ nonce: number;
552
+ r: import("viem").Hex;
553
+ s: import("viem").Hex;
554
+ to: import("viem").Address | null;
555
+ transactionIndex: number | null;
556
+ typeHex: import("viem").Hex | null;
557
+ v: bigint;
558
+ value: bigint;
559
+ yParity: number;
560
+ accessList: import("viem").AccessList;
561
+ authorizationList?: undefined | undefined;
562
+ blobVersionedHashes?: undefined | undefined;
563
+ chainId: number;
564
+ type: "eip2930";
565
+ gasPrice: bigint;
566
+ maxFeePerBlobGas?: undefined | undefined;
567
+ maxFeePerGas?: undefined | undefined;
568
+ maxPriorityFeePerGas?: undefined | undefined;
569
+ isSystemTx?: undefined | undefined;
570
+ mint?: undefined | undefined;
571
+ sourceHash?: undefined | undefined;
572
+ } | {
573
+ blockHash: `0x${string}` | null;
574
+ blockNumber: bigint | null;
575
+ from: import("viem").Address;
576
+ gas: bigint;
577
+ hash: import("viem").Hash;
578
+ input: import("viem").Hex;
579
+ nonce: number;
580
+ r: import("viem").Hex;
581
+ s: import("viem").Hex;
582
+ to: import("viem").Address | null;
583
+ transactionIndex: number | null;
584
+ typeHex: import("viem").Hex | null;
585
+ v: bigint;
586
+ value: bigint;
587
+ yParity: number;
588
+ accessList: import("viem").AccessList;
589
+ authorizationList?: undefined | undefined;
590
+ blobVersionedHashes?: undefined | undefined;
591
+ chainId: number;
592
+ type: "eip1559";
593
+ gasPrice?: undefined | undefined;
594
+ maxFeePerBlobGas?: undefined | undefined;
595
+ maxFeePerGas: bigint;
596
+ maxPriorityFeePerGas: bigint;
597
+ isSystemTx?: undefined | undefined;
598
+ mint?: undefined | undefined;
599
+ sourceHash?: undefined | undefined;
600
+ } | {
601
+ blockHash: `0x${string}` | null;
602
+ blockNumber: bigint | null;
603
+ from: import("viem").Address;
604
+ gas: bigint;
605
+ hash: import("viem").Hash;
606
+ input: import("viem").Hex;
607
+ nonce: number;
608
+ r: import("viem").Hex;
609
+ s: import("viem").Hex;
610
+ to: import("viem").Address | null;
611
+ transactionIndex: number | null;
612
+ typeHex: import("viem").Hex | null;
613
+ v: bigint;
614
+ value: bigint;
615
+ yParity: number;
616
+ accessList: import("viem").AccessList;
617
+ authorizationList?: undefined | undefined;
618
+ blobVersionedHashes: readonly import("viem").Hex[];
619
+ chainId: number;
620
+ type: "eip4844";
621
+ gasPrice?: undefined | undefined;
622
+ maxFeePerBlobGas: bigint;
623
+ maxFeePerGas: bigint;
624
+ maxPriorityFeePerGas: bigint;
625
+ isSystemTx?: undefined | undefined;
626
+ mint?: undefined | undefined;
627
+ sourceHash?: undefined | undefined;
628
+ } | {
629
+ blockHash: `0x${string}` | null;
630
+ blockNumber: bigint | null;
631
+ from: import("viem").Address;
632
+ gas: bigint;
633
+ hash: import("viem").Hash;
634
+ input: import("viem").Hex;
635
+ nonce: number;
636
+ r: import("viem").Hex;
637
+ s: import("viem").Hex;
638
+ to: import("viem").Address | null;
639
+ transactionIndex: number | null;
640
+ typeHex: import("viem").Hex | null;
641
+ v: bigint;
642
+ value: bigint;
643
+ yParity: number;
644
+ accessList: import("viem").AccessList;
645
+ authorizationList: import("viem").SignedAuthorizationList;
646
+ blobVersionedHashes?: undefined | undefined;
647
+ chainId: number;
648
+ type: "eip7702";
649
+ gasPrice?: undefined | undefined;
650
+ maxFeePerBlobGas?: undefined | undefined;
651
+ maxFeePerGas: bigint;
652
+ maxPriorityFeePerGas: bigint;
653
+ isSystemTx?: undefined | undefined;
654
+ mint?: undefined | undefined;
655
+ sourceHash?: undefined | undefined;
656
+ }) & {};
657
+ type: "transaction";
658
+ };
659
+ readonly transactionReceipt: {
660
+ exclude: [] | undefined;
661
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
662
+ blobGasPrice?: bigint | undefined;
663
+ blobGasUsed?: bigint | undefined;
664
+ blockHash: import("viem").Hash;
665
+ blockNumber: bigint;
666
+ contractAddress: import("viem").Address | null | undefined;
667
+ cumulativeGasUsed: bigint;
668
+ effectiveGasPrice: bigint;
669
+ from: import("viem").Address;
670
+ gasUsed: bigint;
671
+ logs: import("viem").Log<bigint, number, false>[];
672
+ logsBloom: import("viem").Hex;
673
+ root?: `0x${string}` | undefined;
674
+ status: "success" | "reverted";
675
+ to: import("viem").Address | null;
676
+ transactionHash: import("viem").Hash;
677
+ transactionIndex: number;
678
+ type: import("viem").TransactionType;
679
+ l1GasPrice: bigint | null;
680
+ l1GasUsed: bigint | null;
681
+ l1Fee: bigint | null;
682
+ l1FeeScalar: number | null;
683
+ } & {};
684
+ type: "transactionReceipt";
685
+ };
686
+ };
687
+ serializers: {
688
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
689
+ };
690
+ }, {
691
+ blockExplorers: {
692
+ readonly default: {
693
+ readonly name: "BscScan";
694
+ readonly url: "https://bscscan.com";
695
+ readonly apiUrl: "https://api.bscscan.com/api";
696
+ };
697
+ };
698
+ blockTime: 750;
699
+ contracts: {
700
+ readonly multicall3: {
701
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
702
+ readonly blockCreated: 15921452;
703
+ };
704
+ };
705
+ ensTlds?: readonly string[] | undefined;
706
+ id: 56;
707
+ name: "BNB Smart Chain";
708
+ nativeCurrency: {
709
+ readonly decimals: 18;
710
+ readonly name: "BNB";
711
+ readonly symbol: "BNB";
712
+ };
713
+ experimental_preconfirmationTime?: number | undefined | undefined;
714
+ rpcUrls: {
715
+ readonly default: {
716
+ readonly http: readonly ["https://56.rpc.thirdweb.com"];
717
+ };
718
+ };
719
+ sourceId?: number | undefined | undefined;
720
+ testnet?: boolean | undefined | undefined;
721
+ custom?: Record<string, unknown> | undefined;
722
+ fees?: import("viem").ChainFees<undefined> | undefined;
723
+ formatters?: undefined;
724
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
725
+ }, {
726
+ blockExplorers: {
727
+ readonly default: {
728
+ readonly name: "Uniscan";
729
+ readonly url: "https://uniscan.xyz";
730
+ readonly apiUrl: "https://api.uniscan.xyz/api";
731
+ };
732
+ };
733
+ blockTime: 1000;
734
+ contracts: {
735
+ readonly multicall3: {
736
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
737
+ readonly blockCreated: 0;
738
+ };
739
+ readonly disputeGameFactory: {
740
+ readonly 1: {
741
+ readonly address: "0x2F12d621a16e2d3285929C9996f478508951dFe4";
742
+ };
743
+ };
744
+ readonly portal: {
745
+ readonly 1: {
746
+ readonly address: "0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2";
747
+ };
748
+ };
749
+ readonly l1StandardBridge: {
750
+ readonly 1: {
751
+ readonly address: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA";
752
+ };
753
+ };
754
+ readonly gasPriceOracle: {
755
+ readonly address: "0x420000000000000000000000000000000000000F";
756
+ };
757
+ readonly l1Block: {
758
+ readonly address: "0x4200000000000000000000000000000000000015";
759
+ };
760
+ readonly l2CrossDomainMessenger: {
761
+ readonly address: "0x4200000000000000000000000000000000000007";
762
+ };
763
+ readonly l2Erc721Bridge: {
764
+ readonly address: "0x4200000000000000000000000000000000000014";
765
+ };
766
+ readonly l2StandardBridge: {
767
+ readonly address: "0x4200000000000000000000000000000000000010";
768
+ };
769
+ readonly l2ToL1MessagePasser: {
770
+ readonly address: "0x4200000000000000000000000000000000000016";
771
+ };
772
+ };
773
+ ensTlds?: readonly string[] | undefined;
774
+ id: 130;
775
+ name: "Unichain";
776
+ nativeCurrency: {
777
+ readonly name: "Ether";
778
+ readonly symbol: "ETH";
779
+ readonly decimals: 18;
780
+ };
781
+ experimental_preconfirmationTime?: number | undefined | undefined;
782
+ rpcUrls: {
783
+ readonly default: {
784
+ readonly http: readonly ["https://mainnet.unichain.org/"];
785
+ };
786
+ };
787
+ sourceId: 1;
788
+ testnet?: boolean | undefined | undefined;
789
+ custom?: Record<string, unknown> | undefined;
790
+ fees?: import("viem").ChainFees<undefined> | undefined;
791
+ formatters: {
792
+ readonly block: {
793
+ exclude: [] | undefined;
794
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
795
+ baseFeePerGas: bigint | null;
796
+ blobGasUsed: bigint;
797
+ difficulty: bigint;
798
+ excessBlobGas: bigint;
799
+ extraData: import("viem").Hex;
800
+ gasLimit: bigint;
801
+ gasUsed: bigint;
802
+ hash: `0x${string}` | null;
803
+ logsBloom: `0x${string}` | null;
804
+ miner: import("viem").Address;
805
+ mixHash: import("viem").Hash;
806
+ nonce: `0x${string}` | null;
807
+ number: bigint | null;
808
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
809
+ parentHash: import("viem").Hash;
810
+ receiptsRoot: import("viem").Hex;
811
+ sealFields: import("viem").Hex[];
812
+ sha3Uncles: import("viem").Hash;
813
+ size: bigint;
814
+ stateRoot: import("viem").Hash;
815
+ timestamp: bigint;
816
+ totalDifficulty: bigint | null;
817
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
818
+ transactionsRoot: import("viem").Hash;
819
+ uncles: import("viem").Hash[];
820
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
821
+ withdrawalsRoot?: `0x${string}` | undefined;
822
+ } & {};
823
+ type: "block";
824
+ };
825
+ readonly transaction: {
826
+ exclude: [] | undefined;
827
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
828
+ blockHash: `0x${string}` | null;
829
+ blockNumber: bigint | null;
830
+ from: import("viem").Address;
831
+ gas: bigint;
832
+ hash: import("viem").Hash;
833
+ input: import("viem").Hex;
834
+ nonce: number;
835
+ r: import("viem").Hex;
836
+ s: import("viem").Hex;
837
+ to: import("viem").Address | null;
838
+ transactionIndex: number | null;
839
+ typeHex: import("viem").Hex | null;
840
+ v: bigint;
841
+ value: bigint;
842
+ yParity: number;
843
+ gasPrice?: undefined | undefined;
844
+ maxFeePerBlobGas?: undefined | undefined;
845
+ maxFeePerGas: bigint;
846
+ maxPriorityFeePerGas: bigint;
847
+ isSystemTx?: boolean;
848
+ mint?: bigint | undefined | undefined;
849
+ sourceHash: import("viem").Hex;
850
+ type: "deposit";
851
+ } | {
852
+ r: import("viem").Hex;
853
+ s: import("viem").Hex;
854
+ v: bigint;
855
+ value: bigint;
856
+ gas: bigint;
857
+ to: import("viem").Address | null;
858
+ from: import("viem").Address;
859
+ nonce: number;
860
+ blockHash: `0x${string}` | null;
861
+ blockNumber: bigint | null;
862
+ transactionIndex: number | null;
863
+ hash: import("viem").Hash;
864
+ input: import("viem").Hex;
865
+ typeHex: import("viem").Hex | null;
866
+ accessList?: undefined | undefined;
867
+ authorizationList?: undefined | undefined;
868
+ blobVersionedHashes?: undefined | undefined;
869
+ chainId?: number | undefined;
870
+ yParity?: undefined | undefined;
871
+ type: "legacy";
872
+ gasPrice: bigint;
873
+ maxFeePerBlobGas?: undefined | undefined;
874
+ maxFeePerGas?: undefined | undefined;
875
+ maxPriorityFeePerGas?: undefined | undefined;
876
+ isSystemTx?: undefined | undefined;
877
+ mint?: undefined | undefined;
878
+ sourceHash?: undefined | undefined;
879
+ } | {
880
+ blockHash: `0x${string}` | null;
881
+ blockNumber: bigint | null;
882
+ from: import("viem").Address;
883
+ gas: bigint;
884
+ hash: import("viem").Hash;
885
+ input: import("viem").Hex;
886
+ nonce: number;
887
+ r: import("viem").Hex;
888
+ s: import("viem").Hex;
889
+ to: import("viem").Address | null;
890
+ transactionIndex: number | null;
891
+ typeHex: import("viem").Hex | null;
892
+ v: bigint;
893
+ value: bigint;
894
+ yParity: number;
895
+ accessList: import("viem").AccessList;
896
+ authorizationList?: undefined | undefined;
897
+ blobVersionedHashes?: undefined | undefined;
898
+ chainId: number;
899
+ type: "eip2930";
900
+ gasPrice: bigint;
901
+ maxFeePerBlobGas?: undefined | undefined;
902
+ maxFeePerGas?: undefined | undefined;
903
+ maxPriorityFeePerGas?: undefined | undefined;
904
+ isSystemTx?: undefined | undefined;
905
+ mint?: undefined | undefined;
906
+ sourceHash?: undefined | undefined;
907
+ } | {
908
+ blockHash: `0x${string}` | null;
909
+ blockNumber: bigint | null;
910
+ from: import("viem").Address;
911
+ gas: bigint;
912
+ hash: import("viem").Hash;
913
+ input: import("viem").Hex;
914
+ nonce: number;
915
+ r: import("viem").Hex;
916
+ s: import("viem").Hex;
917
+ to: import("viem").Address | null;
918
+ transactionIndex: number | null;
919
+ typeHex: import("viem").Hex | null;
920
+ v: bigint;
921
+ value: bigint;
922
+ yParity: number;
923
+ accessList: import("viem").AccessList;
924
+ authorizationList?: undefined | undefined;
925
+ blobVersionedHashes?: undefined | undefined;
926
+ chainId: number;
927
+ type: "eip1559";
928
+ gasPrice?: undefined | undefined;
929
+ maxFeePerBlobGas?: undefined | undefined;
930
+ maxFeePerGas: bigint;
931
+ maxPriorityFeePerGas: bigint;
932
+ isSystemTx?: undefined | undefined;
933
+ mint?: undefined | undefined;
934
+ sourceHash?: undefined | undefined;
935
+ } | {
936
+ blockHash: `0x${string}` | null;
937
+ blockNumber: bigint | null;
938
+ from: import("viem").Address;
939
+ gas: bigint;
940
+ hash: import("viem").Hash;
941
+ input: import("viem").Hex;
942
+ nonce: number;
943
+ r: import("viem").Hex;
944
+ s: import("viem").Hex;
945
+ to: import("viem").Address | null;
946
+ transactionIndex: number | null;
947
+ typeHex: import("viem").Hex | null;
948
+ v: bigint;
949
+ value: bigint;
950
+ yParity: number;
951
+ accessList: import("viem").AccessList;
952
+ authorizationList?: undefined | undefined;
953
+ blobVersionedHashes: readonly import("viem").Hex[];
954
+ chainId: number;
955
+ type: "eip4844";
956
+ gasPrice?: undefined | undefined;
957
+ maxFeePerBlobGas: bigint;
958
+ maxFeePerGas: bigint;
959
+ maxPriorityFeePerGas: bigint;
960
+ isSystemTx?: undefined | undefined;
961
+ mint?: undefined | undefined;
962
+ sourceHash?: undefined | undefined;
963
+ } | {
964
+ blockHash: `0x${string}` | null;
965
+ blockNumber: bigint | null;
966
+ from: import("viem").Address;
967
+ gas: bigint;
968
+ hash: import("viem").Hash;
969
+ input: import("viem").Hex;
970
+ nonce: number;
971
+ r: import("viem").Hex;
972
+ s: import("viem").Hex;
973
+ to: import("viem").Address | null;
974
+ transactionIndex: number | null;
975
+ typeHex: import("viem").Hex | null;
976
+ v: bigint;
977
+ value: bigint;
978
+ yParity: number;
979
+ accessList: import("viem").AccessList;
980
+ authorizationList: import("viem").SignedAuthorizationList;
981
+ blobVersionedHashes?: undefined | undefined;
982
+ chainId: number;
983
+ type: "eip7702";
984
+ gasPrice?: undefined | undefined;
985
+ maxFeePerBlobGas?: undefined | undefined;
986
+ maxFeePerGas: bigint;
987
+ maxPriorityFeePerGas: bigint;
988
+ isSystemTx?: undefined | undefined;
989
+ mint?: undefined | undefined;
990
+ sourceHash?: undefined | undefined;
991
+ }) & {};
992
+ type: "transaction";
993
+ };
994
+ readonly transactionReceipt: {
995
+ exclude: [] | undefined;
996
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
997
+ blobGasPrice?: bigint | undefined;
998
+ blobGasUsed?: bigint | undefined;
999
+ blockHash: import("viem").Hash;
1000
+ blockNumber: bigint;
1001
+ contractAddress: import("viem").Address | null | undefined;
1002
+ cumulativeGasUsed: bigint;
1003
+ effectiveGasPrice: bigint;
1004
+ from: import("viem").Address;
1005
+ gasUsed: bigint;
1006
+ logs: import("viem").Log<bigint, number, false>[];
1007
+ logsBloom: import("viem").Hex;
1008
+ root?: `0x${string}` | undefined;
1009
+ status: "success" | "reverted";
1010
+ to: import("viem").Address | null;
1011
+ transactionHash: import("viem").Hash;
1012
+ transactionIndex: number;
1013
+ type: import("viem").TransactionType;
1014
+ l1GasPrice: bigint | null;
1015
+ l1GasUsed: bigint | null;
1016
+ l1Fee: bigint | null;
1017
+ l1FeeScalar: number | null;
1018
+ } & {};
1019
+ type: "transactionReceipt";
1020
+ };
1021
+ };
1022
+ serializers: {
1023
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1024
+ };
1025
+ }, {
1026
+ blockExplorers: {
1027
+ readonly default: {
1028
+ readonly name: "PolygonScan";
1029
+ readonly url: "https://polygonscan.com";
1030
+ readonly apiUrl: "https://api.polygonscan.com/api";
1031
+ };
1032
+ };
1033
+ blockTime: 2000;
1034
+ contracts: {
1035
+ readonly multicall3: {
1036
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1037
+ readonly blockCreated: 25770160;
1038
+ };
1039
+ };
1040
+ ensTlds?: readonly string[] | undefined;
1041
+ id: 137;
1042
+ name: "Polygon";
1043
+ nativeCurrency: {
1044
+ readonly name: "POL";
1045
+ readonly symbol: "POL";
1046
+ readonly decimals: 18;
1047
+ };
1048
+ experimental_preconfirmationTime?: number | undefined | undefined;
1049
+ rpcUrls: {
1050
+ readonly default: {
1051
+ readonly http: readonly ["https://polygon-rpc.com"];
1052
+ };
1053
+ };
1054
+ sourceId?: number | undefined | undefined;
1055
+ testnet?: boolean | undefined | undefined;
1056
+ custom?: Record<string, unknown> | undefined;
1057
+ fees?: import("viem").ChainFees<undefined> | undefined;
1058
+ formatters?: undefined;
1059
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1060
+ }, {
1061
+ blockExplorers: {
1062
+ readonly default: {
1063
+ readonly name: "Etherscan";
1064
+ readonly url: "https://sepolia.etherscan.io";
1065
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1066
+ };
1067
+ };
1068
+ blockTime?: number | undefined | undefined;
1069
+ contracts: {
1070
+ readonly multicall3: {
1071
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1072
+ readonly blockCreated: 751532;
1073
+ };
1074
+ readonly ensUniversalResolver: {
1075
+ readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
1076
+ readonly blockCreated: 8928790;
1077
+ };
1078
+ };
1079
+ ensTlds?: readonly string[] | undefined;
1080
+ id: 11155111;
1081
+ name: "Sepolia";
1082
+ nativeCurrency: {
1083
+ readonly name: "Sepolia Ether";
1084
+ readonly symbol: "ETH";
1085
+ readonly decimals: 18;
1086
+ };
1087
+ experimental_preconfirmationTime?: number | undefined | undefined;
1088
+ rpcUrls: {
1089
+ readonly default: {
1090
+ readonly http: readonly ["https://11155111.rpc.thirdweb.com"];
1091
+ };
1092
+ };
1093
+ sourceId?: number | undefined | undefined;
1094
+ testnet: true;
1095
+ custom?: Record<string, unknown> | undefined;
1096
+ fees?: import("viem").ChainFees<undefined> | undefined;
1097
+ formatters?: undefined;
1098
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1099
+ }, {
1100
+ blockExplorers: {
1101
+ readonly default: {
1102
+ readonly name: "Basescan";
1103
+ readonly url: "https://sepolia.basescan.org";
1104
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
1105
+ };
1106
+ };
1107
+ blockTime: 2000;
1108
+ contracts: {
1109
+ readonly disputeGameFactory: {
1110
+ readonly 11155111: {
1111
+ readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
1112
+ };
1113
+ };
1114
+ readonly l2OutputOracle: {
1115
+ readonly 11155111: {
1116
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
1117
+ };
1118
+ };
1119
+ readonly portal: {
1120
+ readonly 11155111: {
1121
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
1122
+ readonly blockCreated: 4446677;
1123
+ };
1124
+ };
1125
+ readonly l1StandardBridge: {
1126
+ readonly 11155111: {
1127
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
1128
+ readonly blockCreated: 4446677;
1129
+ };
1130
+ };
1131
+ readonly multicall3: {
1132
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1133
+ readonly blockCreated: 1059647;
1134
+ };
1135
+ readonly gasPriceOracle: {
1136
+ readonly address: "0x420000000000000000000000000000000000000F";
1137
+ };
1138
+ readonly l1Block: {
1139
+ readonly address: "0x4200000000000000000000000000000000000015";
1140
+ };
1141
+ readonly l2CrossDomainMessenger: {
1142
+ readonly address: "0x4200000000000000000000000000000000000007";
1143
+ };
1144
+ readonly l2Erc721Bridge: {
1145
+ readonly address: "0x4200000000000000000000000000000000000014";
1146
+ };
1147
+ readonly l2StandardBridge: {
1148
+ readonly address: "0x4200000000000000000000000000000000000010";
1149
+ };
1150
+ readonly l2ToL1MessagePasser: {
1151
+ readonly address: "0x4200000000000000000000000000000000000016";
1152
+ };
1153
+ };
1154
+ ensTlds?: readonly string[] | undefined;
1155
+ id: 84532;
1156
+ name: "Base Sepolia";
1157
+ nativeCurrency: {
1158
+ readonly name: "Sepolia Ether";
1159
+ readonly symbol: "ETH";
1160
+ readonly decimals: 18;
1161
+ };
1162
+ experimental_preconfirmationTime?: number | undefined | undefined;
1163
+ rpcUrls: {
1164
+ readonly default: {
1165
+ readonly http: readonly ["https://sepolia.base.org"];
1166
+ };
1167
+ };
1168
+ sourceId: 11155111;
1169
+ testnet: true;
1170
+ custom?: Record<string, unknown> | undefined;
1171
+ fees?: import("viem").ChainFees<undefined> | undefined;
1172
+ formatters: {
1173
+ readonly block: {
1174
+ exclude: [] | undefined;
1175
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1176
+ baseFeePerGas: bigint | null;
1177
+ blobGasUsed: bigint;
1178
+ difficulty: bigint;
1179
+ excessBlobGas: bigint;
1180
+ extraData: import("viem").Hex;
1181
+ gasLimit: bigint;
1182
+ gasUsed: bigint;
1183
+ hash: `0x${string}` | null;
1184
+ logsBloom: `0x${string}` | null;
1185
+ miner: import("viem").Address;
1186
+ mixHash: import("viem").Hash;
1187
+ nonce: `0x${string}` | null;
1188
+ number: bigint | null;
1189
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1190
+ parentHash: import("viem").Hash;
1191
+ receiptsRoot: import("viem").Hex;
1192
+ sealFields: import("viem").Hex[];
1193
+ sha3Uncles: import("viem").Hash;
1194
+ size: bigint;
1195
+ stateRoot: import("viem").Hash;
1196
+ timestamp: bigint;
1197
+ totalDifficulty: bigint | null;
1198
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1199
+ transactionsRoot: import("viem").Hash;
1200
+ uncles: import("viem").Hash[];
1201
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1202
+ withdrawalsRoot?: `0x${string}` | undefined;
1203
+ } & {};
1204
+ type: "block";
1205
+ };
1206
+ readonly transaction: {
1207
+ exclude: [] | undefined;
1208
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1209
+ blockHash: `0x${string}` | null;
1210
+ blockNumber: bigint | null;
1211
+ from: import("viem").Address;
1212
+ gas: bigint;
1213
+ hash: import("viem").Hash;
1214
+ input: import("viem").Hex;
1215
+ nonce: number;
1216
+ r: import("viem").Hex;
1217
+ s: import("viem").Hex;
1218
+ to: import("viem").Address | null;
1219
+ transactionIndex: number | null;
1220
+ typeHex: import("viem").Hex | null;
1221
+ v: bigint;
1222
+ value: bigint;
1223
+ yParity: number;
1224
+ gasPrice?: undefined | undefined;
1225
+ maxFeePerBlobGas?: undefined | undefined;
1226
+ maxFeePerGas: bigint;
1227
+ maxPriorityFeePerGas: bigint;
1228
+ isSystemTx?: boolean;
1229
+ mint?: bigint | undefined | undefined;
1230
+ sourceHash: import("viem").Hex;
1231
+ type: "deposit";
1232
+ } | {
1233
+ r: import("viem").Hex;
1234
+ s: import("viem").Hex;
1235
+ v: bigint;
1236
+ value: bigint;
1237
+ gas: bigint;
1238
+ to: import("viem").Address | null;
1239
+ from: import("viem").Address;
1240
+ nonce: number;
1241
+ blockHash: `0x${string}` | null;
1242
+ blockNumber: bigint | null;
1243
+ transactionIndex: number | null;
1244
+ hash: import("viem").Hash;
1245
+ input: import("viem").Hex;
1246
+ typeHex: import("viem").Hex | null;
1247
+ accessList?: undefined | undefined;
1248
+ authorizationList?: undefined | undefined;
1249
+ blobVersionedHashes?: undefined | undefined;
1250
+ chainId?: number | undefined;
1251
+ yParity?: undefined | undefined;
1252
+ type: "legacy";
1253
+ gasPrice: bigint;
1254
+ maxFeePerBlobGas?: undefined | undefined;
1255
+ maxFeePerGas?: undefined | undefined;
1256
+ maxPriorityFeePerGas?: undefined | undefined;
1257
+ isSystemTx?: undefined | undefined;
1258
+ mint?: undefined | undefined;
1259
+ sourceHash?: undefined | undefined;
1260
+ } | {
1261
+ blockHash: `0x${string}` | null;
1262
+ blockNumber: bigint | null;
1263
+ from: import("viem").Address;
1264
+ gas: bigint;
1265
+ hash: import("viem").Hash;
1266
+ input: import("viem").Hex;
1267
+ nonce: number;
1268
+ r: import("viem").Hex;
1269
+ s: import("viem").Hex;
1270
+ to: import("viem").Address | null;
1271
+ transactionIndex: number | null;
1272
+ typeHex: import("viem").Hex | null;
1273
+ v: bigint;
1274
+ value: bigint;
1275
+ yParity: number;
1276
+ accessList: import("viem").AccessList;
1277
+ authorizationList?: undefined | undefined;
1278
+ blobVersionedHashes?: undefined | undefined;
1279
+ chainId: number;
1280
+ type: "eip2930";
1281
+ gasPrice: bigint;
1282
+ maxFeePerBlobGas?: undefined | undefined;
1283
+ maxFeePerGas?: undefined | undefined;
1284
+ maxPriorityFeePerGas?: undefined | undefined;
1285
+ isSystemTx?: undefined | undefined;
1286
+ mint?: undefined | undefined;
1287
+ sourceHash?: undefined | undefined;
1288
+ } | {
1289
+ blockHash: `0x${string}` | null;
1290
+ blockNumber: bigint | null;
1291
+ from: import("viem").Address;
1292
+ gas: bigint;
1293
+ hash: import("viem").Hash;
1294
+ input: import("viem").Hex;
1295
+ nonce: number;
1296
+ r: import("viem").Hex;
1297
+ s: import("viem").Hex;
1298
+ to: import("viem").Address | null;
1299
+ transactionIndex: number | null;
1300
+ typeHex: import("viem").Hex | null;
1301
+ v: bigint;
1302
+ value: bigint;
1303
+ yParity: number;
1304
+ accessList: import("viem").AccessList;
1305
+ authorizationList?: undefined | undefined;
1306
+ blobVersionedHashes?: undefined | undefined;
1307
+ chainId: number;
1308
+ type: "eip1559";
1309
+ gasPrice?: undefined | undefined;
1310
+ maxFeePerBlobGas?: undefined | undefined;
1311
+ maxFeePerGas: bigint;
1312
+ maxPriorityFeePerGas: bigint;
1313
+ isSystemTx?: undefined | undefined;
1314
+ mint?: undefined | undefined;
1315
+ sourceHash?: undefined | undefined;
1316
+ } | {
1317
+ blockHash: `0x${string}` | null;
1318
+ blockNumber: bigint | null;
1319
+ from: import("viem").Address;
1320
+ gas: bigint;
1321
+ hash: import("viem").Hash;
1322
+ input: import("viem").Hex;
1323
+ nonce: number;
1324
+ r: import("viem").Hex;
1325
+ s: import("viem").Hex;
1326
+ to: import("viem").Address | null;
1327
+ transactionIndex: number | null;
1328
+ typeHex: import("viem").Hex | null;
1329
+ v: bigint;
1330
+ value: bigint;
1331
+ yParity: number;
1332
+ accessList: import("viem").AccessList;
1333
+ authorizationList?: undefined | undefined;
1334
+ blobVersionedHashes: readonly import("viem").Hex[];
1335
+ chainId: number;
1336
+ type: "eip4844";
1337
+ gasPrice?: undefined | undefined;
1338
+ maxFeePerBlobGas: bigint;
1339
+ maxFeePerGas: bigint;
1340
+ maxPriorityFeePerGas: bigint;
1341
+ isSystemTx?: undefined | undefined;
1342
+ mint?: undefined | undefined;
1343
+ sourceHash?: undefined | undefined;
1344
+ } | {
1345
+ blockHash: `0x${string}` | null;
1346
+ blockNumber: bigint | null;
1347
+ from: import("viem").Address;
1348
+ gas: bigint;
1349
+ hash: import("viem").Hash;
1350
+ input: import("viem").Hex;
1351
+ nonce: number;
1352
+ r: import("viem").Hex;
1353
+ s: import("viem").Hex;
1354
+ to: import("viem").Address | null;
1355
+ transactionIndex: number | null;
1356
+ typeHex: import("viem").Hex | null;
1357
+ v: bigint;
1358
+ value: bigint;
1359
+ yParity: number;
1360
+ accessList: import("viem").AccessList;
1361
+ authorizationList: import("viem").SignedAuthorizationList;
1362
+ blobVersionedHashes?: undefined | undefined;
1363
+ chainId: number;
1364
+ type: "eip7702";
1365
+ gasPrice?: undefined | undefined;
1366
+ maxFeePerBlobGas?: undefined | undefined;
1367
+ maxFeePerGas: bigint;
1368
+ maxPriorityFeePerGas: bigint;
1369
+ isSystemTx?: undefined | undefined;
1370
+ mint?: undefined | undefined;
1371
+ sourceHash?: undefined | undefined;
1372
+ }) & {};
1373
+ type: "transaction";
1374
+ };
1375
+ readonly transactionReceipt: {
1376
+ exclude: [] | undefined;
1377
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1378
+ blobGasPrice?: bigint | undefined;
1379
+ blobGasUsed?: bigint | undefined;
1380
+ blockHash: import("viem").Hash;
1381
+ blockNumber: bigint;
1382
+ contractAddress: import("viem").Address | null | undefined;
1383
+ cumulativeGasUsed: bigint;
1384
+ effectiveGasPrice: bigint;
1385
+ from: import("viem").Address;
1386
+ gasUsed: bigint;
1387
+ logs: import("viem").Log<bigint, number, false>[];
1388
+ logsBloom: import("viem").Hex;
1389
+ root?: `0x${string}` | undefined;
1390
+ status: "success" | "reverted";
1391
+ to: import("viem").Address | null;
1392
+ transactionHash: import("viem").Hash;
1393
+ transactionIndex: number;
1394
+ type: import("viem").TransactionType;
1395
+ l1GasPrice: bigint | null;
1396
+ l1GasUsed: bigint | null;
1397
+ l1Fee: bigint | null;
1398
+ l1FeeScalar: number | null;
1399
+ } & {};
1400
+ type: "transactionReceipt";
1401
+ };
1402
+ };
1403
+ serializers: {
1404
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1405
+ };
1406
+ readonly network: "base-sepolia";
1407
+ }, {
1408
+ blockExplorers: {
1409
+ readonly default: {
1410
+ readonly name: "Arbiscan";
1411
+ readonly url: "https://sepolia.arbiscan.io";
1412
+ readonly apiUrl: "https://api-sepolia.arbiscan.io/api";
1413
+ };
1414
+ };
1415
+ blockTime: 250;
1416
+ contracts: {
1417
+ readonly multicall3: {
1418
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1419
+ readonly blockCreated: 81930;
1420
+ };
1421
+ };
1422
+ ensTlds?: readonly string[] | undefined;
1423
+ id: 421614;
1424
+ name: "Arbitrum Sepolia";
1425
+ nativeCurrency: {
1426
+ readonly name: "Arbitrum Sepolia Ether";
1427
+ readonly symbol: "ETH";
1428
+ readonly decimals: 18;
1429
+ };
1430
+ experimental_preconfirmationTime?: number | undefined | undefined;
1431
+ rpcUrls: {
1432
+ readonly default: {
1433
+ readonly http: readonly ["https://sepolia-rollup.arbitrum.io/rpc"];
1434
+ };
1435
+ };
1436
+ sourceId?: number | undefined | undefined;
1437
+ testnet: true;
1438
+ custom?: Record<string, unknown> | undefined;
1439
+ fees?: import("viem").ChainFees<undefined> | undefined;
1440
+ formatters?: undefined;
1441
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1442
+ }, {
1443
+ blockExplorers: {
1444
+ readonly default: {
1445
+ readonly name: "Blockscout";
1446
+ readonly url: "https://optimism-sepolia.blockscout.com";
1447
+ readonly apiUrl: "https://optimism-sepolia.blockscout.com/api";
1448
+ };
1449
+ };
1450
+ blockTime: 2000;
1451
+ contracts: {
1452
+ readonly disputeGameFactory: {
1453
+ readonly 11155111: {
1454
+ readonly address: "0x05F9613aDB30026FFd634f38e5C4dFd30a197Fa1";
1455
+ };
1456
+ };
1457
+ readonly l2OutputOracle: {
1458
+ readonly 11155111: {
1459
+ readonly address: "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F";
1460
+ };
1461
+ };
1462
+ readonly multicall3: {
1463
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1464
+ readonly blockCreated: 1620204;
1465
+ };
1466
+ readonly portal: {
1467
+ readonly 11155111: {
1468
+ readonly address: "0x16Fc5058F25648194471939df75CF27A2fdC48BC";
1469
+ };
1470
+ };
1471
+ readonly l1StandardBridge: {
1472
+ readonly 11155111: {
1473
+ readonly address: "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1";
1474
+ };
1475
+ };
1476
+ readonly gasPriceOracle: {
1477
+ readonly address: "0x420000000000000000000000000000000000000F";
1478
+ };
1479
+ readonly l1Block: {
1480
+ readonly address: "0x4200000000000000000000000000000000000015";
1481
+ };
1482
+ readonly l2CrossDomainMessenger: {
1483
+ readonly address: "0x4200000000000000000000000000000000000007";
1484
+ };
1485
+ readonly l2Erc721Bridge: {
1486
+ readonly address: "0x4200000000000000000000000000000000000014";
1487
+ };
1488
+ readonly l2StandardBridge: {
1489
+ readonly address: "0x4200000000000000000000000000000000000010";
1490
+ };
1491
+ readonly l2ToL1MessagePasser: {
1492
+ readonly address: "0x4200000000000000000000000000000000000016";
1493
+ };
1494
+ };
1495
+ ensTlds?: readonly string[] | undefined;
1496
+ id: 11155420;
1497
+ name: "OP Sepolia";
1498
+ nativeCurrency: {
1499
+ readonly name: "Sepolia Ether";
1500
+ readonly symbol: "ETH";
1501
+ readonly decimals: 18;
1502
+ };
1503
+ experimental_preconfirmationTime?: number | undefined | undefined;
1504
+ rpcUrls: {
1505
+ readonly default: {
1506
+ readonly http: readonly ["https://sepolia.optimism.io"];
1507
+ };
1508
+ };
1509
+ sourceId: 11155111;
1510
+ testnet: true;
1511
+ custom?: Record<string, unknown> | undefined;
1512
+ fees?: import("viem").ChainFees<undefined> | undefined;
1513
+ formatters: {
1514
+ readonly block: {
1515
+ exclude: [] | undefined;
1516
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1517
+ baseFeePerGas: bigint | null;
1518
+ blobGasUsed: bigint;
1519
+ difficulty: bigint;
1520
+ excessBlobGas: bigint;
1521
+ extraData: import("viem").Hex;
1522
+ gasLimit: bigint;
1523
+ gasUsed: bigint;
1524
+ hash: `0x${string}` | null;
1525
+ logsBloom: `0x${string}` | null;
1526
+ miner: import("viem").Address;
1527
+ mixHash: import("viem").Hash;
1528
+ nonce: `0x${string}` | null;
1529
+ number: bigint | null;
1530
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1531
+ parentHash: import("viem").Hash;
1532
+ receiptsRoot: import("viem").Hex;
1533
+ sealFields: import("viem").Hex[];
1534
+ sha3Uncles: import("viem").Hash;
1535
+ size: bigint;
1536
+ stateRoot: import("viem").Hash;
1537
+ timestamp: bigint;
1538
+ totalDifficulty: bigint | null;
1539
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1540
+ transactionsRoot: import("viem").Hash;
1541
+ uncles: import("viem").Hash[];
1542
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1543
+ withdrawalsRoot?: `0x${string}` | undefined;
1544
+ } & {};
1545
+ type: "block";
1546
+ };
1547
+ readonly transaction: {
1548
+ exclude: [] | undefined;
1549
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1550
+ blockHash: `0x${string}` | null;
1551
+ blockNumber: bigint | null;
1552
+ from: import("viem").Address;
1553
+ gas: bigint;
1554
+ hash: import("viem").Hash;
1555
+ input: import("viem").Hex;
1556
+ nonce: number;
1557
+ r: import("viem").Hex;
1558
+ s: import("viem").Hex;
1559
+ to: import("viem").Address | null;
1560
+ transactionIndex: number | null;
1561
+ typeHex: import("viem").Hex | null;
1562
+ v: bigint;
1563
+ value: bigint;
1564
+ yParity: number;
1565
+ gasPrice?: undefined | undefined;
1566
+ maxFeePerBlobGas?: undefined | undefined;
1567
+ maxFeePerGas: bigint;
1568
+ maxPriorityFeePerGas: bigint;
1569
+ isSystemTx?: boolean;
1570
+ mint?: bigint | undefined | undefined;
1571
+ sourceHash: import("viem").Hex;
1572
+ type: "deposit";
1573
+ } | {
1574
+ r: import("viem").Hex;
1575
+ s: import("viem").Hex;
1576
+ v: bigint;
1577
+ value: bigint;
1578
+ gas: bigint;
1579
+ to: import("viem").Address | null;
1580
+ from: import("viem").Address;
1581
+ nonce: number;
1582
+ blockHash: `0x${string}` | null;
1583
+ blockNumber: bigint | null;
1584
+ transactionIndex: number | null;
1585
+ hash: import("viem").Hash;
1586
+ input: import("viem").Hex;
1587
+ typeHex: import("viem").Hex | null;
1588
+ accessList?: undefined | undefined;
1589
+ authorizationList?: undefined | undefined;
1590
+ blobVersionedHashes?: undefined | undefined;
1591
+ chainId?: number | undefined;
1592
+ yParity?: undefined | undefined;
1593
+ type: "legacy";
1594
+ gasPrice: bigint;
1595
+ maxFeePerBlobGas?: undefined | undefined;
1596
+ maxFeePerGas?: undefined | undefined;
1597
+ maxPriorityFeePerGas?: undefined | undefined;
1598
+ isSystemTx?: undefined | undefined;
1599
+ mint?: undefined | undefined;
1600
+ sourceHash?: undefined | undefined;
1601
+ } | {
1602
+ blockHash: `0x${string}` | null;
1603
+ blockNumber: bigint | null;
1604
+ from: import("viem").Address;
1605
+ gas: bigint;
1606
+ hash: import("viem").Hash;
1607
+ input: import("viem").Hex;
1608
+ nonce: number;
1609
+ r: import("viem").Hex;
1610
+ s: import("viem").Hex;
1611
+ to: import("viem").Address | null;
1612
+ transactionIndex: number | null;
1613
+ typeHex: import("viem").Hex | null;
1614
+ v: bigint;
1615
+ value: bigint;
1616
+ yParity: number;
1617
+ accessList: import("viem").AccessList;
1618
+ authorizationList?: undefined | undefined;
1619
+ blobVersionedHashes?: undefined | undefined;
1620
+ chainId: number;
1621
+ type: "eip2930";
1622
+ gasPrice: bigint;
1623
+ maxFeePerBlobGas?: undefined | undefined;
1624
+ maxFeePerGas?: undefined | undefined;
1625
+ maxPriorityFeePerGas?: undefined | undefined;
1626
+ isSystemTx?: undefined | undefined;
1627
+ mint?: undefined | undefined;
1628
+ sourceHash?: undefined | undefined;
1629
+ } | {
1630
+ blockHash: `0x${string}` | null;
1631
+ blockNumber: bigint | null;
1632
+ from: import("viem").Address;
1633
+ gas: bigint;
1634
+ hash: import("viem").Hash;
1635
+ input: import("viem").Hex;
1636
+ nonce: number;
1637
+ r: import("viem").Hex;
1638
+ s: import("viem").Hex;
1639
+ to: import("viem").Address | null;
1640
+ transactionIndex: number | null;
1641
+ typeHex: import("viem").Hex | null;
1642
+ v: bigint;
1643
+ value: bigint;
1644
+ yParity: number;
1645
+ accessList: import("viem").AccessList;
1646
+ authorizationList?: undefined | undefined;
1647
+ blobVersionedHashes?: undefined | undefined;
1648
+ chainId: number;
1649
+ type: "eip1559";
1650
+ gasPrice?: undefined | undefined;
1651
+ maxFeePerBlobGas?: undefined | undefined;
1652
+ maxFeePerGas: bigint;
1653
+ maxPriorityFeePerGas: bigint;
1654
+ isSystemTx?: undefined | undefined;
1655
+ mint?: undefined | undefined;
1656
+ sourceHash?: undefined | undefined;
1657
+ } | {
1658
+ blockHash: `0x${string}` | null;
1659
+ blockNumber: bigint | null;
1660
+ from: import("viem").Address;
1661
+ gas: bigint;
1662
+ hash: import("viem").Hash;
1663
+ input: import("viem").Hex;
1664
+ nonce: number;
1665
+ r: import("viem").Hex;
1666
+ s: import("viem").Hex;
1667
+ to: import("viem").Address | null;
1668
+ transactionIndex: number | null;
1669
+ typeHex: import("viem").Hex | null;
1670
+ v: bigint;
1671
+ value: bigint;
1672
+ yParity: number;
1673
+ accessList: import("viem").AccessList;
1674
+ authorizationList?: undefined | undefined;
1675
+ blobVersionedHashes: readonly import("viem").Hex[];
1676
+ chainId: number;
1677
+ type: "eip4844";
1678
+ gasPrice?: undefined | undefined;
1679
+ maxFeePerBlobGas: bigint;
1680
+ maxFeePerGas: bigint;
1681
+ maxPriorityFeePerGas: bigint;
1682
+ isSystemTx?: undefined | undefined;
1683
+ mint?: undefined | undefined;
1684
+ sourceHash?: undefined | undefined;
1685
+ } | {
1686
+ blockHash: `0x${string}` | null;
1687
+ blockNumber: bigint | null;
1688
+ from: import("viem").Address;
1689
+ gas: bigint;
1690
+ hash: import("viem").Hash;
1691
+ input: import("viem").Hex;
1692
+ nonce: number;
1693
+ r: import("viem").Hex;
1694
+ s: import("viem").Hex;
1695
+ to: import("viem").Address | null;
1696
+ transactionIndex: number | null;
1697
+ typeHex: import("viem").Hex | null;
1698
+ v: bigint;
1699
+ value: bigint;
1700
+ yParity: number;
1701
+ accessList: import("viem").AccessList;
1702
+ authorizationList: import("viem").SignedAuthorizationList;
1703
+ blobVersionedHashes?: undefined | undefined;
1704
+ chainId: number;
1705
+ type: "eip7702";
1706
+ gasPrice?: undefined | undefined;
1707
+ maxFeePerBlobGas?: undefined | undefined;
1708
+ maxFeePerGas: bigint;
1709
+ maxPriorityFeePerGas: bigint;
1710
+ isSystemTx?: undefined | undefined;
1711
+ mint?: undefined | undefined;
1712
+ sourceHash?: undefined | undefined;
1713
+ }) & {};
1714
+ type: "transaction";
1715
+ };
1716
+ readonly transactionReceipt: {
1717
+ exclude: [] | undefined;
1718
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
1719
+ blobGasPrice?: bigint | undefined;
1720
+ blobGasUsed?: bigint | undefined;
1721
+ blockHash: import("viem").Hash;
1722
+ blockNumber: bigint;
1723
+ contractAddress: import("viem").Address | null | undefined;
1724
+ cumulativeGasUsed: bigint;
1725
+ effectiveGasPrice: bigint;
1726
+ from: import("viem").Address;
1727
+ gasUsed: bigint;
1728
+ logs: import("viem").Log<bigint, number, false>[];
1729
+ logsBloom: import("viem").Hex;
1730
+ root?: `0x${string}` | undefined;
1731
+ status: "success" | "reverted";
1732
+ to: import("viem").Address | null;
1733
+ transactionHash: import("viem").Hash;
1734
+ transactionIndex: number;
1735
+ type: import("viem").TransactionType;
1736
+ l1GasPrice: bigint | null;
1737
+ l1GasUsed: bigint | null;
1738
+ l1Fee: bigint | null;
1739
+ l1FeeScalar: number | null;
1740
+ } & {};
1741
+ type: "transactionReceipt";
1742
+ };
1743
+ };
1744
+ serializers: {
1745
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1746
+ };
1747
+ }, {
1748
+ blockExplorers: {
1749
+ readonly default: {
1750
+ readonly name: "BscScan";
1751
+ readonly url: "https://testnet.bscscan.com";
1752
+ readonly apiUrl: "https://api-testnet.bscscan.com/api";
1753
+ };
1754
+ };
1755
+ blockTime?: number | undefined | undefined;
1756
+ contracts: {
1757
+ readonly multicall3: {
1758
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1759
+ readonly blockCreated: 17422483;
1760
+ };
1761
+ };
1762
+ ensTlds?: readonly string[] | undefined;
1763
+ id: 97;
1764
+ name: "BNB Smart Chain Testnet";
1765
+ nativeCurrency: {
1766
+ readonly decimals: 18;
1767
+ readonly name: "BNB";
1768
+ readonly symbol: "tBNB";
1769
+ };
1770
+ experimental_preconfirmationTime?: number | undefined | undefined;
1771
+ rpcUrls: {
1772
+ readonly default: {
1773
+ readonly http: readonly ["https://data-seed-prebsc-1-s1.bnbchain.org:8545"];
1774
+ };
1775
+ };
1776
+ sourceId?: number | undefined | undefined;
1777
+ testnet: true;
1778
+ custom?: Record<string, unknown> | undefined;
1779
+ fees?: import("viem").ChainFees<undefined> | undefined;
1780
+ formatters?: undefined;
1781
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1782
+ }, {
1783
+ blockExplorers: {
1784
+ readonly default: {
1785
+ readonly name: "Uniscan";
1786
+ readonly url: "https://sepolia.uniscan.xyz";
1787
+ readonly apiUrl: "https://api-sepolia.uniscan.xyz/api";
1788
+ };
1789
+ };
1790
+ blockTime: 1000;
1791
+ contracts: {
1792
+ readonly multicall3: {
1793
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1794
+ readonly blockCreated: 0;
1795
+ };
1796
+ readonly portal: {
1797
+ readonly 11155111: {
1798
+ readonly address: "0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD";
1799
+ };
1800
+ };
1801
+ readonly l1StandardBridge: {
1802
+ readonly 11155111: {
1803
+ readonly address: "0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2";
1804
+ };
1805
+ };
1806
+ readonly disputeGameFactory: {
1807
+ readonly 11155111: {
1808
+ readonly address: "0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b";
1809
+ };
1810
+ };
1811
+ readonly gasPriceOracle: {
1812
+ readonly address: "0x420000000000000000000000000000000000000F";
1813
+ };
1814
+ readonly l1Block: {
1815
+ readonly address: "0x4200000000000000000000000000000000000015";
1816
+ };
1817
+ readonly l2CrossDomainMessenger: {
1818
+ readonly address: "0x4200000000000000000000000000000000000007";
1819
+ };
1820
+ readonly l2Erc721Bridge: {
1821
+ readonly address: "0x4200000000000000000000000000000000000014";
1822
+ };
1823
+ readonly l2StandardBridge: {
1824
+ readonly address: "0x4200000000000000000000000000000000000010";
1825
+ };
1826
+ readonly l2ToL1MessagePasser: {
1827
+ readonly address: "0x4200000000000000000000000000000000000016";
1828
+ };
1829
+ };
1830
+ ensTlds?: readonly string[] | undefined;
1831
+ id: 1301;
1832
+ name: "Unichain Sepolia";
1833
+ nativeCurrency: {
1834
+ readonly name: "Ether";
1835
+ readonly symbol: "ETH";
1836
+ readonly decimals: 18;
1837
+ };
1838
+ experimental_preconfirmationTime?: number | undefined | undefined;
1839
+ rpcUrls: {
1840
+ readonly default: {
1841
+ readonly http: readonly ["https://sepolia.unichain.org"];
1842
+ };
1843
+ };
1844
+ sourceId: 11155111;
1845
+ testnet: true;
1846
+ custom?: Record<string, unknown> | undefined;
1847
+ fees?: import("viem").ChainFees<undefined> | undefined;
1848
+ formatters: {
1849
+ readonly block: {
1850
+ exclude: [] | undefined;
1851
+ format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
1852
+ baseFeePerGas: bigint | null;
1853
+ blobGasUsed: bigint;
1854
+ difficulty: bigint;
1855
+ excessBlobGas: bigint;
1856
+ extraData: import("viem").Hex;
1857
+ gasLimit: bigint;
1858
+ gasUsed: bigint;
1859
+ hash: `0x${string}` | null;
1860
+ logsBloom: `0x${string}` | null;
1861
+ miner: import("viem").Address;
1862
+ mixHash: import("viem").Hash;
1863
+ nonce: `0x${string}` | null;
1864
+ number: bigint | null;
1865
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1866
+ parentHash: import("viem").Hash;
1867
+ receiptsRoot: import("viem").Hex;
1868
+ sealFields: import("viem").Hex[];
1869
+ sha3Uncles: import("viem").Hash;
1870
+ size: bigint;
1871
+ stateRoot: import("viem").Hash;
1872
+ timestamp: bigint;
1873
+ totalDifficulty: bigint | null;
1874
+ transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
1875
+ transactionsRoot: import("viem").Hash;
1876
+ uncles: import("viem").Hash[];
1877
+ withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
1878
+ withdrawalsRoot?: `0x${string}` | undefined;
1879
+ } & {};
1880
+ type: "block";
1881
+ };
1882
+ readonly transaction: {
1883
+ exclude: [] | undefined;
1884
+ format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
1885
+ blockHash: `0x${string}` | null;
1886
+ blockNumber: bigint | null;
1887
+ from: import("viem").Address;
1888
+ gas: bigint;
1889
+ hash: import("viem").Hash;
1890
+ input: import("viem").Hex;
1891
+ nonce: number;
1892
+ r: import("viem").Hex;
1893
+ s: import("viem").Hex;
1894
+ to: import("viem").Address | null;
1895
+ transactionIndex: number | null;
1896
+ typeHex: import("viem").Hex | null;
1897
+ v: bigint;
1898
+ value: bigint;
1899
+ yParity: number;
1900
+ gasPrice?: undefined | undefined;
1901
+ maxFeePerBlobGas?: undefined | undefined;
1902
+ maxFeePerGas: bigint;
1903
+ maxPriorityFeePerGas: bigint;
1904
+ isSystemTx?: boolean;
1905
+ mint?: bigint | undefined | undefined;
1906
+ sourceHash: import("viem").Hex;
1907
+ type: "deposit";
1908
+ } | {
1909
+ r: import("viem").Hex;
1910
+ s: import("viem").Hex;
1911
+ v: bigint;
1912
+ value: bigint;
1913
+ gas: bigint;
1914
+ to: import("viem").Address | null;
1915
+ from: import("viem").Address;
1916
+ nonce: number;
1917
+ blockHash: `0x${string}` | null;
1918
+ blockNumber: bigint | null;
1919
+ transactionIndex: number | null;
1920
+ hash: import("viem").Hash;
1921
+ input: import("viem").Hex;
1922
+ typeHex: import("viem").Hex | null;
1923
+ accessList?: undefined | undefined;
1924
+ authorizationList?: undefined | undefined;
1925
+ blobVersionedHashes?: undefined | undefined;
1926
+ chainId?: number | undefined;
1927
+ yParity?: undefined | undefined;
1928
+ type: "legacy";
1929
+ gasPrice: bigint;
1930
+ maxFeePerBlobGas?: undefined | undefined;
1931
+ maxFeePerGas?: undefined | undefined;
1932
+ maxPriorityFeePerGas?: undefined | undefined;
1933
+ isSystemTx?: undefined | undefined;
1934
+ mint?: undefined | undefined;
1935
+ sourceHash?: undefined | undefined;
1936
+ } | {
1937
+ blockHash: `0x${string}` | null;
1938
+ blockNumber: bigint | null;
1939
+ from: import("viem").Address;
1940
+ gas: bigint;
1941
+ hash: import("viem").Hash;
1942
+ input: import("viem").Hex;
1943
+ nonce: number;
1944
+ r: import("viem").Hex;
1945
+ s: import("viem").Hex;
1946
+ to: import("viem").Address | null;
1947
+ transactionIndex: number | null;
1948
+ typeHex: import("viem").Hex | null;
1949
+ v: bigint;
1950
+ value: bigint;
1951
+ yParity: number;
1952
+ accessList: import("viem").AccessList;
1953
+ authorizationList?: undefined | undefined;
1954
+ blobVersionedHashes?: undefined | undefined;
1955
+ chainId: number;
1956
+ type: "eip2930";
1957
+ gasPrice: bigint;
1958
+ maxFeePerBlobGas?: undefined | undefined;
1959
+ maxFeePerGas?: undefined | undefined;
1960
+ maxPriorityFeePerGas?: undefined | undefined;
1961
+ isSystemTx?: undefined | undefined;
1962
+ mint?: undefined | undefined;
1963
+ sourceHash?: undefined | undefined;
1964
+ } | {
1965
+ blockHash: `0x${string}` | null;
1966
+ blockNumber: bigint | null;
1967
+ from: import("viem").Address;
1968
+ gas: bigint;
1969
+ hash: import("viem").Hash;
1970
+ input: import("viem").Hex;
1971
+ nonce: number;
1972
+ r: import("viem").Hex;
1973
+ s: import("viem").Hex;
1974
+ to: import("viem").Address | null;
1975
+ transactionIndex: number | null;
1976
+ typeHex: import("viem").Hex | null;
1977
+ v: bigint;
1978
+ value: bigint;
1979
+ yParity: number;
1980
+ accessList: import("viem").AccessList;
1981
+ authorizationList?: undefined | undefined;
1982
+ blobVersionedHashes?: undefined | undefined;
1983
+ chainId: number;
1984
+ type: "eip1559";
1985
+ gasPrice?: undefined | undefined;
1986
+ maxFeePerBlobGas?: undefined | undefined;
1987
+ maxFeePerGas: bigint;
1988
+ maxPriorityFeePerGas: bigint;
1989
+ isSystemTx?: undefined | undefined;
1990
+ mint?: undefined | undefined;
1991
+ sourceHash?: undefined | undefined;
1992
+ } | {
1993
+ blockHash: `0x${string}` | null;
1994
+ blockNumber: bigint | null;
1995
+ from: import("viem").Address;
1996
+ gas: bigint;
1997
+ hash: import("viem").Hash;
1998
+ input: import("viem").Hex;
1999
+ nonce: number;
2000
+ r: import("viem").Hex;
2001
+ s: import("viem").Hex;
2002
+ to: import("viem").Address | null;
2003
+ transactionIndex: number | null;
2004
+ typeHex: import("viem").Hex | null;
2005
+ v: bigint;
2006
+ value: bigint;
2007
+ yParity: number;
2008
+ accessList: import("viem").AccessList;
2009
+ authorizationList?: undefined | undefined;
2010
+ blobVersionedHashes: readonly import("viem").Hex[];
2011
+ chainId: number;
2012
+ type: "eip4844";
2013
+ gasPrice?: undefined | undefined;
2014
+ maxFeePerBlobGas: bigint;
2015
+ maxFeePerGas: bigint;
2016
+ maxPriorityFeePerGas: bigint;
2017
+ isSystemTx?: undefined | undefined;
2018
+ mint?: undefined | undefined;
2019
+ sourceHash?: undefined | undefined;
2020
+ } | {
2021
+ blockHash: `0x${string}` | null;
2022
+ blockNumber: bigint | null;
2023
+ from: import("viem").Address;
2024
+ gas: bigint;
2025
+ hash: import("viem").Hash;
2026
+ input: import("viem").Hex;
2027
+ nonce: number;
2028
+ r: import("viem").Hex;
2029
+ s: import("viem").Hex;
2030
+ to: import("viem").Address | null;
2031
+ transactionIndex: number | null;
2032
+ typeHex: import("viem").Hex | null;
2033
+ v: bigint;
2034
+ value: bigint;
2035
+ yParity: number;
2036
+ accessList: import("viem").AccessList;
2037
+ authorizationList: import("viem").SignedAuthorizationList;
2038
+ blobVersionedHashes?: undefined | undefined;
2039
+ chainId: number;
2040
+ type: "eip7702";
2041
+ gasPrice?: undefined | undefined;
2042
+ maxFeePerBlobGas?: undefined | undefined;
2043
+ maxFeePerGas: bigint;
2044
+ maxPriorityFeePerGas: bigint;
2045
+ isSystemTx?: undefined | undefined;
2046
+ mint?: undefined | undefined;
2047
+ sourceHash?: undefined | undefined;
2048
+ }) & {};
2049
+ type: "transaction";
2050
+ };
2051
+ readonly transactionReceipt: {
2052
+ exclude: [] | undefined;
2053
+ format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
2054
+ blobGasPrice?: bigint | undefined;
2055
+ blobGasUsed?: bigint | undefined;
2056
+ blockHash: import("viem").Hash;
2057
+ blockNumber: bigint;
2058
+ contractAddress: import("viem").Address | null | undefined;
2059
+ cumulativeGasUsed: bigint;
2060
+ effectiveGasPrice: bigint;
2061
+ from: import("viem").Address;
2062
+ gasUsed: bigint;
2063
+ logs: import("viem").Log<bigint, number, false>[];
2064
+ logsBloom: import("viem").Hex;
2065
+ root?: `0x${string}` | undefined;
2066
+ status: "success" | "reverted";
2067
+ to: import("viem").Address | null;
2068
+ transactionHash: import("viem").Hash;
2069
+ transactionIndex: number;
2070
+ type: import("viem").TransactionType;
2071
+ l1GasPrice: bigint | null;
2072
+ l1GasUsed: bigint | null;
2073
+ l1Fee: bigint | null;
2074
+ l1FeeScalar: number | null;
2075
+ } & {};
2076
+ type: "transactionReceipt";
2077
+ };
2078
+ };
2079
+ serializers: {
2080
+ readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
2081
+ };
2082
+ }, {
2083
+ blockExplorers: {
2084
+ readonly default: {
2085
+ readonly name: "PolygonScan";
2086
+ readonly url: "https://amoy.polygonscan.com";
2087
+ readonly apiUrl: "https://api-amoy.polygonscan.com/api";
2088
+ };
2089
+ };
2090
+ blockTime?: number | undefined | undefined;
2091
+ contracts: {
2092
+ readonly multicall3: {
2093
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
2094
+ readonly blockCreated: 3127388;
2095
+ };
2096
+ };
2097
+ ensTlds?: readonly string[] | undefined;
2098
+ id: 80002;
2099
+ name: "Polygon Amoy";
2100
+ nativeCurrency: {
2101
+ readonly name: "POL";
2102
+ readonly symbol: "POL";
2103
+ readonly decimals: 18;
2104
+ };
2105
+ experimental_preconfirmationTime?: number | undefined | undefined;
2106
+ rpcUrls: {
2107
+ readonly default: {
2108
+ readonly http: readonly ["https://rpc-amoy.polygon.technology"];
2109
+ };
2110
+ };
2111
+ sourceId?: number | undefined | undefined;
2112
+ testnet: true;
2113
+ custom?: Record<string, unknown> | undefined;
2114
+ fees?: import("viem").ChainFees<undefined> | undefined;
2115
+ formatters?: undefined;
2116
+ serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
2117
+ }, {
2118
+ readonly id: 3151908;
2119
+ readonly name: "Pecorino Host";
2120
+ readonly nativeCurrency: {
2121
+ readonly decimals: 18;
2122
+ readonly name: "ETH";
2123
+ readonly symbol: "ETH";
2124
+ };
2125
+ readonly rpcUrls: {
2126
+ readonly default: {
2127
+ readonly http: readonly ["https://host-rpc.pecorino.signet.sh/"];
2128
+ };
2129
+ readonly public: {
2130
+ readonly http: readonly ["https://host-rpc.pecorino.signet.sh/"];
2131
+ };
2132
+ };
2133
+ readonly blockExplorers: {
2134
+ readonly default: {
2135
+ readonly name: "Pecorino Host Explorer";
2136
+ readonly url: "https://explorer-host.pecorino.signet.sh/";
2137
+ };
2138
+ };
2139
+ readonly testnet: true;
2140
+ }, {
2141
+ readonly id: 14174;
2142
+ readonly name: "Pecorino Signet";
2143
+ readonly nativeCurrency: {
2144
+ readonly decimals: 18;
2145
+ readonly name: "USD";
2146
+ readonly symbol: "USD";
2147
+ };
2148
+ readonly rpcUrls: {
2149
+ readonly default: {
2150
+ readonly http: readonly ["https://rpc.pecorino.signet.sh/"];
2151
+ };
2152
+ readonly public: {
2153
+ readonly http: readonly ["https://rpc.pecorino.signet.sh/"];
2154
+ };
2155
+ };
2156
+ readonly blockExplorers: {
2157
+ readonly default: {
2158
+ readonly name: "Pecorino Signet Explorer";
2159
+ readonly url: "https://explorer.pecorino.signet.sh/";
2160
+ };
2161
+ };
2162
+ readonly testnet: true;
2163
+ }];
2164
+ export type SupportedChainId = (typeof allChains)[number]["id"];
2165
+ export declare const chainById: Map<number, Chain>;
2166
+ export declare function getChainById(chainId: number): Optional<Chain>;
2167
+ export declare function getChainConfig(chainId: number): Optional<ChainConfig>;
2168
+ export declare function getMainnetChains(): ChainConfig[];
2169
+ export declare function getTestnetChains(): ChainConfig[];
2170
+ export declare function getAllChains(): ChainConfig[];
2171
+ export declare function isSupportedChain(chainId: number): boolean;
2172
+ //# sourceMappingURL=supported-chains.d.ts.map