@otim/utils 0.0.4 → 0.0.6

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 (467) hide show
  1. package/dist/api/index.d.mts +1858 -7
  2. package/dist/api/index.d.mts.map +1 -0
  3. package/dist/api/index.d.ts +1857 -6
  4. package/dist/api/index.d.ts.map +1 -1
  5. package/dist/api/index.js +1514 -1994
  6. package/dist/api/index.js.map +1 -7
  7. package/dist/api/index.mjs +1394 -1962
  8. package/dist/api/index.mjs.map +1 -7
  9. package/dist/api-urls-B-GTEiT3.d.mts +49 -0
  10. package/dist/api-urls-B-GTEiT3.d.mts.map +1 -0
  11. package/dist/api-urls-Cd20DG4i.js +171 -0
  12. package/dist/api-urls-Cd20DG4i.js.map +1 -0
  13. package/dist/api-urls-DJcIKBCy.mjs +135 -0
  14. package/dist/api-urls-DJcIKBCy.mjs.map +1 -0
  15. package/dist/api-urls-SKeIQMoZ.d.ts +49 -0
  16. package/dist/api-urls-SKeIQMoZ.d.ts.map +1 -0
  17. package/dist/chains/index.d.mts +13568 -16
  18. package/dist/chains/index.d.mts.map +1 -0
  19. package/dist/chains/index.d.ts +13567 -15
  20. package/dist/chains/index.d.ts.map +1 -1
  21. package/dist/chains/index.js +3615 -424
  22. package/dist/chains/index.js.map +1 -7
  23. package/dist/chains/index.mjs +3561 -440
  24. package/dist/chains/index.mjs.map +1 -7
  25. package/dist/chunk-kSYXY2_d.js +34 -0
  26. package/dist/client-factory-7xUSPC9I.mjs +42 -0
  27. package/dist/client-factory-7xUSPC9I.mjs.map +1 -0
  28. package/dist/client-factory-C3A4RPdj.d.ts +22 -0
  29. package/dist/client-factory-C3A4RPdj.d.ts.map +1 -0
  30. package/dist/client-factory-CTI_Nt35.js +49 -0
  31. package/dist/client-factory-CTI_Nt35.js.map +1 -0
  32. package/dist/client-factory-DOL0ZTWy.d.mts +22 -0
  33. package/dist/client-factory-DOL0ZTWy.d.mts.map +1 -0
  34. package/dist/constants.d.mts +14 -24
  35. package/dist/constants.d.mts.map +1 -0
  36. package/dist/constants.d.ts +13 -23
  37. package/dist/constants.d.ts.map +1 -1
  38. package/dist/constants.js +31 -46
  39. package/dist/constants.js.map +1 -7
  40. package/dist/constants.mjs +22 -26
  41. package/dist/constants.mjs.map +1 -7
  42. package/dist/date-CFzrYcjE.js +536 -0
  43. package/dist/date-CFzrYcjE.js.map +1 -0
  44. package/dist/date-gBac-Om9.mjs +313 -0
  45. package/dist/date-gBac-Om9.mjs.map +1 -0
  46. package/dist/defineProperty-DbMdhrDE.js +49 -0
  47. package/dist/defineProperty-DzhmunJg.mjs +43 -0
  48. package/dist/formatters/index.d.mts +1 -2
  49. package/dist/formatters/index.d.ts +1 -2
  50. package/dist/formatters/index.js +0 -19
  51. package/dist/formatters/index.mjs +1 -1
  52. package/dist/helpers/index.d.mts +562 -19
  53. package/dist/helpers/index.d.mts.map +1 -0
  54. package/dist/helpers/index.d.ts +561 -18
  55. package/dist/helpers/index.d.ts.map +1 -1
  56. package/dist/helpers/index.js +106 -1344
  57. package/dist/helpers/index.mjs +3 -1315
  58. package/dist/helpers-BNiSxjGq.mjs +895 -0
  59. package/dist/helpers-BNiSxjGq.mjs.map +1 -0
  60. package/dist/helpers-DoC7Xl12.js +1291 -0
  61. package/dist/helpers-DoC7Xl12.js.map +1 -0
  62. package/dist/index-Bv0kUz4w.d.ts +540 -0
  63. package/dist/index-Bv0kUz4w.d.ts.map +1 -0
  64. package/dist/index-DartTKk2.d.mts +540 -0
  65. package/dist/index-DartTKk2.d.mts.map +1 -0
  66. package/dist/index.d.mts +1 -1
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.js +0 -2
  69. package/dist/index.mjs +1 -1
  70. package/dist/instructions/index.d.mts +687 -6
  71. package/dist/instructions/index.d.mts.map +1 -0
  72. package/dist/instructions/index.d.ts +686 -5
  73. package/dist/instructions/index.d.ts.map +1 -1
  74. package/dist/instructions/index.js +1912 -1091
  75. package/dist/instructions/index.js.map +1 -7
  76. package/dist/instructions/index.mjs +1887 -1058
  77. package/dist/instructions/index.mjs.map +1 -7
  78. package/dist/payments/index.d.mts +322 -16
  79. package/dist/payments/index.d.mts.map +1 -0
  80. package/dist/payments/index.d.ts +321 -15
  81. package/dist/payments/index.d.ts.map +1 -1
  82. package/dist/payments/index.js +616 -1258
  83. package/dist/payments/index.js.map +1 -7
  84. package/dist/payments/index.mjs +594 -1236
  85. package/dist/payments/index.mjs.map +1 -7
  86. package/dist/schemas/index.d.mts +2 -10
  87. package/dist/schemas/index.d.ts +2 -10
  88. package/dist/schemas/index.js +350 -393
  89. package/dist/schemas/index.js.map +1 -7
  90. package/dist/schemas/index.mjs +283 -371
  91. package/dist/schemas/index.mjs.map +1 -7
  92. package/dist/server/index.d.mts +354 -3
  93. package/dist/server/index.d.mts.map +1 -0
  94. package/dist/server/index.d.ts +353 -2
  95. package/dist/server/index.d.ts.map +1 -1
  96. package/dist/server/index.js +248 -435
  97. package/dist/server/index.js.map +1 -7
  98. package/dist/server/index.mjs +199 -404
  99. package/dist/server/index.mjs.map +1 -7
  100. package/dist/server/react.d.mts +16 -0
  101. package/dist/server/react.d.mts.map +1 -0
  102. package/dist/server/react.d.ts +16 -0
  103. package/dist/server/react.d.ts.map +1 -0
  104. package/dist/server/react.js +30 -0
  105. package/dist/server/react.js.map +1 -0
  106. package/dist/server/react.mjs +28 -0
  107. package/dist/server/react.mjs.map +1 -0
  108. package/dist/wallet/wagmi/index.d.mts +23 -2
  109. package/dist/wallet/wagmi/index.d.mts.map +1 -0
  110. package/dist/wallet/wagmi/index.d.ts +22 -1
  111. package/dist/wallet/wagmi/index.d.ts.map +1 -1
  112. package/dist/wallet/wagmi/index.js +86 -417
  113. package/dist/wallet/wagmi/index.js.map +1 -7
  114. package/dist/wallet/wagmi/index.mjs +82 -418
  115. package/dist/wallet/wagmi/index.mjs.map +1 -7
  116. package/package.json +39 -28
  117. package/dist/api/api.d.mts +0 -18
  118. package/dist/api/api.d.ts +0 -18
  119. package/dist/api/api.d.ts.map +0 -1
  120. package/dist/api/core/error.d.mts +0 -74
  121. package/dist/api/core/error.d.ts +0 -74
  122. package/dist/api/core/error.d.ts.map +0 -1
  123. package/dist/api/core/index.d.mts +0 -4
  124. package/dist/api/core/index.d.ts +0 -4
  125. package/dist/api/core/index.d.ts.map +0 -1
  126. package/dist/api/core/instance.d.mts +0 -13
  127. package/dist/api/core/instance.d.ts +0 -13
  128. package/dist/api/core/instance.d.ts.map +0 -1
  129. package/dist/api/core/service.d.mts +0 -51
  130. package/dist/api/core/service.d.ts +0 -51
  131. package/dist/api/core/service.d.ts.map +0 -1
  132. package/dist/api/schemas/account.d.mts +0 -44
  133. package/dist/api/schemas/account.d.ts +0 -44
  134. package/dist/api/schemas/account.d.ts.map +0 -1
  135. package/dist/api/schemas/activity.d.mts +0 -277
  136. package/dist/api/schemas/activity.d.ts +0 -277
  137. package/dist/api/schemas/activity.d.ts.map +0 -1
  138. package/dist/api/schemas/auth.d.mts +0 -127
  139. package/dist/api/schemas/auth.d.ts +0 -127
  140. package/dist/api/schemas/auth.d.ts.map +0 -1
  141. package/dist/api/schemas/chain.d.mts +0 -15
  142. package/dist/api/schemas/chain.d.ts +0 -15
  143. package/dist/api/schemas/chain.d.ts.map +0 -1
  144. package/dist/api/schemas/config.d.mts +0 -33
  145. package/dist/api/schemas/config.d.ts +0 -33
  146. package/dist/api/schemas/config.d.ts.map +0 -1
  147. package/dist/api/schemas/contacts.d.mts +0 -27
  148. package/dist/api/schemas/contacts.d.ts +0 -27
  149. package/dist/api/schemas/contacts.d.ts.map +0 -1
  150. package/dist/api/schemas/index.d.mts +0 -12
  151. package/dist/api/schemas/index.d.ts +0 -12
  152. package/dist/api/schemas/index.d.ts.map +0 -1
  153. package/dist/api/schemas/instruction.d.mts +0 -446
  154. package/dist/api/schemas/instruction.d.ts +0 -446
  155. package/dist/api/schemas/instruction.d.ts.map +0 -1
  156. package/dist/api/schemas/integration.d.mts +0 -166
  157. package/dist/api/schemas/integration.d.ts +0 -166
  158. package/dist/api/schemas/integration.d.ts.map +0 -1
  159. package/dist/api/schemas/operating-account.d.mts +0 -11
  160. package/dist/api/schemas/operating-account.d.ts +0 -11
  161. package/dist/api/schemas/operating-account.d.ts.map +0 -1
  162. package/dist/api/schemas/payments.d.mts +0 -234
  163. package/dist/api/schemas/payments.d.ts +0 -234
  164. package/dist/api/schemas/payments.d.ts.map +0 -1
  165. package/dist/api/schemas/transaction.d.mts +0 -37
  166. package/dist/api/schemas/transaction.d.ts +0 -37
  167. package/dist/api/schemas/transaction.d.ts.map +0 -1
  168. package/dist/api/services/account.d.mts +0 -8
  169. package/dist/api/services/account.d.ts +0 -8
  170. package/dist/api/services/account.d.ts.map +0 -1
  171. package/dist/api/services/activity.d.mts +0 -7
  172. package/dist/api/services/activity.d.ts +0 -7
  173. package/dist/api/services/activity.d.ts.map +0 -1
  174. package/dist/api/services/auth.d.mts +0 -12
  175. package/dist/api/services/auth.d.ts +0 -12
  176. package/dist/api/services/auth.d.ts.map +0 -1
  177. package/dist/api/services/base.d.mts +0 -10
  178. package/dist/api/services/base.d.ts +0 -10
  179. package/dist/api/services/base.d.ts.map +0 -1
  180. package/dist/api/services/config.d.mts +0 -10
  181. package/dist/api/services/config.d.ts +0 -10
  182. package/dist/api/services/config.d.ts.map +0 -1
  183. package/dist/api/services/contacts.d.mts +0 -8
  184. package/dist/api/services/contacts.d.ts +0 -8
  185. package/dist/api/services/contacts.d.ts.map +0 -1
  186. package/dist/api/services/developer.d.mts +0 -6
  187. package/dist/api/services/developer.d.ts +0 -6
  188. package/dist/api/services/developer.d.ts.map +0 -1
  189. package/dist/api/services/index.d.mts +0 -13
  190. package/dist/api/services/index.d.ts +0 -13
  191. package/dist/api/services/index.d.ts.map +0 -1
  192. package/dist/api/services/instruction.d.mts +0 -12
  193. package/dist/api/services/instruction.d.ts +0 -12
  194. package/dist/api/services/instruction.d.ts.map +0 -1
  195. package/dist/api/services/integration.d.mts +0 -8
  196. package/dist/api/services/integration.d.ts +0 -8
  197. package/dist/api/services/integration.d.ts.map +0 -1
  198. package/dist/api/services/operating-account.d.mts +0 -8
  199. package/dist/api/services/operating-account.d.ts +0 -8
  200. package/dist/api/services/operating-account.d.ts.map +0 -1
  201. package/dist/api/services/payments.d.mts +0 -14
  202. package/dist/api/services/payments.d.ts +0 -14
  203. package/dist/api/services/payments.d.ts.map +0 -1
  204. package/dist/api/services/transaction.d.mts +0 -8
  205. package/dist/api/services/transaction.d.ts +0 -8
  206. package/dist/api/services/transaction.d.ts.map +0 -1
  207. package/dist/api/services/uniswap-token-list-service.d.mts +0 -66
  208. package/dist/api/services/uniswap-token-list-service.d.ts +0 -66
  209. package/dist/api/services/uniswap-token-list-service.d.ts.map +0 -1
  210. package/dist/api/utils/index.d.mts +0 -2
  211. package/dist/api/utils/index.d.ts +0 -2
  212. package/dist/api/utils/index.d.ts.map +0 -1
  213. package/dist/api/utils/pagination.d.mts +0 -32
  214. package/dist/api/utils/pagination.d.ts +0 -32
  215. package/dist/api/utils/pagination.d.ts.map +0 -1
  216. package/dist/chains/config/all-chains.d.mts +0 -4243
  217. package/dist/chains/config/all-chains.d.ts +0 -4243
  218. package/dist/chains/config/all-chains.d.ts.map +0 -1
  219. package/dist/chains/config/custom-chains.d.mts +0 -49
  220. package/dist/chains/config/custom-chains.d.ts +0 -49
  221. package/dist/chains/config/custom-chains.d.ts.map +0 -1
  222. package/dist/chains/config/mainnet-chains.d.mts +0 -1063
  223. package/dist/chains/config/mainnet-chains.d.ts +0 -1063
  224. package/dist/chains/config/mainnet-chains.d.ts.map +0 -1
  225. package/dist/chains/config/supported-chains.d.mts +0 -2172
  226. package/dist/chains/config/supported-chains.d.ts +0 -2172
  227. package/dist/chains/config/supported-chains.d.ts.map +0 -1
  228. package/dist/chains/config/testnet-chains.d.mts +0 -1110
  229. package/dist/chains/config/testnet-chains.d.ts +0 -1110
  230. package/dist/chains/config/testnet-chains.d.ts.map +0 -1
  231. package/dist/chains/lambda/chain-mapping.d.mts +0 -55
  232. package/dist/chains/lambda/chain-mapping.d.ts +0 -55
  233. package/dist/chains/lambda/chain-mapping.d.ts.map +0 -1
  234. package/dist/chains/lambda/index.d.mts +0 -2
  235. package/dist/chains/lambda/index.d.ts +0 -2
  236. package/dist/chains/lambda/index.d.ts.map +0 -1
  237. package/dist/chains/tokens/chain-tokens.d.mts +0 -6
  238. package/dist/chains/tokens/chain-tokens.d.ts +0 -6
  239. package/dist/chains/tokens/chain-tokens.d.ts.map +0 -1
  240. package/dist/chains/tokens/token-addresses.d.mts +0 -8
  241. package/dist/chains/tokens/token-addresses.d.ts +0 -8
  242. package/dist/chains/tokens/token-addresses.d.ts.map +0 -1
  243. package/dist/chains/tokens/token-metadata.d.mts +0 -5
  244. package/dist/chains/tokens/token-metadata.d.ts +0 -5
  245. package/dist/chains/tokens/token-metadata.d.ts.map +0 -1
  246. package/dist/chains/types.d.mts +0 -23
  247. package/dist/chains/types.d.ts +0 -23
  248. package/dist/chains/types.d.ts.map +0 -1
  249. package/dist/chains/utils/filter-tokens.d.mts +0 -3
  250. package/dist/chains/utils/filter-tokens.d.ts +0 -3
  251. package/dist/chains/utils/filter-tokens.d.ts.map +0 -1
  252. package/dist/chains/utils/stablecoin.d.mts +0 -7
  253. package/dist/chains/utils/stablecoin.d.ts +0 -7
  254. package/dist/chains/utils/stablecoin.d.ts.map +0 -1
  255. package/dist/chains/utils/token-maps.d.mts +0 -10
  256. package/dist/chains/utils/token-maps.d.ts +0 -10
  257. package/dist/chains/utils/token-maps.d.ts.map +0 -1
  258. package/dist/env.d.mts +0 -17
  259. package/dist/env.d.ts +0 -17
  260. package/dist/env.d.ts.map +0 -1
  261. package/dist/formatters/index.d.ts.map +0 -1
  262. package/dist/formatters/index.js.map +0 -7
  263. package/dist/formatters/index.mjs.map +0 -7
  264. package/dist/helpers/address.d.mts +0 -7
  265. package/dist/helpers/address.d.ts +0 -7
  266. package/dist/helpers/address.d.ts.map +0 -1
  267. package/dist/helpers/blockchain.d.mts +0 -41
  268. package/dist/helpers/blockchain.d.ts +0 -41
  269. package/dist/helpers/blockchain.d.ts.map +0 -1
  270. package/dist/helpers/date.d.mts +0 -70
  271. package/dist/helpers/date.d.ts +0 -70
  272. package/dist/helpers/date.d.ts.map +0 -1
  273. package/dist/helpers/datetime.d.mts +0 -57
  274. package/dist/helpers/datetime.d.ts +0 -57
  275. package/dist/helpers/datetime.d.ts.map +0 -1
  276. package/dist/helpers/domain.d.mts +0 -2
  277. package/dist/helpers/domain.d.ts +0 -2
  278. package/dist/helpers/domain.d.ts.map +0 -1
  279. package/dist/helpers/index.js.map +0 -7
  280. package/dist/helpers/index.mjs.map +0 -7
  281. package/dist/helpers/intl.d.mts +0 -20
  282. package/dist/helpers/intl.d.ts +0 -20
  283. package/dist/helpers/intl.d.ts.map +0 -1
  284. package/dist/helpers/logger.d.mts +0 -26
  285. package/dist/helpers/logger.d.ts +0 -26
  286. package/dist/helpers/logger.d.ts.map +0 -1
  287. package/dist/helpers/mask-options.d.mts +0 -10
  288. package/dist/helpers/mask-options.d.ts +0 -10
  289. package/dist/helpers/mask-options.d.ts.map +0 -1
  290. package/dist/helpers/num-formatter.d.mts +0 -3
  291. package/dist/helpers/num-formatter.d.ts +0 -3
  292. package/dist/helpers/num-formatter.d.ts.map +0 -1
  293. package/dist/helpers/polling.d.mts +0 -39
  294. package/dist/helpers/polling.d.ts +0 -39
  295. package/dist/helpers/polling.d.ts.map +0 -1
  296. package/dist/helpers/random.d.mts +0 -10
  297. package/dist/helpers/random.d.ts +0 -10
  298. package/dist/helpers/random.d.ts.map +0 -1
  299. package/dist/helpers/sdk-loader.d.mts +0 -25
  300. package/dist/helpers/sdk-loader.d.ts +0 -25
  301. package/dist/helpers/sdk-loader.d.ts.map +0 -1
  302. package/dist/helpers/signatures.d.mts +0 -17
  303. package/dist/helpers/signatures.d.ts +0 -17
  304. package/dist/helpers/signatures.d.ts.map +0 -1
  305. package/dist/helpers/string.d.mts +0 -17
  306. package/dist/helpers/string.d.ts +0 -17
  307. package/dist/helpers/string.d.ts.map +0 -1
  308. package/dist/helpers/types.d.mts +0 -39
  309. package/dist/helpers/types.d.ts +0 -39
  310. package/dist/helpers/types.d.ts.map +0 -1
  311. package/dist/helpers/url.d.mts +0 -11
  312. package/dist/helpers/url.d.ts +0 -11
  313. package/dist/helpers/url.d.ts.map +0 -1
  314. package/dist/helpers/window.d.mts +0 -37
  315. package/dist/helpers/window.d.ts +0 -37
  316. package/dist/helpers/window.d.ts.map +0 -1
  317. package/dist/helpers/zod.d.mts +0 -51
  318. package/dist/helpers/zod.d.ts +0 -51
  319. package/dist/helpers/zod.d.ts.map +0 -1
  320. package/dist/index.d.ts.map +0 -1
  321. package/dist/index.js.map +0 -7
  322. package/dist/index.mjs.map +0 -7
  323. package/dist/instructions/actions/index.d.mts +0 -5
  324. package/dist/instructions/actions/index.d.ts +0 -5
  325. package/dist/instructions/actions/index.d.ts.map +0 -1
  326. package/dist/instructions/actions/refuel/index.d.mts +0 -15
  327. package/dist/instructions/actions/refuel/index.d.ts +0 -15
  328. package/dist/instructions/actions/refuel/index.d.ts.map +0 -1
  329. package/dist/instructions/actions/swap/index.d.mts +0 -19
  330. package/dist/instructions/actions/swap/index.d.ts +0 -19
  331. package/dist/instructions/actions/swap/index.d.ts.map +0 -1
  332. package/dist/instructions/actions/sweep/index.d.mts +0 -16
  333. package/dist/instructions/actions/sweep/index.d.ts +0 -16
  334. package/dist/instructions/actions/sweep/index.d.ts.map +0 -1
  335. package/dist/instructions/actions/transfer/index.d.mts +0 -13
  336. package/dist/instructions/actions/transfer/index.d.ts +0 -13
  337. package/dist/instructions/actions/transfer/index.d.ts.map +0 -1
  338. package/dist/instructions/activate.d.mts +0 -84
  339. package/dist/instructions/activate.d.ts +0 -84
  340. package/dist/instructions/activate.d.ts.map +0 -1
  341. package/dist/instructions/build.d.mts +0 -146
  342. package/dist/instructions/build.d.ts +0 -146
  343. package/dist/instructions/build.d.ts.map +0 -1
  344. package/dist/instructions/constants.d.mts +0 -9
  345. package/dist/instructions/constants.d.ts +0 -9
  346. package/dist/instructions/constants.d.ts.map +0 -1
  347. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.mts +0 -609
  348. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts +0 -609
  349. package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts.map +0 -1
  350. package/dist/instructions/types.d.mts +0 -289
  351. package/dist/instructions/types.d.ts +0 -289
  352. package/dist/instructions/types.d.ts.map +0 -1
  353. package/dist/payments/action-names.d.mts +0 -16
  354. package/dist/payments/action-names.d.ts +0 -16
  355. package/dist/payments/action-names.d.ts.map +0 -1
  356. package/dist/payments/actions/index.d.mts +0 -5
  357. package/dist/payments/actions/index.d.ts +0 -5
  358. package/dist/payments/actions/index.d.ts.map +0 -1
  359. package/dist/payments/actions/sweep-cctp.d.mts +0 -15
  360. package/dist/payments/actions/sweep-cctp.d.ts +0 -15
  361. package/dist/payments/actions/sweep-cctp.d.ts.map +0 -1
  362. package/dist/payments/actions/sweep-erc20.d.mts +0 -12
  363. package/dist/payments/actions/sweep-erc20.d.ts +0 -12
  364. package/dist/payments/actions/sweep-erc20.d.ts.map +0 -1
  365. package/dist/payments/actions/sweep-uniswap-v3.d.mts +0 -17
  366. package/dist/payments/actions/sweep-uniswap-v3.d.ts +0 -17
  367. package/dist/payments/actions/sweep-uniswap-v3.d.ts.map +0 -1
  368. package/dist/payments/actions/sweep.d.mts +0 -12
  369. package/dist/payments/actions/sweep.d.ts +0 -12
  370. package/dist/payments/actions/sweep.d.ts.map +0 -1
  371. package/dist/payments/build.d.mts +0 -28
  372. package/dist/payments/build.d.ts +0 -28
  373. package/dist/payments/build.d.ts.map +0 -1
  374. package/dist/payments/chain-token-config-builder.d.mts +0 -10
  375. package/dist/payments/chain-token-config-builder.d.ts +0 -10
  376. package/dist/payments/chain-token-config-builder.d.ts.map +0 -1
  377. package/dist/payments/comprehensive-payment-request.d.mts +0 -26
  378. package/dist/payments/comprehensive-payment-request.d.ts +0 -26
  379. package/dist/payments/comprehensive-payment-request.d.ts.map +0 -1
  380. package/dist/payments/config/cctp.d.mts +0 -14
  381. package/dist/payments/config/cctp.d.ts +0 -14
  382. package/dist/payments/config/cctp.d.ts.map +0 -1
  383. package/dist/payments/config/index.d.mts +0 -3
  384. package/dist/payments/config/index.d.ts +0 -3
  385. package/dist/payments/config/index.d.ts.map +0 -1
  386. package/dist/payments/config/tokens.d.mts +0 -14
  387. package/dist/payments/config/tokens.d.ts +0 -14
  388. package/dist/payments/config/tokens.d.ts.map +0 -1
  389. package/dist/payments/instruction-registry.d.mts +0 -19
  390. package/dist/payments/instruction-registry.d.ts +0 -19
  391. package/dist/payments/instruction-registry.d.ts.map +0 -1
  392. package/dist/payments/payment-metadata-builder.d.mts +0 -56
  393. package/dist/payments/payment-metadata-builder.d.ts +0 -56
  394. package/dist/payments/payment-metadata-builder.d.ts.map +0 -1
  395. package/dist/payments/payment-metadata.d.mts +0 -15
  396. package/dist/payments/payment-metadata.d.ts +0 -15
  397. package/dist/payments/payment-metadata.d.ts.map +0 -1
  398. package/dist/payments/payment-request-token-resolver.d.mts +0 -25
  399. package/dist/payments/payment-request-token-resolver.d.ts +0 -25
  400. package/dist/payments/payment-request-token-resolver.d.ts.map +0 -1
  401. package/dist/payments/types.d.mts +0 -40
  402. package/dist/payments/types.d.ts +0 -40
  403. package/dist/payments/types.d.ts.map +0 -1
  404. package/dist/payments/validation.d.mts +0 -19
  405. package/dist/payments/validation.d.ts +0 -19
  406. package/dist/payments/validation.d.ts.map +0 -1
  407. package/dist/schemas/account.d.mts +0 -9
  408. package/dist/schemas/account.d.ts +0 -9
  409. package/dist/schemas/account.d.ts.map +0 -1
  410. package/dist/schemas/brand.d.mts +0 -7
  411. package/dist/schemas/brand.d.ts +0 -7
  412. package/dist/schemas/brand.d.ts.map +0 -1
  413. package/dist/schemas/contact.d.mts +0 -18
  414. package/dist/schemas/contact.d.ts +0 -18
  415. package/dist/schemas/contact.d.ts.map +0 -1
  416. package/dist/schemas/index.d.ts.map +0 -1
  417. package/dist/schemas/instruction.d.mts +0 -248
  418. package/dist/schemas/instruction.d.ts +0 -248
  419. package/dist/schemas/instruction.d.ts.map +0 -1
  420. package/dist/schemas/misc.d.mts +0 -36
  421. package/dist/schemas/misc.d.ts +0 -36
  422. package/dist/schemas/misc.d.ts.map +0 -1
  423. package/dist/schemas/payment.d.mts +0 -64
  424. package/dist/schemas/payment.d.ts +0 -64
  425. package/dist/schemas/payment.d.ts.map +0 -1
  426. package/dist/schemas/token.d.mts +0 -17
  427. package/dist/schemas/token.d.ts +0 -17
  428. package/dist/schemas/token.d.ts.map +0 -1
  429. package/dist/schemas/transaction.d.mts +0 -65
  430. package/dist/schemas/transaction.d.ts +0 -65
  431. package/dist/schemas/transaction.d.ts.map +0 -1
  432. package/dist/schemas/user.d.mts +0 -24
  433. package/dist/schemas/user.d.ts +0 -24
  434. package/dist/schemas/user.d.ts.map +0 -1
  435. package/dist/server/client.d.mts +0 -3
  436. package/dist/server/client.d.ts +0 -3
  437. package/dist/server/client.d.ts.map +0 -1
  438. package/dist/server/routes/account.d.mts +0 -4
  439. package/dist/server/routes/account.d.ts +0 -4
  440. package/dist/server/routes/account.d.ts.map +0 -1
  441. package/dist/server/routes/auth.d.mts +0 -28
  442. package/dist/server/routes/auth.d.ts +0 -28
  443. package/dist/server/routes/auth.d.ts.map +0 -1
  444. package/dist/server/routes/bridge.d.mts +0 -254
  445. package/dist/server/routes/bridge.d.ts +0 -254
  446. package/dist/server/routes/bridge.d.ts.map +0 -1
  447. package/dist/server/routes/config.d.mts +0 -3
  448. package/dist/server/routes/config.d.ts +0 -3
  449. package/dist/server/routes/config.d.ts.map +0 -1
  450. package/dist/server/routes/index.d.mts +0 -8
  451. package/dist/server/routes/index.d.ts +0 -8
  452. package/dist/server/routes/index.d.ts.map +0 -1
  453. package/dist/server/routes/instruction.d.mts +0 -4
  454. package/dist/server/routes/instruction.d.ts +0 -4
  455. package/dist/server/routes/instruction.d.ts.map +0 -1
  456. package/dist/server/routes/integration.d.mts +0 -4
  457. package/dist/server/routes/integration.d.ts +0 -4
  458. package/dist/server/routes/integration.d.ts.map +0 -1
  459. package/dist/server/routes/payments.d.mts +0 -5
  460. package/dist/server/routes/payments.d.ts +0 -5
  461. package/dist/server/routes/payments.d.ts.map +0 -1
  462. package/dist/server/routes/verify.d.mts +0 -3
  463. package/dist/server/routes/verify.d.ts +0 -3
  464. package/dist/server/routes/verify.d.ts.map +0 -1
  465. package/dist/wallet/wagmi/config.d.mts +0 -18
  466. package/dist/wallet/wagmi/config.d.ts +0 -18
  467. package/dist/wallet/wagmi/config.d.ts.map +0 -1
@@ -1,1063 +0,0 @@
1
- import type { Optional } from "@otim/utils/helpers";
2
- import type { Chain } from "viem/chains";
3
- export declare const mainnetChains: readonly [{
4
- blockExplorers: {
5
- readonly default: {
6
- readonly name: "Etherscan";
7
- readonly url: "https://etherscan.io";
8
- readonly apiUrl: "https://api.etherscan.io/api";
9
- };
10
- };
11
- blockTime: 12000;
12
- contracts: {
13
- readonly ensUniversalResolver: {
14
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
15
- readonly blockCreated: 23085558;
16
- };
17
- readonly multicall3: {
18
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
19
- readonly blockCreated: 14353601;
20
- };
21
- };
22
- ensTlds?: readonly string[] | undefined;
23
- id: 1;
24
- name: "Ethereum";
25
- nativeCurrency: {
26
- readonly name: "Ether";
27
- readonly symbol: "ETH";
28
- readonly decimals: 18;
29
- };
30
- experimental_preconfirmationTime?: number | undefined | undefined;
31
- rpcUrls: {
32
- readonly default: {
33
- readonly http: readonly ["https://eth.merkle.io"];
34
- };
35
- };
36
- sourceId?: number | undefined | undefined;
37
- testnet?: boolean | undefined | undefined;
38
- custom?: Record<string, unknown> | undefined;
39
- fees?: import("viem").ChainFees<undefined> | undefined;
40
- formatters?: undefined;
41
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
42
- }, {
43
- blockExplorers: {
44
- readonly default: {
45
- readonly name: "Basescan";
46
- readonly url: "https://basescan.org";
47
- readonly apiUrl: "https://api.basescan.org/api";
48
- };
49
- };
50
- blockTime: 2000;
51
- contracts: {
52
- readonly disputeGameFactory: {
53
- readonly 1: {
54
- readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
55
- };
56
- };
57
- readonly l2OutputOracle: {
58
- readonly 1: {
59
- readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
60
- };
61
- };
62
- readonly multicall3: {
63
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
64
- readonly blockCreated: 5022;
65
- };
66
- readonly portal: {
67
- readonly 1: {
68
- readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
69
- readonly blockCreated: 17482143;
70
- };
71
- };
72
- readonly l1StandardBridge: {
73
- readonly 1: {
74
- readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
75
- readonly blockCreated: 17482143;
76
- };
77
- };
78
- readonly gasPriceOracle: {
79
- readonly address: "0x420000000000000000000000000000000000000F";
80
- };
81
- readonly l1Block: {
82
- readonly address: "0x4200000000000000000000000000000000000015";
83
- };
84
- readonly l2CrossDomainMessenger: {
85
- readonly address: "0x4200000000000000000000000000000000000007";
86
- };
87
- readonly l2Erc721Bridge: {
88
- readonly address: "0x4200000000000000000000000000000000000014";
89
- };
90
- readonly l2StandardBridge: {
91
- readonly address: "0x4200000000000000000000000000000000000010";
92
- };
93
- readonly l2ToL1MessagePasser: {
94
- readonly address: "0x4200000000000000000000000000000000000016";
95
- };
96
- };
97
- ensTlds?: readonly string[] | undefined;
98
- id: 8453;
99
- name: "Base";
100
- nativeCurrency: {
101
- readonly name: "Ether";
102
- readonly symbol: "ETH";
103
- readonly decimals: 18;
104
- };
105
- experimental_preconfirmationTime?: number | undefined | undefined;
106
- rpcUrls: {
107
- readonly default: {
108
- readonly http: readonly ["https://mainnet.base.org"];
109
- };
110
- };
111
- sourceId: 1;
112
- testnet?: boolean | undefined | undefined;
113
- custom?: Record<string, unknown> | undefined;
114
- fees?: import("viem").ChainFees<undefined> | undefined;
115
- formatters: {
116
- readonly block: {
117
- exclude: [] | undefined;
118
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
119
- baseFeePerGas: bigint | null;
120
- blobGasUsed: bigint;
121
- difficulty: bigint;
122
- excessBlobGas: bigint;
123
- extraData: import("viem").Hex;
124
- gasLimit: bigint;
125
- gasUsed: bigint;
126
- hash: `0x${string}` | null;
127
- logsBloom: `0x${string}` | null;
128
- miner: import("viem").Address;
129
- mixHash: import("viem").Hash;
130
- nonce: `0x${string}` | null;
131
- number: bigint | null;
132
- parentBeaconBlockRoot?: `0x${string}` | undefined;
133
- parentHash: import("viem").Hash;
134
- receiptsRoot: import("viem").Hex;
135
- sealFields: import("viem").Hex[];
136
- sha3Uncles: import("viem").Hash;
137
- size: bigint;
138
- stateRoot: import("viem").Hash;
139
- timestamp: bigint;
140
- totalDifficulty: bigint | null;
141
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
142
- transactionsRoot: import("viem").Hash;
143
- uncles: import("viem").Hash[];
144
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
145
- withdrawalsRoot?: `0x${string}` | undefined;
146
- } & {};
147
- type: "block";
148
- };
149
- readonly transaction: {
150
- exclude: [] | undefined;
151
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
152
- blockHash: `0x${string}` | null;
153
- blockNumber: bigint | null;
154
- from: import("viem").Address;
155
- gas: bigint;
156
- hash: import("viem").Hash;
157
- input: import("viem").Hex;
158
- nonce: number;
159
- r: import("viem").Hex;
160
- s: import("viem").Hex;
161
- to: import("viem").Address | null;
162
- transactionIndex: number | null;
163
- typeHex: import("viem").Hex | null;
164
- v: bigint;
165
- value: bigint;
166
- yParity: number;
167
- gasPrice?: undefined | undefined;
168
- maxFeePerBlobGas?: undefined | undefined;
169
- maxFeePerGas: bigint;
170
- maxPriorityFeePerGas: bigint;
171
- isSystemTx?: boolean;
172
- mint?: bigint | undefined | undefined;
173
- sourceHash: import("viem").Hex;
174
- type: "deposit";
175
- } | {
176
- r: import("viem").Hex;
177
- s: import("viem").Hex;
178
- v: bigint;
179
- value: bigint;
180
- gas: bigint;
181
- to: import("viem").Address | null;
182
- from: import("viem").Address;
183
- nonce: number;
184
- blockHash: `0x${string}` | null;
185
- blockNumber: bigint | null;
186
- transactionIndex: number | null;
187
- hash: import("viem").Hash;
188
- input: import("viem").Hex;
189
- typeHex: import("viem").Hex | null;
190
- accessList?: undefined | undefined;
191
- authorizationList?: undefined | undefined;
192
- blobVersionedHashes?: undefined | undefined;
193
- chainId?: number | undefined;
194
- yParity?: undefined | undefined;
195
- type: "legacy";
196
- gasPrice: bigint;
197
- maxFeePerBlobGas?: undefined | undefined;
198
- maxFeePerGas?: undefined | undefined;
199
- maxPriorityFeePerGas?: undefined | undefined;
200
- isSystemTx?: undefined | undefined;
201
- mint?: undefined | undefined;
202
- sourceHash?: undefined | undefined;
203
- } | {
204
- blockHash: `0x${string}` | null;
205
- blockNumber: bigint | null;
206
- from: import("viem").Address;
207
- gas: bigint;
208
- hash: import("viem").Hash;
209
- input: import("viem").Hex;
210
- nonce: number;
211
- r: import("viem").Hex;
212
- s: import("viem").Hex;
213
- to: import("viem").Address | null;
214
- transactionIndex: number | null;
215
- typeHex: import("viem").Hex | null;
216
- v: bigint;
217
- value: bigint;
218
- yParity: number;
219
- accessList: import("viem").AccessList;
220
- authorizationList?: undefined | undefined;
221
- blobVersionedHashes?: undefined | undefined;
222
- chainId: number;
223
- type: "eip2930";
224
- gasPrice: bigint;
225
- maxFeePerBlobGas?: undefined | undefined;
226
- maxFeePerGas?: undefined | undefined;
227
- maxPriorityFeePerGas?: undefined | undefined;
228
- isSystemTx?: undefined | undefined;
229
- mint?: undefined | undefined;
230
- sourceHash?: undefined | undefined;
231
- } | {
232
- blockHash: `0x${string}` | null;
233
- blockNumber: bigint | null;
234
- from: import("viem").Address;
235
- gas: bigint;
236
- hash: import("viem").Hash;
237
- input: import("viem").Hex;
238
- nonce: number;
239
- r: import("viem").Hex;
240
- s: import("viem").Hex;
241
- to: import("viem").Address | null;
242
- transactionIndex: number | null;
243
- typeHex: import("viem").Hex | null;
244
- v: bigint;
245
- value: bigint;
246
- yParity: number;
247
- accessList: import("viem").AccessList;
248
- authorizationList?: undefined | undefined;
249
- blobVersionedHashes?: undefined | undefined;
250
- chainId: number;
251
- type: "eip1559";
252
- gasPrice?: undefined | undefined;
253
- maxFeePerBlobGas?: undefined | undefined;
254
- maxFeePerGas: bigint;
255
- maxPriorityFeePerGas: bigint;
256
- isSystemTx?: undefined | undefined;
257
- mint?: undefined | undefined;
258
- sourceHash?: undefined | undefined;
259
- } | {
260
- blockHash: `0x${string}` | null;
261
- blockNumber: bigint | null;
262
- from: import("viem").Address;
263
- gas: bigint;
264
- hash: import("viem").Hash;
265
- input: import("viem").Hex;
266
- nonce: number;
267
- r: import("viem").Hex;
268
- s: import("viem").Hex;
269
- to: import("viem").Address | null;
270
- transactionIndex: number | null;
271
- typeHex: import("viem").Hex | null;
272
- v: bigint;
273
- value: bigint;
274
- yParity: number;
275
- accessList: import("viem").AccessList;
276
- authorizationList?: undefined | undefined;
277
- blobVersionedHashes: readonly import("viem").Hex[];
278
- chainId: number;
279
- type: "eip4844";
280
- gasPrice?: undefined | undefined;
281
- maxFeePerBlobGas: bigint;
282
- maxFeePerGas: bigint;
283
- maxPriorityFeePerGas: bigint;
284
- isSystemTx?: undefined | undefined;
285
- mint?: undefined | undefined;
286
- sourceHash?: undefined | undefined;
287
- } | {
288
- blockHash: `0x${string}` | null;
289
- blockNumber: bigint | null;
290
- from: import("viem").Address;
291
- gas: bigint;
292
- hash: import("viem").Hash;
293
- input: import("viem").Hex;
294
- nonce: number;
295
- r: import("viem").Hex;
296
- s: import("viem").Hex;
297
- to: import("viem").Address | null;
298
- transactionIndex: number | null;
299
- typeHex: import("viem").Hex | null;
300
- v: bigint;
301
- value: bigint;
302
- yParity: number;
303
- accessList: import("viem").AccessList;
304
- authorizationList: import("viem").SignedAuthorizationList;
305
- blobVersionedHashes?: undefined | undefined;
306
- chainId: number;
307
- type: "eip7702";
308
- gasPrice?: undefined | undefined;
309
- maxFeePerBlobGas?: undefined | undefined;
310
- maxFeePerGas: bigint;
311
- maxPriorityFeePerGas: bigint;
312
- isSystemTx?: undefined | undefined;
313
- mint?: undefined | undefined;
314
- sourceHash?: undefined | undefined;
315
- }) & {};
316
- type: "transaction";
317
- };
318
- readonly transactionReceipt: {
319
- exclude: [] | undefined;
320
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
321
- blobGasPrice?: bigint | undefined;
322
- blobGasUsed?: bigint | undefined;
323
- blockHash: import("viem").Hash;
324
- blockNumber: bigint;
325
- contractAddress: import("viem").Address | null | undefined;
326
- cumulativeGasUsed: bigint;
327
- effectiveGasPrice: bigint;
328
- from: import("viem").Address;
329
- gasUsed: bigint;
330
- logs: import("viem").Log<bigint, number, false>[];
331
- logsBloom: import("viem").Hex;
332
- root?: `0x${string}` | undefined;
333
- status: "success" | "reverted";
334
- to: import("viem").Address | null;
335
- transactionHash: import("viem").Hash;
336
- transactionIndex: number;
337
- type: import("viem").TransactionType;
338
- l1GasPrice: bigint | null;
339
- l1GasUsed: bigint | null;
340
- l1Fee: bigint | null;
341
- l1FeeScalar: number | null;
342
- } & {};
343
- type: "transactionReceipt";
344
- };
345
- };
346
- serializers: {
347
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
348
- };
349
- }, {
350
- blockExplorers: {
351
- readonly default: {
352
- readonly name: "Arbiscan";
353
- readonly url: "https://arbiscan.io";
354
- readonly apiUrl: "https://api.arbiscan.io/api";
355
- };
356
- };
357
- blockTime: 250;
358
- contracts: {
359
- readonly multicall3: {
360
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
361
- readonly blockCreated: 7654707;
362
- };
363
- };
364
- ensTlds?: readonly string[] | undefined;
365
- id: 42161;
366
- name: "Arbitrum One";
367
- nativeCurrency: {
368
- readonly name: "Ether";
369
- readonly symbol: "ETH";
370
- readonly decimals: 18;
371
- };
372
- experimental_preconfirmationTime?: number | undefined | undefined;
373
- rpcUrls: {
374
- readonly default: {
375
- readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
376
- };
377
- };
378
- sourceId?: number | undefined | undefined;
379
- testnet?: boolean | undefined | undefined;
380
- custom?: Record<string, unknown> | undefined;
381
- fees?: import("viem").ChainFees<undefined> | undefined;
382
- formatters?: undefined;
383
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
384
- }, {
385
- blockExplorers: {
386
- readonly default: {
387
- readonly name: "Optimism Explorer";
388
- readonly url: "https://optimistic.etherscan.io";
389
- readonly apiUrl: "https://api-optimistic.etherscan.io/api";
390
- };
391
- };
392
- blockTime: 2000;
393
- contracts: {
394
- readonly disputeGameFactory: {
395
- readonly 1: {
396
- readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
397
- };
398
- };
399
- readonly l2OutputOracle: {
400
- readonly 1: {
401
- readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
402
- };
403
- };
404
- readonly multicall3: {
405
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
406
- readonly blockCreated: 4286263;
407
- };
408
- readonly portal: {
409
- readonly 1: {
410
- readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
411
- };
412
- };
413
- readonly l1StandardBridge: {
414
- readonly 1: {
415
- readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
416
- };
417
- };
418
- readonly gasPriceOracle: {
419
- readonly address: "0x420000000000000000000000000000000000000F";
420
- };
421
- readonly l1Block: {
422
- readonly address: "0x4200000000000000000000000000000000000015";
423
- };
424
- readonly l2CrossDomainMessenger: {
425
- readonly address: "0x4200000000000000000000000000000000000007";
426
- };
427
- readonly l2Erc721Bridge: {
428
- readonly address: "0x4200000000000000000000000000000000000014";
429
- };
430
- readonly l2StandardBridge: {
431
- readonly address: "0x4200000000000000000000000000000000000010";
432
- };
433
- readonly l2ToL1MessagePasser: {
434
- readonly address: "0x4200000000000000000000000000000000000016";
435
- };
436
- };
437
- ensTlds?: readonly string[] | undefined;
438
- id: 10;
439
- name: "OP Mainnet";
440
- nativeCurrency: {
441
- readonly name: "Ether";
442
- readonly symbol: "ETH";
443
- readonly decimals: 18;
444
- };
445
- experimental_preconfirmationTime?: number | undefined | undefined;
446
- rpcUrls: {
447
- readonly default: {
448
- readonly http: readonly ["https://mainnet.optimism.io"];
449
- };
450
- };
451
- sourceId: 1;
452
- testnet?: boolean | undefined | undefined;
453
- custom?: Record<string, unknown> | undefined;
454
- fees?: import("viem").ChainFees<undefined> | undefined;
455
- formatters: {
456
- readonly block: {
457
- exclude: [] | undefined;
458
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
459
- baseFeePerGas: bigint | null;
460
- blobGasUsed: bigint;
461
- difficulty: bigint;
462
- excessBlobGas: bigint;
463
- extraData: import("viem").Hex;
464
- gasLimit: bigint;
465
- gasUsed: bigint;
466
- hash: `0x${string}` | null;
467
- logsBloom: `0x${string}` | null;
468
- miner: import("viem").Address;
469
- mixHash: import("viem").Hash;
470
- nonce: `0x${string}` | null;
471
- number: bigint | null;
472
- parentBeaconBlockRoot?: `0x${string}` | undefined;
473
- parentHash: import("viem").Hash;
474
- receiptsRoot: import("viem").Hex;
475
- sealFields: import("viem").Hex[];
476
- sha3Uncles: import("viem").Hash;
477
- size: bigint;
478
- stateRoot: import("viem").Hash;
479
- timestamp: bigint;
480
- totalDifficulty: bigint | null;
481
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
482
- transactionsRoot: import("viem").Hash;
483
- uncles: import("viem").Hash[];
484
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
485
- withdrawalsRoot?: `0x${string}` | undefined;
486
- } & {};
487
- type: "block";
488
- };
489
- readonly transaction: {
490
- exclude: [] | undefined;
491
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
492
- blockHash: `0x${string}` | null;
493
- blockNumber: bigint | null;
494
- from: import("viem").Address;
495
- gas: bigint;
496
- hash: import("viem").Hash;
497
- input: import("viem").Hex;
498
- nonce: number;
499
- r: import("viem").Hex;
500
- s: import("viem").Hex;
501
- to: import("viem").Address | null;
502
- transactionIndex: number | null;
503
- typeHex: import("viem").Hex | null;
504
- v: bigint;
505
- value: bigint;
506
- yParity: number;
507
- gasPrice?: undefined | undefined;
508
- maxFeePerBlobGas?: undefined | undefined;
509
- maxFeePerGas: bigint;
510
- maxPriorityFeePerGas: bigint;
511
- isSystemTx?: boolean;
512
- mint?: bigint | undefined | undefined;
513
- sourceHash: import("viem").Hex;
514
- type: "deposit";
515
- } | {
516
- r: import("viem").Hex;
517
- s: import("viem").Hex;
518
- v: bigint;
519
- value: bigint;
520
- gas: bigint;
521
- to: import("viem").Address | null;
522
- from: import("viem").Address;
523
- nonce: number;
524
- blockHash: `0x${string}` | null;
525
- blockNumber: bigint | null;
526
- transactionIndex: number | null;
527
- hash: import("viem").Hash;
528
- input: import("viem").Hex;
529
- typeHex: import("viem").Hex | null;
530
- accessList?: undefined | undefined;
531
- authorizationList?: undefined | undefined;
532
- blobVersionedHashes?: undefined | undefined;
533
- chainId?: number | undefined;
534
- yParity?: undefined | undefined;
535
- type: "legacy";
536
- gasPrice: bigint;
537
- maxFeePerBlobGas?: undefined | undefined;
538
- maxFeePerGas?: undefined | undefined;
539
- maxPriorityFeePerGas?: undefined | undefined;
540
- isSystemTx?: undefined | undefined;
541
- mint?: undefined | undefined;
542
- sourceHash?: undefined | undefined;
543
- } | {
544
- blockHash: `0x${string}` | null;
545
- blockNumber: bigint | null;
546
- from: import("viem").Address;
547
- gas: bigint;
548
- hash: import("viem").Hash;
549
- input: import("viem").Hex;
550
- nonce: number;
551
- r: import("viem").Hex;
552
- s: import("viem").Hex;
553
- to: import("viem").Address | null;
554
- transactionIndex: number | null;
555
- typeHex: import("viem").Hex | null;
556
- v: bigint;
557
- value: bigint;
558
- yParity: number;
559
- accessList: import("viem").AccessList;
560
- authorizationList?: undefined | undefined;
561
- blobVersionedHashes?: undefined | undefined;
562
- chainId: number;
563
- type: "eip2930";
564
- gasPrice: bigint;
565
- maxFeePerBlobGas?: undefined | undefined;
566
- maxFeePerGas?: undefined | undefined;
567
- maxPriorityFeePerGas?: undefined | undefined;
568
- isSystemTx?: undefined | undefined;
569
- mint?: undefined | undefined;
570
- sourceHash?: undefined | undefined;
571
- } | {
572
- blockHash: `0x${string}` | null;
573
- blockNumber: bigint | null;
574
- from: import("viem").Address;
575
- gas: bigint;
576
- hash: import("viem").Hash;
577
- input: import("viem").Hex;
578
- nonce: number;
579
- r: import("viem").Hex;
580
- s: import("viem").Hex;
581
- to: import("viem").Address | null;
582
- transactionIndex: number | null;
583
- typeHex: import("viem").Hex | null;
584
- v: bigint;
585
- value: bigint;
586
- yParity: number;
587
- accessList: import("viem").AccessList;
588
- authorizationList?: undefined | undefined;
589
- blobVersionedHashes?: undefined | undefined;
590
- chainId: number;
591
- type: "eip1559";
592
- gasPrice?: undefined | undefined;
593
- maxFeePerBlobGas?: undefined | undefined;
594
- maxFeePerGas: bigint;
595
- maxPriorityFeePerGas: bigint;
596
- isSystemTx?: undefined | undefined;
597
- mint?: undefined | undefined;
598
- sourceHash?: undefined | undefined;
599
- } | {
600
- blockHash: `0x${string}` | null;
601
- blockNumber: bigint | null;
602
- from: import("viem").Address;
603
- gas: bigint;
604
- hash: import("viem").Hash;
605
- input: import("viem").Hex;
606
- nonce: number;
607
- r: import("viem").Hex;
608
- s: import("viem").Hex;
609
- to: import("viem").Address | null;
610
- transactionIndex: number | null;
611
- typeHex: import("viem").Hex | null;
612
- v: bigint;
613
- value: bigint;
614
- yParity: number;
615
- accessList: import("viem").AccessList;
616
- authorizationList?: undefined | undefined;
617
- blobVersionedHashes: readonly import("viem").Hex[];
618
- chainId: number;
619
- type: "eip4844";
620
- gasPrice?: undefined | undefined;
621
- maxFeePerBlobGas: bigint;
622
- maxFeePerGas: bigint;
623
- maxPriorityFeePerGas: bigint;
624
- isSystemTx?: undefined | undefined;
625
- mint?: undefined | undefined;
626
- sourceHash?: undefined | undefined;
627
- } | {
628
- blockHash: `0x${string}` | null;
629
- blockNumber: bigint | null;
630
- from: import("viem").Address;
631
- gas: bigint;
632
- hash: import("viem").Hash;
633
- input: import("viem").Hex;
634
- nonce: number;
635
- r: import("viem").Hex;
636
- s: import("viem").Hex;
637
- to: import("viem").Address | null;
638
- transactionIndex: number | null;
639
- typeHex: import("viem").Hex | null;
640
- v: bigint;
641
- value: bigint;
642
- yParity: number;
643
- accessList: import("viem").AccessList;
644
- authorizationList: import("viem").SignedAuthorizationList;
645
- blobVersionedHashes?: undefined | undefined;
646
- chainId: number;
647
- type: "eip7702";
648
- gasPrice?: undefined | undefined;
649
- maxFeePerBlobGas?: undefined | undefined;
650
- maxFeePerGas: bigint;
651
- maxPriorityFeePerGas: bigint;
652
- isSystemTx?: undefined | undefined;
653
- mint?: undefined | undefined;
654
- sourceHash?: undefined | undefined;
655
- }) & {};
656
- type: "transaction";
657
- };
658
- readonly transactionReceipt: {
659
- exclude: [] | undefined;
660
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
661
- blobGasPrice?: bigint | undefined;
662
- blobGasUsed?: bigint | undefined;
663
- blockHash: import("viem").Hash;
664
- blockNumber: bigint;
665
- contractAddress: import("viem").Address | null | undefined;
666
- cumulativeGasUsed: bigint;
667
- effectiveGasPrice: bigint;
668
- from: import("viem").Address;
669
- gasUsed: bigint;
670
- logs: import("viem").Log<bigint, number, false>[];
671
- logsBloom: import("viem").Hex;
672
- root?: `0x${string}` | undefined;
673
- status: "success" | "reverted";
674
- to: import("viem").Address | null;
675
- transactionHash: import("viem").Hash;
676
- transactionIndex: number;
677
- type: import("viem").TransactionType;
678
- l1GasPrice: bigint | null;
679
- l1GasUsed: bigint | null;
680
- l1Fee: bigint | null;
681
- l1FeeScalar: number | null;
682
- } & {};
683
- type: "transactionReceipt";
684
- };
685
- };
686
- serializers: {
687
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
688
- };
689
- }, {
690
- blockExplorers: {
691
- readonly default: {
692
- readonly name: "BscScan";
693
- readonly url: "https://bscscan.com";
694
- readonly apiUrl: "https://api.bscscan.com/api";
695
- };
696
- };
697
- blockTime: 750;
698
- contracts: {
699
- readonly multicall3: {
700
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
701
- readonly blockCreated: 15921452;
702
- };
703
- };
704
- ensTlds?: readonly string[] | undefined;
705
- id: 56;
706
- name: "BNB Smart Chain";
707
- nativeCurrency: {
708
- readonly decimals: 18;
709
- readonly name: "BNB";
710
- readonly symbol: "BNB";
711
- };
712
- experimental_preconfirmationTime?: number | undefined | undefined;
713
- rpcUrls: {
714
- readonly default: {
715
- readonly http: readonly ["https://56.rpc.thirdweb.com"];
716
- };
717
- };
718
- sourceId?: number | undefined | undefined;
719
- testnet?: boolean | undefined | undefined;
720
- custom?: Record<string, unknown> | undefined;
721
- fees?: import("viem").ChainFees<undefined> | undefined;
722
- formatters?: undefined;
723
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
724
- }, {
725
- blockExplorers: {
726
- readonly default: {
727
- readonly name: "Uniscan";
728
- readonly url: "https://uniscan.xyz";
729
- readonly apiUrl: "https://api.uniscan.xyz/api";
730
- };
731
- };
732
- blockTime: 1000;
733
- contracts: {
734
- readonly multicall3: {
735
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
736
- readonly blockCreated: 0;
737
- };
738
- readonly disputeGameFactory: {
739
- readonly 1: {
740
- readonly address: "0x2F12d621a16e2d3285929C9996f478508951dFe4";
741
- };
742
- };
743
- readonly portal: {
744
- readonly 1: {
745
- readonly address: "0x0bd48f6B86a26D3a217d0Fa6FfE2B491B956A7a2";
746
- };
747
- };
748
- readonly l1StandardBridge: {
749
- readonly 1: {
750
- readonly address: "0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA";
751
- };
752
- };
753
- readonly gasPriceOracle: {
754
- readonly address: "0x420000000000000000000000000000000000000F";
755
- };
756
- readonly l1Block: {
757
- readonly address: "0x4200000000000000000000000000000000000015";
758
- };
759
- readonly l2CrossDomainMessenger: {
760
- readonly address: "0x4200000000000000000000000000000000000007";
761
- };
762
- readonly l2Erc721Bridge: {
763
- readonly address: "0x4200000000000000000000000000000000000014";
764
- };
765
- readonly l2StandardBridge: {
766
- readonly address: "0x4200000000000000000000000000000000000010";
767
- };
768
- readonly l2ToL1MessagePasser: {
769
- readonly address: "0x4200000000000000000000000000000000000016";
770
- };
771
- };
772
- ensTlds?: readonly string[] | undefined;
773
- id: 130;
774
- name: "Unichain";
775
- nativeCurrency: {
776
- readonly name: "Ether";
777
- readonly symbol: "ETH";
778
- readonly decimals: 18;
779
- };
780
- experimental_preconfirmationTime?: number | undefined | undefined;
781
- rpcUrls: {
782
- readonly default: {
783
- readonly http: readonly ["https://mainnet.unichain.org/"];
784
- };
785
- };
786
- sourceId: 1;
787
- testnet?: boolean | undefined | undefined;
788
- custom?: Record<string, unknown> | undefined;
789
- fees?: import("viem").ChainFees<undefined> | undefined;
790
- formatters: {
791
- readonly block: {
792
- exclude: [] | undefined;
793
- format: (args: import("viem/chains").OpStackRpcBlock, action?: string | undefined) => {
794
- baseFeePerGas: bigint | null;
795
- blobGasUsed: bigint;
796
- difficulty: bigint;
797
- excessBlobGas: bigint;
798
- extraData: import("viem").Hex;
799
- gasLimit: bigint;
800
- gasUsed: bigint;
801
- hash: `0x${string}` | null;
802
- logsBloom: `0x${string}` | null;
803
- miner: import("viem").Address;
804
- mixHash: import("viem").Hash;
805
- nonce: `0x${string}` | null;
806
- number: bigint | null;
807
- parentBeaconBlockRoot?: `0x${string}` | undefined;
808
- parentHash: import("viem").Hash;
809
- receiptsRoot: import("viem").Hex;
810
- sealFields: import("viem").Hex[];
811
- sha3Uncles: import("viem").Hash;
812
- size: bigint;
813
- stateRoot: import("viem").Hash;
814
- timestamp: bigint;
815
- totalDifficulty: bigint | null;
816
- transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[];
817
- transactionsRoot: import("viem").Hash;
818
- uncles: import("viem").Hash[];
819
- withdrawals?: import("viem").Withdrawal[] | undefined | undefined;
820
- withdrawalsRoot?: `0x${string}` | undefined;
821
- } & {};
822
- type: "block";
823
- };
824
- readonly transaction: {
825
- exclude: [] | undefined;
826
- format: (args: import("viem/chains").OpStackRpcTransaction, action?: string | undefined) => ({
827
- blockHash: `0x${string}` | null;
828
- blockNumber: bigint | null;
829
- from: import("viem").Address;
830
- gas: bigint;
831
- hash: import("viem").Hash;
832
- input: import("viem").Hex;
833
- nonce: number;
834
- r: import("viem").Hex;
835
- s: import("viem").Hex;
836
- to: import("viem").Address | null;
837
- transactionIndex: number | null;
838
- typeHex: import("viem").Hex | null;
839
- v: bigint;
840
- value: bigint;
841
- yParity: number;
842
- gasPrice?: undefined | undefined;
843
- maxFeePerBlobGas?: undefined | undefined;
844
- maxFeePerGas: bigint;
845
- maxPriorityFeePerGas: bigint;
846
- isSystemTx?: boolean;
847
- mint?: bigint | undefined | undefined;
848
- sourceHash: import("viem").Hex;
849
- type: "deposit";
850
- } | {
851
- r: import("viem").Hex;
852
- s: import("viem").Hex;
853
- v: bigint;
854
- value: bigint;
855
- gas: bigint;
856
- to: import("viem").Address | null;
857
- from: import("viem").Address;
858
- nonce: number;
859
- blockHash: `0x${string}` | null;
860
- blockNumber: bigint | null;
861
- transactionIndex: number | null;
862
- hash: import("viem").Hash;
863
- input: import("viem").Hex;
864
- typeHex: import("viem").Hex | null;
865
- accessList?: undefined | undefined;
866
- authorizationList?: undefined | undefined;
867
- blobVersionedHashes?: undefined | undefined;
868
- chainId?: number | undefined;
869
- yParity?: undefined | undefined;
870
- type: "legacy";
871
- gasPrice: bigint;
872
- maxFeePerBlobGas?: undefined | undefined;
873
- maxFeePerGas?: undefined | undefined;
874
- maxPriorityFeePerGas?: undefined | undefined;
875
- isSystemTx?: undefined | undefined;
876
- mint?: undefined | undefined;
877
- sourceHash?: undefined | undefined;
878
- } | {
879
- blockHash: `0x${string}` | null;
880
- blockNumber: bigint | null;
881
- from: import("viem").Address;
882
- gas: bigint;
883
- hash: import("viem").Hash;
884
- input: import("viem").Hex;
885
- nonce: number;
886
- r: import("viem").Hex;
887
- s: import("viem").Hex;
888
- to: import("viem").Address | null;
889
- transactionIndex: number | null;
890
- typeHex: import("viem").Hex | null;
891
- v: bigint;
892
- value: bigint;
893
- yParity: number;
894
- accessList: import("viem").AccessList;
895
- authorizationList?: undefined | undefined;
896
- blobVersionedHashes?: undefined | undefined;
897
- chainId: number;
898
- type: "eip2930";
899
- gasPrice: bigint;
900
- maxFeePerBlobGas?: undefined | undefined;
901
- maxFeePerGas?: undefined | undefined;
902
- maxPriorityFeePerGas?: undefined | undefined;
903
- isSystemTx?: undefined | undefined;
904
- mint?: undefined | undefined;
905
- sourceHash?: undefined | undefined;
906
- } | {
907
- blockHash: `0x${string}` | null;
908
- blockNumber: bigint | null;
909
- from: import("viem").Address;
910
- gas: bigint;
911
- hash: import("viem").Hash;
912
- input: import("viem").Hex;
913
- nonce: number;
914
- r: import("viem").Hex;
915
- s: import("viem").Hex;
916
- to: import("viem").Address | null;
917
- transactionIndex: number | null;
918
- typeHex: import("viem").Hex | null;
919
- v: bigint;
920
- value: bigint;
921
- yParity: number;
922
- accessList: import("viem").AccessList;
923
- authorizationList?: undefined | undefined;
924
- blobVersionedHashes?: undefined | undefined;
925
- chainId: number;
926
- type: "eip1559";
927
- gasPrice?: undefined | undefined;
928
- maxFeePerBlobGas?: undefined | undefined;
929
- maxFeePerGas: bigint;
930
- maxPriorityFeePerGas: bigint;
931
- isSystemTx?: undefined | undefined;
932
- mint?: undefined | undefined;
933
- sourceHash?: undefined | undefined;
934
- } | {
935
- blockHash: `0x${string}` | null;
936
- blockNumber: bigint | null;
937
- from: import("viem").Address;
938
- gas: bigint;
939
- hash: import("viem").Hash;
940
- input: import("viem").Hex;
941
- nonce: number;
942
- r: import("viem").Hex;
943
- s: import("viem").Hex;
944
- to: import("viem").Address | null;
945
- transactionIndex: number | null;
946
- typeHex: import("viem").Hex | null;
947
- v: bigint;
948
- value: bigint;
949
- yParity: number;
950
- accessList: import("viem").AccessList;
951
- authorizationList?: undefined | undefined;
952
- blobVersionedHashes: readonly import("viem").Hex[];
953
- chainId: number;
954
- type: "eip4844";
955
- gasPrice?: undefined | undefined;
956
- maxFeePerBlobGas: bigint;
957
- maxFeePerGas: bigint;
958
- maxPriorityFeePerGas: bigint;
959
- isSystemTx?: undefined | undefined;
960
- mint?: undefined | undefined;
961
- sourceHash?: undefined | undefined;
962
- } | {
963
- blockHash: `0x${string}` | null;
964
- blockNumber: bigint | null;
965
- from: import("viem").Address;
966
- gas: bigint;
967
- hash: import("viem").Hash;
968
- input: import("viem").Hex;
969
- nonce: number;
970
- r: import("viem").Hex;
971
- s: import("viem").Hex;
972
- to: import("viem").Address | null;
973
- transactionIndex: number | null;
974
- typeHex: import("viem").Hex | null;
975
- v: bigint;
976
- value: bigint;
977
- yParity: number;
978
- accessList: import("viem").AccessList;
979
- authorizationList: import("viem").SignedAuthorizationList;
980
- blobVersionedHashes?: undefined | undefined;
981
- chainId: number;
982
- type: "eip7702";
983
- gasPrice?: undefined | undefined;
984
- maxFeePerBlobGas?: undefined | undefined;
985
- maxFeePerGas: bigint;
986
- maxPriorityFeePerGas: bigint;
987
- isSystemTx?: undefined | undefined;
988
- mint?: undefined | undefined;
989
- sourceHash?: undefined | undefined;
990
- }) & {};
991
- type: "transaction";
992
- };
993
- readonly transactionReceipt: {
994
- exclude: [] | undefined;
995
- format: (args: import("viem/chains").OpStackRpcTransactionReceipt, action?: string | undefined) => {
996
- blobGasPrice?: bigint | undefined;
997
- blobGasUsed?: bigint | undefined;
998
- blockHash: import("viem").Hash;
999
- blockNumber: bigint;
1000
- contractAddress: import("viem").Address | null | undefined;
1001
- cumulativeGasUsed: bigint;
1002
- effectiveGasPrice: bigint;
1003
- from: import("viem").Address;
1004
- gasUsed: bigint;
1005
- logs: import("viem").Log<bigint, number, false>[];
1006
- logsBloom: import("viem").Hex;
1007
- root?: `0x${string}` | undefined;
1008
- status: "success" | "reverted";
1009
- to: import("viem").Address | null;
1010
- transactionHash: import("viem").Hash;
1011
- transactionIndex: number;
1012
- type: import("viem").TransactionType;
1013
- l1GasPrice: bigint | null;
1014
- l1GasUsed: bigint | null;
1015
- l1Fee: bigint | null;
1016
- l1FeeScalar: number | null;
1017
- } & {};
1018
- type: "transactionReceipt";
1019
- };
1020
- };
1021
- serializers: {
1022
- readonly transaction: typeof import("viem/chains").serializeTransactionOpStack;
1023
- };
1024
- }, {
1025
- blockExplorers: {
1026
- readonly default: {
1027
- readonly name: "PolygonScan";
1028
- readonly url: "https://polygonscan.com";
1029
- readonly apiUrl: "https://api.polygonscan.com/api";
1030
- };
1031
- };
1032
- blockTime: 2000;
1033
- contracts: {
1034
- readonly multicall3: {
1035
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1036
- readonly blockCreated: 25770160;
1037
- };
1038
- };
1039
- ensTlds?: readonly string[] | undefined;
1040
- id: 137;
1041
- name: "Polygon";
1042
- nativeCurrency: {
1043
- readonly name: "POL";
1044
- readonly symbol: "POL";
1045
- readonly decimals: 18;
1046
- };
1047
- experimental_preconfirmationTime?: number | undefined | undefined;
1048
- rpcUrls: {
1049
- readonly default: {
1050
- readonly http: readonly ["https://polygon-rpc.com"];
1051
- };
1052
- };
1053
- sourceId?: number | undefined | undefined;
1054
- testnet?: boolean | undefined | undefined;
1055
- custom?: Record<string, unknown> | undefined;
1056
- fees?: import("viem").ChainFees<undefined> | undefined;
1057
- formatters?: undefined;
1058
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
1059
- }];
1060
- export declare const mainnetChainsById: Map<number, Chain>;
1061
- export declare function getMainnetChain(chainId: number): Optional<Chain>;
1062
- export declare function isMainnetChain(chainId: number): boolean;
1063
- //# sourceMappingURL=mainnet-chains.d.ts.map