tapimo 0.0.0 → 0.0.1

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 (422) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +118 -0
  3. package/dist/ApiKey.d.ts +65 -0
  4. package/dist/ApiKey.d.ts.map +1 -0
  5. package/dist/ApiKey.js +105 -0
  6. package/dist/ApiKey.js.map +1 -0
  7. package/dist/ApiKeySource.d.ts +166 -0
  8. package/dist/ApiKeySource.d.ts.map +1 -0
  9. package/dist/ApiKeySource.js +234 -0
  10. package/dist/ApiKeySource.js.map +1 -0
  11. package/dist/App.d.ts +19317 -0
  12. package/dist/App.d.ts.map +1 -0
  13. package/dist/App.js +612 -0
  14. package/dist/App.js.map +1 -0
  15. package/dist/Assets.d.ts +44 -0
  16. package/dist/Assets.d.ts.map +1 -0
  17. package/dist/Assets.js +23 -0
  18. package/dist/Assets.js.map +1 -0
  19. package/dist/Auth.d.ts +2 -0
  20. package/dist/Auth.d.ts.map +1 -0
  21. package/dist/Auth.js +2 -0
  22. package/dist/Auth.js.map +1 -0
  23. package/dist/Cli.d.ts +21 -0
  24. package/dist/Cli.d.ts.map +1 -0
  25. package/dist/Cli.js +13 -0
  26. package/dist/Cli.js.map +1 -0
  27. package/dist/Client.d.ts +20 -0
  28. package/dist/Client.d.ts.map +1 -0
  29. package/dist/Client.js +24 -0
  30. package/dist/Client.js.map +1 -0
  31. package/dist/Metrics.d.ts +70 -0
  32. package/dist/Metrics.d.ts.map +1 -0
  33. package/dist/Metrics.js +91 -0
  34. package/dist/Metrics.js.map +1 -0
  35. package/dist/Scope.d.ts +35 -0
  36. package/dist/Scope.d.ts.map +1 -0
  37. package/dist/Scope.js +38 -0
  38. package/dist/Scope.js.map +1 -0
  39. package/dist/Webhooks.d.ts +79 -0
  40. package/dist/Webhooks.d.ts.map +1 -0
  41. package/dist/Webhooks.js +107 -0
  42. package/dist/Webhooks.js.map +1 -0
  43. package/dist/admin/Access.d.ts +41 -0
  44. package/dist/admin/Access.d.ts.map +1 -0
  45. package/dist/admin/Access.js +75 -0
  46. package/dist/admin/Access.js.map +1 -0
  47. package/dist/admin/App.d.ts +1221 -0
  48. package/dist/admin/App.d.ts.map +1 -0
  49. package/dist/admin/App.js +113 -0
  50. package/dist/admin/App.js.map +1 -0
  51. package/dist/admin/apps/api-keys.d.ts +209 -0
  52. package/dist/admin/apps/api-keys.d.ts.map +1 -0
  53. package/dist/admin/apps/api-keys.js +129 -0
  54. package/dist/admin/apps/api-keys.js.map +1 -0
  55. package/dist/admin/apps/scopes.d.ts +46 -0
  56. package/dist/admin/apps/scopes.d.ts.map +1 -0
  57. package/dist/admin/apps/scopes.js +41 -0
  58. package/dist/admin/apps/scopes.js.map +1 -0
  59. package/dist/admin/apps/verified-tokens.d.ts +1206 -0
  60. package/dist/admin/apps/verified-tokens.d.ts.map +1 -0
  61. package/dist/admin/apps/verified-tokens.js +485 -0
  62. package/dist/admin/apps/verified-tokens.js.map +1 -0
  63. package/dist/admin/index.d.ts +3 -0
  64. package/dist/admin/index.d.ts.map +1 -0
  65. package/dist/admin/index.js +3 -0
  66. package/dist/admin/index.js.map +1 -0
  67. package/dist/admin/ui.generated.d.ts +11 -0
  68. package/dist/admin/ui.generated.d.ts.map +1 -0
  69. package/dist/admin/ui.generated.js +43 -0
  70. package/dist/admin/ui.generated.js.map +1 -0
  71. package/dist/apps/activities.d.ts +18725 -0
  72. package/dist/apps/activities.d.ts.map +1 -0
  73. package/dist/apps/activities.js +3138 -0
  74. package/dist/apps/activities.js.map +1 -0
  75. package/dist/apps/addresses.d.ts +3662 -0
  76. package/dist/apps/addresses.d.ts.map +1 -0
  77. package/dist/apps/addresses.js +22 -0
  78. package/dist/apps/addresses.js.map +1 -0
  79. package/dist/apps/balances.d.ts +342 -0
  80. package/dist/apps/balances.d.ts.map +1 -0
  81. package/dist/apps/balances.js +393 -0
  82. package/dist/apps/balances.js.map +1 -0
  83. package/dist/apps/blocks.d.ts +931 -0
  84. package/dist/apps/blocks.d.ts.map +1 -0
  85. package/dist/apps/blocks.js +689 -0
  86. package/dist/apps/blocks.js.map +1 -0
  87. package/dist/apps/coingecko.d.ts +1053 -0
  88. package/dist/apps/coingecko.d.ts.map +1 -0
  89. package/dist/apps/coingecko.js +1015 -0
  90. package/dist/apps/coingecko.js.map +1 -0
  91. package/dist/apps/exchanges.d.ts +3000 -0
  92. package/dist/apps/exchanges.d.ts.map +1 -0
  93. package/dist/apps/exchanges.js +3570 -0
  94. package/dist/apps/exchanges.js.map +1 -0
  95. package/dist/apps/fee-amm.d.ts +640 -0
  96. package/dist/apps/fee-amm.d.ts.map +1 -0
  97. package/dist/apps/fee-amm.js +815 -0
  98. package/dist/apps/fee-amm.js.map +1 -0
  99. package/dist/apps/indexer.d.ts +116 -0
  100. package/dist/apps/indexer.d.ts.map +1 -0
  101. package/dist/apps/indexer.js +270 -0
  102. package/dist/apps/indexer.js.map +1 -0
  103. package/dist/apps/receipts.d.ts +1438 -0
  104. package/dist/apps/receipts.d.ts.map +1 -0
  105. package/dist/apps/receipts.js +874 -0
  106. package/dist/apps/receipts.js.map +1 -0
  107. package/dist/apps/rpc.d.ts +173 -0
  108. package/dist/apps/rpc.d.ts.map +1 -0
  109. package/dist/apps/rpc.js +191 -0
  110. package/dist/apps/rpc.js.map +1 -0
  111. package/dist/apps/tokenlist.d.ts +192 -0
  112. package/dist/apps/tokenlist.d.ts.map +1 -0
  113. package/dist/apps/tokenlist.js +153 -0
  114. package/dist/apps/tokenlist.js.map +1 -0
  115. package/dist/apps/tokens.d.ts +2246 -0
  116. package/dist/apps/tokens.d.ts.map +1 -0
  117. package/dist/apps/tokens.js +1789 -0
  118. package/dist/apps/tokens.js.map +1 -0
  119. package/dist/apps/transactions.d.ts +2327 -0
  120. package/dist/apps/transactions.d.ts.map +1 -0
  121. package/dist/apps/transactions.js +975 -0
  122. package/dist/apps/transactions.js.map +1 -0
  123. package/dist/apps/transfers.d.ts +589 -0
  124. package/dist/apps/transfers.d.ts.map +1 -0
  125. package/dist/apps/transfers.js +769 -0
  126. package/dist/apps/transfers.js.map +1 -0
  127. package/dist/apps/verified-tokens.d.ts +544 -0
  128. package/dist/apps/verified-tokens.d.ts.map +1 -0
  129. package/dist/apps/verified-tokens.js +234 -0
  130. package/dist/apps/verified-tokens.js.map +1 -0
  131. package/dist/apps/webhooks.d.ts +7684 -0
  132. package/dist/apps/webhooks.d.ts.map +1 -0
  133. package/dist/apps/webhooks.js +2112 -0
  134. package/dist/apps/webhooks.js.map +1 -0
  135. package/dist/cloudflare.d.ts +32 -0
  136. package/dist/cloudflare.d.ts.map +1 -0
  137. package/dist/cloudflare.js +45 -0
  138. package/dist/cloudflare.js.map +1 -0
  139. package/dist/index.d.ts +16 -0
  140. package/dist/index.d.ts.map +1 -0
  141. package/dist/index.js +16 -0
  142. package/dist/index.js.map +1 -0
  143. package/dist/internal/Auth.d.ts +298 -0
  144. package/dist/internal/Auth.d.ts.map +1 -0
  145. package/dist/internal/Auth.js +613 -0
  146. package/dist/internal/Auth.js.map +1 -0
  147. package/dist/internal/Cache.d.ts +74 -0
  148. package/dist/internal/Cache.d.ts.map +1 -0
  149. package/dist/internal/Cache.js +215 -0
  150. package/dist/internal/Cache.js.map +1 -0
  151. package/dist/internal/Cursor.d.ts +79 -0
  152. package/dist/internal/Cursor.d.ts.map +1 -0
  153. package/dist/internal/Cursor.js +116 -0
  154. package/dist/internal/Cursor.js.map +1 -0
  155. package/dist/internal/EdgeCache.d.ts +59 -0
  156. package/dist/internal/EdgeCache.d.ts.map +1 -0
  157. package/dist/internal/EdgeCache.js +174 -0
  158. package/dist/internal/EdgeCache.js.map +1 -0
  159. package/dist/internal/Log.d.ts +104 -0
  160. package/dist/internal/Log.d.ts.map +1 -0
  161. package/dist/internal/Log.js +118 -0
  162. package/dist/internal/Log.js.map +1 -0
  163. package/dist/internal/MetricSink.d.ts +65 -0
  164. package/dist/internal/MetricSink.d.ts.map +1 -0
  165. package/dist/internal/MetricSink.js +146 -0
  166. package/dist/internal/MetricSink.js.map +1 -0
  167. package/dist/internal/Mpp.d.ts +71 -0
  168. package/dist/internal/Mpp.d.ts.map +1 -0
  169. package/dist/internal/Mpp.js +105 -0
  170. package/dist/internal/Mpp.js.map +1 -0
  171. package/dist/internal/OpenApi.d.ts +313 -0
  172. package/dist/internal/OpenApi.d.ts.map +1 -0
  173. package/dist/internal/OpenApi.fonts.d.ts +2 -0
  174. package/dist/internal/OpenApi.fonts.d.ts.map +1 -0
  175. package/dist/internal/OpenApi.fonts.js +39 -0
  176. package/dist/internal/OpenApi.fonts.js.map +1 -0
  177. package/dist/internal/OpenApi.js +335 -0
  178. package/dist/internal/OpenApi.js.map +1 -0
  179. package/dist/internal/OpenApi.logo.d.ts +6 -0
  180. package/dist/internal/OpenApi.logo.d.ts.map +1 -0
  181. package/dist/internal/OpenApi.logo.js +19 -0
  182. package/dist/internal/OpenApi.logo.js.map +1 -0
  183. package/dist/internal/Path.d.ts +5 -0
  184. package/dist/internal/Path.d.ts.map +1 -0
  185. package/dist/internal/Path.js +16 -0
  186. package/dist/internal/Path.js.map +1 -0
  187. package/dist/internal/RateLimit.d.ts +60 -0
  188. package/dist/internal/RateLimit.d.ts.map +1 -0
  189. package/dist/internal/RateLimit.js +48 -0
  190. package/dist/internal/RateLimit.js.map +1 -0
  191. package/dist/internal/Response.d.ts +132 -0
  192. package/dist/internal/Response.d.ts.map +1 -0
  193. package/dist/internal/Response.js +72 -0
  194. package/dist/internal/Response.js.map +1 -0
  195. package/dist/internal/Schema.d.ts +257 -0
  196. package/dist/internal/Schema.d.ts.map +1 -0
  197. package/dist/internal/Schema.js +360 -0
  198. package/dist/internal/Schema.js.map +1 -0
  199. package/dist/internal/Store.d.ts +204 -0
  200. package/dist/internal/Store.d.ts.map +1 -0
  201. package/dist/internal/Store.js +274 -0
  202. package/dist/internal/Store.js.map +1 -0
  203. package/dist/internal/Tidx.d.ts +120 -0
  204. package/dist/internal/Tidx.d.ts.map +1 -0
  205. package/dist/internal/Tidx.js +156 -0
  206. package/dist/internal/Tidx.js.map +1 -0
  207. package/dist/internal/Timing.d.ts +22 -0
  208. package/dist/internal/Timing.d.ts.map +1 -0
  209. package/dist/internal/Timing.js +32 -0
  210. package/dist/internal/Timing.js.map +1 -0
  211. package/dist/internal/Ttl.d.ts +25 -0
  212. package/dist/internal/Ttl.d.ts.map +1 -0
  213. package/dist/internal/Ttl.js +49 -0
  214. package/dist/internal/Ttl.js.map +1 -0
  215. package/dist/internal/Value.d.ts +47 -0
  216. package/dist/internal/Value.d.ts.map +1 -0
  217. package/dist/internal/Value.js +122 -0
  218. package/dist/internal/Value.js.map +1 -0
  219. package/dist/internal/VerifiedTokens.d.ts +228 -0
  220. package/dist/internal/VerifiedTokens.d.ts.map +1 -0
  221. package/dist/internal/VerifiedTokens.js +450 -0
  222. package/dist/internal/VerifiedTokens.js.map +1 -0
  223. package/dist/internal/Viem.d.ts +2008 -0
  224. package/dist/internal/Viem.d.ts.map +1 -0
  225. package/dist/internal/Viem.js +63 -0
  226. package/dist/internal/Viem.js.map +1 -0
  227. package/dist/internal/WebhookDestination.d.ts +198 -0
  228. package/dist/internal/WebhookDestination.d.ts.map +1 -0
  229. package/dist/internal/WebhookDestination.js +170 -0
  230. package/dist/internal/WebhookDestination.js.map +1 -0
  231. package/dist/internal/Webhooks.d.ts +433 -0
  232. package/dist/internal/Webhooks.d.ts.map +1 -0
  233. package/dist/internal/Webhooks.js +489 -0
  234. package/dist/internal/Webhooks.js.map +1 -0
  235. package/dist/internal/webhookDestinations/betterStack.d.ts +26 -0
  236. package/dist/internal/webhookDestinations/betterStack.d.ts.map +1 -0
  237. package/dist/internal/webhookDestinations/betterStack.js +76 -0
  238. package/dist/internal/webhookDestinations/betterStack.js.map +1 -0
  239. package/dist/internal/webhookDestinations/slack.d.ts +59 -0
  240. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -0
  241. package/dist/internal/webhookDestinations/slack.js +422 -0
  242. package/dist/internal/webhookDestinations/slack.js.map +1 -0
  243. package/dist/internal/webhookDestinations/url.d.ts +17 -0
  244. package/dist/internal/webhookDestinations/url.d.ts.map +1 -0
  245. package/dist/internal/webhookDestinations/url.js +130 -0
  246. package/dist/internal/webhookDestinations/url.js.map +1 -0
  247. package/dist/openrpc.json +5302 -0
  248. package/package.json +46 -4
  249. package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +1 -0
  250. package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  251. package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  252. package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  253. package/seeds/31318/verified-tokens.json +30 -0
  254. package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  255. package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +1 -0
  256. package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +1 -0
  257. package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +4 -0
  258. package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +30 -0
  259. package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +1 -0
  260. package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +1 -0
  261. package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +1 -0
  262. package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +11 -0
  263. package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +1 -0
  264. package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +1 -0
  265. package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
  266. package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +1 -0
  267. package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
  268. package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +1 -0
  269. package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +5 -0
  270. package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +1 -0
  271. package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +1 -0
  272. package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +1 -0
  273. package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +1 -0
  274. package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +1 -0
  275. package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +1 -0
  276. package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +1 -0
  277. package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +1 -0
  278. package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
  279. package/seeds/4217/verified-tokens.json +177 -0
  280. package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  281. package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  282. package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  283. package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  284. package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +1 -0
  285. package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +1 -0
  286. package/seeds/42431/verified-tokens.json +44 -0
  287. package/seeds/openrpc/README.md +27 -0
  288. package/seeds/openrpc/execution-apis.json +8989 -0
  289. package/src/ApiKey.test.ts +91 -0
  290. package/src/ApiKey.ts +122 -0
  291. package/src/ApiKeySource.test-d.ts +11 -0
  292. package/src/ApiKeySource.test.ts +295 -0
  293. package/src/ApiKeySource.ts +303 -0
  294. package/src/App.test-d.ts +38 -0
  295. package/src/App.test.ts +65927 -0
  296. package/src/App.ts +855 -0
  297. package/src/Assets.ts +58 -0
  298. package/src/Auth.ts +1 -0
  299. package/src/Cli.test.ts +81 -0
  300. package/src/Cli.ts +38 -0
  301. package/src/Client.test-d.ts +1438 -0
  302. package/src/Client.test.ts +134 -0
  303. package/src/Client.ts +45 -0
  304. package/src/Metrics.ts +154 -0
  305. package/src/Scope.ts +50 -0
  306. package/src/Webhooks.test.ts +49 -0
  307. package/src/Webhooks.ts +172 -0
  308. package/src/admin/Access.test.ts +130 -0
  309. package/src/admin/Access.ts +87 -0
  310. package/src/admin/App.test.ts +225 -0
  311. package/src/admin/App.ts +216 -0
  312. package/src/admin/apps/api-keys.test.ts +156 -0
  313. package/src/admin/apps/api-keys.ts +157 -0
  314. package/src/admin/apps/scopes.test.ts +52 -0
  315. package/src/admin/apps/scopes.ts +47 -0
  316. package/src/admin/apps/verified-tokens.test.ts +415 -0
  317. package/src/admin/apps/verified-tokens.ts +566 -0
  318. package/src/admin/index.ts +2 -0
  319. package/src/admin/ui/plugin.ts +135 -0
  320. package/src/admin/ui/src/components/Checkbox.tsx +22 -0
  321. package/src/admin/ui/src/components/Dialog.tsx +32 -0
  322. package/src/admin/ui/src/components/MobileProfile.tsx +31 -0
  323. package/src/admin/ui/src/components/Page.tsx +53 -0
  324. package/src/admin/ui/src/components/TempoLogo.tsx +37 -0
  325. package/src/admin/ui/src/fonts/Pilat-Demi.woff2 +0 -0
  326. package/src/admin/ui/src/fonts/Pilat-Regular.woff2 +0 -0
  327. package/src/admin/ui/src/lib/api-keys.ts +63 -0
  328. package/src/admin/ui/src/lib/client.ts +15 -0
  329. package/src/admin/ui/src/lib/config.ts +57 -0
  330. package/src/admin/ui/src/lib/query-client.ts +26 -0
  331. package/src/admin/ui/src/lib/scopes.ts +25 -0
  332. package/src/admin/ui/src/lib/verified-tokens.ts +89 -0
  333. package/src/admin/ui/src/lib/wagmi.ts +18 -0
  334. package/src/admin/ui/src/routeTree.gen.ts +104 -0
  335. package/src/admin/ui/src/router.tsx +25 -0
  336. package/src/admin/ui/src/routes/__root.tsx +219 -0
  337. package/src/admin/ui/src/routes/api-keys.tsx +329 -0
  338. package/src/admin/ui/src/routes/index.tsx +7 -0
  339. package/src/admin/ui/src/routes/verified-tokens.tsx +331 -0
  340. package/src/admin/ui/src/styles.css +20 -0
  341. package/src/admin/ui/tsconfig.json +16 -0
  342. package/src/admin/ui/vite.config.ts +29 -0
  343. package/src/admin/ui.generated.ts +60 -0
  344. package/src/apps/activities.test.ts +1020 -0
  345. package/src/apps/activities.ts +3934 -0
  346. package/src/apps/addresses.ts +24 -0
  347. package/src/apps/balances.test.ts +274 -0
  348. package/src/apps/balances.ts +533 -0
  349. package/src/apps/blocks.test.ts +385 -0
  350. package/src/apps/blocks.ts +896 -0
  351. package/src/apps/coingecko.test.ts +218 -0
  352. package/src/apps/coingecko.ts +1383 -0
  353. package/src/apps/exchanges.test.ts +958 -0
  354. package/src/apps/exchanges.ts +4773 -0
  355. package/src/apps/fee-amm.test.ts +321 -0
  356. package/src/apps/fee-amm.ts +1121 -0
  357. package/src/apps/indexer.test.ts +153 -0
  358. package/src/apps/indexer.ts +330 -0
  359. package/src/apps/receipts.test.ts +285 -0
  360. package/src/apps/receipts.ts +1193 -0
  361. package/src/apps/rpc.test.ts +302 -0
  362. package/src/apps/rpc.ts +222 -0
  363. package/src/apps/tokenlist.test.ts +80 -0
  364. package/src/apps/tokenlist.ts +207 -0
  365. package/src/apps/tokens.test.ts +1062 -0
  366. package/src/apps/tokens.ts +2292 -0
  367. package/src/apps/transactions.test.ts +408 -0
  368. package/src/apps/transactions.ts +1363 -0
  369. package/src/apps/transfers.test.ts +371 -0
  370. package/src/apps/transfers.ts +1116 -0
  371. package/src/apps/verified-tokens.test.ts +114 -0
  372. package/src/apps/verified-tokens.ts +295 -0
  373. package/src/apps/webhooks.test.ts +1937 -0
  374. package/src/apps/webhooks.ts +2926 -0
  375. package/src/cloudflare.ts +55 -0
  376. package/src/index.ts +15 -0
  377. package/src/internal/Auth.test.ts +922 -0
  378. package/src/internal/Auth.ts +1007 -0
  379. package/src/internal/Cache.test.ts +240 -0
  380. package/src/internal/Cache.ts +262 -0
  381. package/src/internal/Cursor.test.ts +100 -0
  382. package/src/internal/Cursor.ts +149 -0
  383. package/src/internal/EdgeCache.test.ts +234 -0
  384. package/src/internal/EdgeCache.ts +224 -0
  385. package/src/internal/Errors.ts +14 -0
  386. package/src/internal/Log.test.ts +244 -0
  387. package/src/internal/Log.ts +216 -0
  388. package/src/internal/MetricSink.ts +220 -0
  389. package/src/internal/Mpp.test.ts +64 -0
  390. package/src/internal/Mpp.ts +141 -0
  391. package/src/internal/OpenApi.fonts.ts +38 -0
  392. package/src/internal/OpenApi.logo.ts +18 -0
  393. package/src/internal/OpenApi.ts +488 -0
  394. package/src/internal/Path.test.ts +14 -0
  395. package/src/internal/Path.ts +15 -0
  396. package/src/internal/RateLimit.test.ts +93 -0
  397. package/src/internal/RateLimit.ts +93 -0
  398. package/src/internal/Response.ts +131 -0
  399. package/src/internal/Schema.test.ts +34 -0
  400. package/src/internal/Schema.ts +523 -0
  401. package/src/internal/Store.test.ts +461 -0
  402. package/src/internal/Store.ts +507 -0
  403. package/src/internal/Tidx.local.test.ts +33 -0
  404. package/src/internal/Tidx.test.ts +294 -0
  405. package/src/internal/Tidx.ts +238 -0
  406. package/src/internal/Timing.test.ts +22 -0
  407. package/src/internal/Timing.ts +62 -0
  408. package/src/internal/Ttl.test.ts +18 -0
  409. package/src/internal/Ttl.ts +59 -0
  410. package/src/internal/Value.ts +114 -0
  411. package/src/internal/VerifiedTokens.test.ts +333 -0
  412. package/src/internal/VerifiedTokens.ts +645 -0
  413. package/src/internal/Viem.test.ts +115 -0
  414. package/src/internal/Viem.ts +164 -0
  415. package/src/internal/WebhookDestination.test.ts +648 -0
  416. package/src/internal/WebhookDestination.ts +331 -0
  417. package/src/internal/Webhooks.test.ts +668 -0
  418. package/src/internal/Webhooks.ts +940 -0
  419. package/src/internal/webhookDestinations/betterStack.ts +91 -0
  420. package/src/internal/webhookDestinations/slack.ts +496 -0
  421. package/src/internal/webhookDestinations/url.ts +128 -0
  422. package/src/openrpc.json +5302 -0
@@ -0,0 +1,2008 @@
1
+ import type { Client as core_Client, HttpTransport, PublicActions } from 'viem';
2
+ import type { TempoActions } from 'viem/tempo';
3
+ import { tempoMainnet } from 'viem/tempo/chains';
4
+ import type * as z from 'zod/mini';
5
+ import type * as Auth from './Auth.js';
6
+ import type * as Schema from './Schema.js';
7
+ /** Known Tempo chains keyed by id, for metadata lookups. */
8
+ export declare const chains: ({
9
+ blockExplorers: {
10
+ readonly default: {
11
+ readonly name: "Tempo Explorer";
12
+ readonly url: "https://explore.testnet.tempo.xyz";
13
+ };
14
+ };
15
+ blockTime: 1000;
16
+ contracts?: {
17
+ [x: string]: import("viem").ChainContract | {
18
+ [sourceId: number]: import("viem").ChainContract | undefined;
19
+ } | undefined;
20
+ ensRegistry?: import("viem").ChainContract | undefined;
21
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
22
+ multicall3?: import("viem").ChainContract | undefined;
23
+ erc6492Verifier?: import("viem").ChainContract | undefined;
24
+ } | undefined;
25
+ ensTlds?: readonly string[] | undefined;
26
+ id: 42431;
27
+ name: "Tempo Testnet (Moderato)";
28
+ nativeCurrency: {
29
+ readonly name: "USD";
30
+ readonly symbol: "USD";
31
+ readonly decimals: 6;
32
+ };
33
+ experimental_preconfirmationTime?: number | undefined | undefined;
34
+ rpcUrls: {
35
+ readonly default: {
36
+ readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
37
+ readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
38
+ };
39
+ };
40
+ sourceId?: number | undefined | undefined;
41
+ testnet: true;
42
+ custom?: Record<string, unknown> | undefined;
43
+ extendSchema: {
44
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
45
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
46
+ };
47
+ fees?: import("viem").ChainFees<undefined> | undefined;
48
+ formatters: {
49
+ readonly transaction: {
50
+ exclude: never[] | undefined;
51
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
52
+ r: import("viem").Hex;
53
+ s: import("viem").Hex;
54
+ v: bigint;
55
+ to: import("viem").Address | null;
56
+ from: import("viem").Address;
57
+ gas: bigint;
58
+ nonce: number;
59
+ value: bigint;
60
+ blockHash: `0x${string}` | null;
61
+ blockNumber: bigint | null;
62
+ blockTimestamp?: bigint | undefined;
63
+ hash: import("viem").Hash;
64
+ input: import("viem").Hex;
65
+ transactionIndex: number | null;
66
+ typeHex: import("viem").Hex | null;
67
+ accessList?: undefined | undefined;
68
+ authorizationList?: undefined | undefined;
69
+ blobVersionedHashes?: undefined | undefined;
70
+ chainId?: number | undefined;
71
+ yParity?: undefined | undefined;
72
+ type: "legacy";
73
+ gasPrice: bigint;
74
+ maxFeePerBlobGas?: undefined | undefined;
75
+ maxFeePerGas?: undefined | undefined;
76
+ maxPriorityFeePerGas?: undefined | undefined;
77
+ signature?: undefined;
78
+ calls?: undefined;
79
+ nonceKey?: undefined;
80
+ keyAuthorization?: undefined;
81
+ feePayerSignature?: undefined;
82
+ feeToken?: undefined;
83
+ validAfter?: undefined;
84
+ validBefore?: undefined;
85
+ } | {
86
+ blockHash: `0x${string}` | null;
87
+ blockNumber: bigint | null;
88
+ blockTimestamp?: bigint | undefined;
89
+ from: import("viem").Address;
90
+ gas: bigint;
91
+ hash: import("viem").Hash;
92
+ input: import("viem").Hex;
93
+ nonce: number;
94
+ r: import("viem").Hex;
95
+ s: import("viem").Hex;
96
+ to: import("viem").Address | null;
97
+ transactionIndex: number | null;
98
+ typeHex: import("viem").Hex | null;
99
+ v: bigint;
100
+ value: bigint;
101
+ yParity: number;
102
+ accessList: import("viem").AccessList;
103
+ authorizationList?: undefined | undefined;
104
+ blobVersionedHashes?: undefined | undefined;
105
+ chainId: number;
106
+ type: "eip2930";
107
+ gasPrice: bigint;
108
+ maxFeePerBlobGas?: undefined | undefined;
109
+ maxFeePerGas?: undefined | undefined;
110
+ maxPriorityFeePerGas?: undefined | undefined;
111
+ signature?: undefined;
112
+ calls?: undefined;
113
+ nonceKey?: undefined;
114
+ keyAuthorization?: undefined;
115
+ feePayerSignature?: undefined;
116
+ feeToken?: undefined;
117
+ validAfter?: undefined;
118
+ validBefore?: undefined;
119
+ } | {
120
+ blockHash: `0x${string}` | null;
121
+ blockNumber: bigint | null;
122
+ blockTimestamp?: bigint | undefined;
123
+ from: import("viem").Address;
124
+ gas: bigint;
125
+ hash: import("viem").Hash;
126
+ input: import("viem").Hex;
127
+ nonce: number;
128
+ r: import("viem").Hex;
129
+ s: import("viem").Hex;
130
+ to: import("viem").Address | null;
131
+ transactionIndex: number | null;
132
+ typeHex: import("viem").Hex | null;
133
+ v: bigint;
134
+ value: bigint;
135
+ yParity: number;
136
+ accessList: import("viem").AccessList;
137
+ authorizationList?: undefined | undefined;
138
+ blobVersionedHashes?: undefined | undefined;
139
+ chainId: number;
140
+ type: "eip1559";
141
+ gasPrice?: undefined | undefined;
142
+ maxFeePerBlobGas?: undefined | undefined;
143
+ maxFeePerGas: bigint;
144
+ maxPriorityFeePerGas: bigint;
145
+ signature?: undefined;
146
+ calls?: undefined;
147
+ nonceKey?: undefined;
148
+ keyAuthorization?: undefined;
149
+ feePayerSignature?: undefined;
150
+ feeToken?: undefined;
151
+ validAfter?: undefined;
152
+ validBefore?: undefined;
153
+ } | {
154
+ blockHash: `0x${string}` | null;
155
+ blockNumber: bigint | null;
156
+ blockTimestamp?: bigint | undefined;
157
+ from: import("viem").Address;
158
+ gas: bigint;
159
+ hash: import("viem").Hash;
160
+ input: import("viem").Hex;
161
+ nonce: number;
162
+ r: import("viem").Hex;
163
+ s: import("viem").Hex;
164
+ to: import("viem").Address | null;
165
+ transactionIndex: number | null;
166
+ typeHex: import("viem").Hex | null;
167
+ v: bigint;
168
+ value: bigint;
169
+ yParity: number;
170
+ accessList: import("viem").AccessList;
171
+ authorizationList?: undefined | undefined;
172
+ blobVersionedHashes: readonly import("viem").Hex[];
173
+ chainId: number;
174
+ type: "eip4844";
175
+ gasPrice?: undefined | undefined;
176
+ maxFeePerBlobGas: bigint;
177
+ maxFeePerGas: bigint;
178
+ maxPriorityFeePerGas: bigint;
179
+ signature?: undefined;
180
+ calls?: undefined;
181
+ nonceKey?: undefined;
182
+ keyAuthorization?: undefined;
183
+ feePayerSignature?: undefined;
184
+ feeToken?: undefined;
185
+ validAfter?: undefined;
186
+ validBefore?: undefined;
187
+ } | {
188
+ blockHash: `0x${string}` | null;
189
+ blockNumber: bigint | null;
190
+ blockTimestamp?: bigint | undefined;
191
+ from: import("viem").Address;
192
+ gas: bigint;
193
+ hash: import("viem").Hash;
194
+ input: import("viem").Hex;
195
+ nonce: number;
196
+ r: import("viem").Hex;
197
+ s: import("viem").Hex;
198
+ to: import("viem").Address | null;
199
+ transactionIndex: number | null;
200
+ typeHex: import("viem").Hex | null;
201
+ v: bigint;
202
+ value: bigint;
203
+ yParity: number;
204
+ accessList: import("viem").AccessList;
205
+ authorizationList: import("viem").SignedAuthorizationList;
206
+ blobVersionedHashes?: undefined | undefined;
207
+ chainId: number;
208
+ type: "eip7702";
209
+ gasPrice?: undefined | undefined;
210
+ maxFeePerBlobGas?: undefined | undefined;
211
+ maxFeePerGas: bigint;
212
+ maxPriorityFeePerGas: bigint;
213
+ signature?: undefined;
214
+ calls?: undefined;
215
+ nonceKey?: undefined;
216
+ keyAuthorization?: undefined;
217
+ feePayerSignature?: undefined;
218
+ feeToken?: undefined;
219
+ validAfter?: undefined;
220
+ validBefore?: undefined;
221
+ } | {
222
+ from: import("viem").Address;
223
+ gas: bigint;
224
+ nonce: number;
225
+ blockHash: `0x${string}` | null;
226
+ blockNumber: bigint | null;
227
+ blockTimestamp?: bigint | undefined;
228
+ hash: import("viem").Hash;
229
+ transactionIndex: number | null;
230
+ typeHex: import("viem").Hex | null;
231
+ r?: `0x${string}` | undefined;
232
+ s?: `0x${string}` | undefined;
233
+ v?: bigint | undefined;
234
+ yParity?: number | undefined;
235
+ accessList: import("viem").AccessList;
236
+ authorizationList?: readonly {
237
+ address: import("viem/chains").Address;
238
+ chainId: number;
239
+ nonce: bigint;
240
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
241
+ }[] | undefined;
242
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
243
+ chainId: number;
244
+ feeToken?: `0x${string}` | undefined;
245
+ feePayerSignature?: import("viem").Signature | undefined;
246
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
247
+ nonceKey?: bigint | undefined;
248
+ signature: import("viem/chains").SignatureEnvelope;
249
+ type: "tempo";
250
+ validBefore?: number | undefined;
251
+ validAfter?: number | undefined;
252
+ gasPrice?: undefined | undefined;
253
+ maxFeePerBlobGas?: undefined | undefined;
254
+ maxFeePerGas: bigint;
255
+ maxPriorityFeePerGas: bigint;
256
+ to?: undefined;
257
+ value?: undefined;
258
+ blobVersionedHashes?: undefined;
259
+ input?: undefined;
260
+ }) & {};
261
+ type: "transaction";
262
+ };
263
+ readonly transactionReceipt: {
264
+ exclude: [] | undefined;
265
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
266
+ blobGasPrice?: bigint | undefined;
267
+ blobGasUsed?: bigint | undefined;
268
+ blockHash: import("viem").Hash;
269
+ blockNumber: bigint;
270
+ blockTimestamp?: bigint | undefined;
271
+ contractAddress: import("viem").Address | null | undefined;
272
+ cumulativeGasUsed: bigint;
273
+ effectiveGasPrice: bigint;
274
+ from: import("viem").Address;
275
+ gasUsed: bigint;
276
+ logs: import("viem").Log<bigint, number, false>[];
277
+ logsBloom: import("viem").Hex;
278
+ root?: `0x${string}` | undefined;
279
+ status: "success" | "reverted";
280
+ to: import("viem").Address | null;
281
+ transactionHash: import("viem").Hash;
282
+ transactionIndex: number;
283
+ type: import("viem/tempo").z_TransactionType;
284
+ feePayer?: `0x${string}` | undefined;
285
+ feeToken?: `0x${string}` | undefined;
286
+ } & {};
287
+ type: "transactionReceipt";
288
+ };
289
+ readonly transactionRequest: {
290
+ exclude: [] | undefined;
291
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
292
+ data?: `0x${string}` | undefined;
293
+ from?: `0x${string}` | undefined;
294
+ gas?: `0x${string}` | undefined;
295
+ nonce?: `0x${string}` | undefined;
296
+ to?: `0x${string}` | null | undefined;
297
+ type?: "0x0" | undefined;
298
+ value?: `0x${string}` | undefined;
299
+ gasPrice?: `0x${string}` | undefined;
300
+ maxFeePerBlobGas?: undefined | undefined;
301
+ maxFeePerGas?: undefined | undefined;
302
+ maxPriorityFeePerGas?: undefined | undefined;
303
+ blobs?: undefined;
304
+ blobVersionedHashes?: undefined;
305
+ kzg?: undefined;
306
+ accessList?: undefined;
307
+ sidecars?: undefined;
308
+ authorizationList?: undefined;
309
+ calls?: undefined;
310
+ capabilities?: undefined;
311
+ nonceKey?: undefined;
312
+ keyAuthorization?: undefined;
313
+ feeToken?: undefined;
314
+ validAfter?: undefined;
315
+ validBefore?: undefined;
316
+ feePayer?: undefined;
317
+ } | {
318
+ data?: `0x${string}` | undefined;
319
+ from?: `0x${string}` | undefined;
320
+ gas?: `0x${string}` | undefined;
321
+ nonce?: `0x${string}` | undefined;
322
+ to?: `0x${string}` | null | undefined;
323
+ type?: "0x1" | undefined;
324
+ value?: `0x${string}` | undefined;
325
+ gasPrice?: `0x${string}` | undefined;
326
+ maxFeePerBlobGas?: undefined | undefined;
327
+ maxFeePerGas?: undefined | undefined;
328
+ maxPriorityFeePerGas?: undefined | undefined;
329
+ accessList?: import("viem").AccessList | undefined;
330
+ blobs?: undefined;
331
+ blobVersionedHashes?: undefined;
332
+ kzg?: undefined;
333
+ sidecars?: undefined;
334
+ authorizationList?: undefined;
335
+ calls?: undefined;
336
+ capabilities?: undefined;
337
+ nonceKey?: undefined;
338
+ keyAuthorization?: undefined;
339
+ feeToken?: undefined;
340
+ validAfter?: undefined;
341
+ validBefore?: undefined;
342
+ feePayer?: undefined;
343
+ } | {
344
+ data?: `0x${string}` | undefined;
345
+ from?: `0x${string}` | undefined;
346
+ gas?: `0x${string}` | undefined;
347
+ nonce?: `0x${string}` | undefined;
348
+ to?: `0x${string}` | null | undefined;
349
+ type?: "0x2" | undefined;
350
+ value?: `0x${string}` | undefined;
351
+ gasPrice?: undefined | undefined;
352
+ maxFeePerBlobGas?: undefined | undefined;
353
+ maxFeePerGas?: `0x${string}` | undefined;
354
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
355
+ accessList?: import("viem").AccessList | undefined;
356
+ blobs?: undefined;
357
+ blobVersionedHashes?: undefined;
358
+ kzg?: undefined;
359
+ sidecars?: undefined;
360
+ authorizationList?: undefined;
361
+ calls?: undefined;
362
+ capabilities?: undefined;
363
+ nonceKey?: undefined;
364
+ keyAuthorization?: undefined;
365
+ feeToken?: undefined;
366
+ validAfter?: undefined;
367
+ validBefore?: undefined;
368
+ feePayer?: undefined;
369
+ } | {
370
+ type?: "0x3" | undefined;
371
+ data?: `0x${string}` | undefined;
372
+ from?: `0x${string}` | undefined;
373
+ gas?: `0x${string}` | undefined;
374
+ nonce?: `0x${string}` | undefined;
375
+ value?: `0x${string}` | undefined;
376
+ to: `0x${string}` | null;
377
+ gasPrice?: undefined | undefined;
378
+ maxFeePerBlobGas?: `0x${string}` | undefined;
379
+ maxFeePerGas?: `0x${string}` | undefined;
380
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
381
+ accessList?: import("viem").AccessList | undefined;
382
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
383
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
384
+ blobVersionedHashes: readonly import("viem").Hex[];
385
+ kzg?: undefined;
386
+ authorizationList?: undefined;
387
+ calls?: undefined;
388
+ capabilities?: undefined;
389
+ nonceKey?: undefined;
390
+ keyAuthorization?: undefined;
391
+ feeToken?: undefined;
392
+ validAfter?: undefined;
393
+ validBefore?: undefined;
394
+ feePayer?: undefined;
395
+ } | {
396
+ type?: "0x3" | undefined;
397
+ data?: `0x${string}` | undefined;
398
+ from?: `0x${string}` | undefined;
399
+ gas?: `0x${string}` | undefined;
400
+ nonce?: `0x${string}` | undefined;
401
+ value?: `0x${string}` | undefined;
402
+ to: `0x${string}` | null;
403
+ gasPrice?: undefined | undefined;
404
+ maxFeePerBlobGas?: `0x${string}` | undefined;
405
+ maxFeePerGas?: `0x${string}` | undefined;
406
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
407
+ accessList?: import("viem").AccessList | undefined;
408
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
409
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
410
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
411
+ kzg?: import("viem").Kzg | undefined;
412
+ authorizationList?: undefined;
413
+ calls?: undefined;
414
+ capabilities?: undefined;
415
+ nonceKey?: undefined;
416
+ keyAuthorization?: undefined;
417
+ feeToken?: undefined;
418
+ validAfter?: undefined;
419
+ validBefore?: undefined;
420
+ feePayer?: undefined;
421
+ } | {
422
+ type?: "0x4" | undefined;
423
+ gasPrice?: undefined | undefined;
424
+ maxFeePerBlobGas?: undefined | undefined;
425
+ maxFeePerGas?: `0x${string}` | undefined;
426
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
427
+ to?: `0x${string}` | null | undefined;
428
+ data?: `0x${string}` | undefined;
429
+ from?: `0x${string}` | undefined;
430
+ gas?: `0x${string}` | undefined;
431
+ nonce?: `0x${string}` | undefined;
432
+ value?: `0x${string}` | undefined;
433
+ accessList?: import("viem").AccessList | undefined;
434
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
435
+ blobs?: undefined;
436
+ blobVersionedHashes?: undefined;
437
+ kzg?: undefined;
438
+ sidecars?: undefined;
439
+ calls?: undefined;
440
+ capabilities?: undefined;
441
+ nonceKey?: undefined;
442
+ keyAuthorization?: undefined;
443
+ feeToken?: undefined;
444
+ validAfter?: undefined;
445
+ validBefore?: undefined;
446
+ feePayer?: undefined;
447
+ } | {
448
+ data?: `0x${string}` | undefined;
449
+ from?: `0x${string}` | undefined;
450
+ gas?: `0x${string}` | undefined;
451
+ nonce?: `0x${string}` | undefined;
452
+ to?: `0x${string}` | null | undefined;
453
+ type?: "0x76" | undefined;
454
+ value?: `0x${string}` | undefined;
455
+ gasPrice?: undefined | undefined;
456
+ maxFeePerBlobGas?: undefined | undefined;
457
+ maxFeePerGas?: `0x${string}` | undefined;
458
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
459
+ accessList?: import("viem").AccessList | undefined;
460
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
461
+ capabilities?: {
462
+ [x: string]: any;
463
+ } | undefined;
464
+ feePayer?: true | import("viem").Account | undefined;
465
+ feeToken?: bigint | import("viem/chains").Address | undefined;
466
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
467
+ nonceKey?: `0x${string}` | "expiring" | undefined;
468
+ validBefore?: `0x${string}` | undefined;
469
+ validAfter?: `0x${string}` | undefined;
470
+ blobs?: undefined;
471
+ blobVersionedHashes?: undefined;
472
+ kzg?: undefined;
473
+ sidecars?: undefined;
474
+ authorizationList?: undefined;
475
+ }) & {};
476
+ type: "transactionRequest";
477
+ };
478
+ };
479
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
480
+ client: import("viem").Client;
481
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
482
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
483
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
484
+ }];
485
+ serializers: {
486
+ readonly transaction: import("viem").SerializeTransactionFn;
487
+ };
488
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
489
+ extend: <const extended_1 extends {
490
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
491
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
492
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
493
+ readonly id: 42431;
494
+ readonly blockExplorers: {
495
+ readonly default: {
496
+ readonly name: "Tempo Explorer";
497
+ readonly url: "https://explore.testnet.tempo.xyz";
498
+ };
499
+ };
500
+ readonly name: "Tempo Testnet (Moderato)";
501
+ readonly nativeCurrency: {
502
+ readonly name: "USD";
503
+ readonly symbol: "USD";
504
+ readonly decimals: 6;
505
+ };
506
+ readonly rpcUrls: {
507
+ readonly default: {
508
+ readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
509
+ readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
510
+ };
511
+ };
512
+ readonly testnet: true;
513
+ readonly blockTime: 1000;
514
+ readonly extendSchema: {
515
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
516
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
517
+ };
518
+ readonly formatters: {
519
+ readonly transaction: {
520
+ exclude: never[] | undefined;
521
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
522
+ r: import("viem").Hex;
523
+ s: import("viem").Hex;
524
+ v: bigint;
525
+ to: import("viem").Address | null;
526
+ from: import("viem").Address;
527
+ gas: bigint;
528
+ nonce: number;
529
+ value: bigint;
530
+ blockHash: `0x${string}` | null;
531
+ blockNumber: bigint | null;
532
+ blockTimestamp?: bigint | undefined;
533
+ hash: import("viem").Hash;
534
+ input: import("viem").Hex;
535
+ transactionIndex: number | null;
536
+ typeHex: import("viem").Hex | null;
537
+ accessList?: undefined | undefined;
538
+ authorizationList?: undefined | undefined;
539
+ blobVersionedHashes?: undefined | undefined;
540
+ chainId?: number | undefined;
541
+ yParity?: undefined | undefined;
542
+ type: "legacy";
543
+ gasPrice: bigint;
544
+ maxFeePerBlobGas?: undefined | undefined;
545
+ maxFeePerGas?: undefined | undefined;
546
+ maxPriorityFeePerGas?: undefined | undefined;
547
+ signature?: undefined;
548
+ calls?: undefined;
549
+ nonceKey?: undefined;
550
+ keyAuthorization?: undefined;
551
+ feePayerSignature?: undefined;
552
+ feeToken?: undefined;
553
+ validAfter?: undefined;
554
+ validBefore?: undefined;
555
+ } | {
556
+ blockHash: `0x${string}` | null;
557
+ blockNumber: bigint | null;
558
+ blockTimestamp?: bigint | undefined;
559
+ from: import("viem").Address;
560
+ gas: bigint;
561
+ hash: import("viem").Hash;
562
+ input: import("viem").Hex;
563
+ nonce: number;
564
+ r: import("viem").Hex;
565
+ s: import("viem").Hex;
566
+ to: import("viem").Address | null;
567
+ transactionIndex: number | null;
568
+ typeHex: import("viem").Hex | null;
569
+ v: bigint;
570
+ value: bigint;
571
+ yParity: number;
572
+ accessList: import("viem").AccessList;
573
+ authorizationList?: undefined | undefined;
574
+ blobVersionedHashes?: undefined | undefined;
575
+ chainId: number;
576
+ type: "eip2930";
577
+ gasPrice: bigint;
578
+ maxFeePerBlobGas?: undefined | undefined;
579
+ maxFeePerGas?: undefined | undefined;
580
+ maxPriorityFeePerGas?: undefined | undefined;
581
+ signature?: undefined;
582
+ calls?: undefined;
583
+ nonceKey?: undefined;
584
+ keyAuthorization?: undefined;
585
+ feePayerSignature?: undefined;
586
+ feeToken?: undefined;
587
+ validAfter?: undefined;
588
+ validBefore?: undefined;
589
+ } | {
590
+ blockHash: `0x${string}` | null;
591
+ blockNumber: bigint | null;
592
+ blockTimestamp?: bigint | undefined;
593
+ from: import("viem").Address;
594
+ gas: bigint;
595
+ hash: import("viem").Hash;
596
+ input: import("viem").Hex;
597
+ nonce: number;
598
+ r: import("viem").Hex;
599
+ s: import("viem").Hex;
600
+ to: import("viem").Address | null;
601
+ transactionIndex: number | null;
602
+ typeHex: import("viem").Hex | null;
603
+ v: bigint;
604
+ value: bigint;
605
+ yParity: number;
606
+ accessList: import("viem").AccessList;
607
+ authorizationList?: undefined | undefined;
608
+ blobVersionedHashes?: undefined | undefined;
609
+ chainId: number;
610
+ type: "eip1559";
611
+ gasPrice?: undefined | undefined;
612
+ maxFeePerBlobGas?: undefined | undefined;
613
+ maxFeePerGas: bigint;
614
+ maxPriorityFeePerGas: bigint;
615
+ signature?: undefined;
616
+ calls?: undefined;
617
+ nonceKey?: undefined;
618
+ keyAuthorization?: undefined;
619
+ feePayerSignature?: undefined;
620
+ feeToken?: undefined;
621
+ validAfter?: undefined;
622
+ validBefore?: undefined;
623
+ } | {
624
+ blockHash: `0x${string}` | null;
625
+ blockNumber: bigint | null;
626
+ blockTimestamp?: bigint | undefined;
627
+ from: import("viem").Address;
628
+ gas: bigint;
629
+ hash: import("viem").Hash;
630
+ input: import("viem").Hex;
631
+ nonce: number;
632
+ r: import("viem").Hex;
633
+ s: import("viem").Hex;
634
+ to: import("viem").Address | null;
635
+ transactionIndex: number | null;
636
+ typeHex: import("viem").Hex | null;
637
+ v: bigint;
638
+ value: bigint;
639
+ yParity: number;
640
+ accessList: import("viem").AccessList;
641
+ authorizationList?: undefined | undefined;
642
+ blobVersionedHashes: readonly import("viem").Hex[];
643
+ chainId: number;
644
+ type: "eip4844";
645
+ gasPrice?: undefined | undefined;
646
+ maxFeePerBlobGas: bigint;
647
+ maxFeePerGas: bigint;
648
+ maxPriorityFeePerGas: bigint;
649
+ signature?: undefined;
650
+ calls?: undefined;
651
+ nonceKey?: undefined;
652
+ keyAuthorization?: undefined;
653
+ feePayerSignature?: undefined;
654
+ feeToken?: undefined;
655
+ validAfter?: undefined;
656
+ validBefore?: undefined;
657
+ } | {
658
+ blockHash: `0x${string}` | null;
659
+ blockNumber: bigint | null;
660
+ blockTimestamp?: bigint | undefined;
661
+ from: import("viem").Address;
662
+ gas: bigint;
663
+ hash: import("viem").Hash;
664
+ input: import("viem").Hex;
665
+ nonce: number;
666
+ r: import("viem").Hex;
667
+ s: import("viem").Hex;
668
+ to: import("viem").Address | null;
669
+ transactionIndex: number | null;
670
+ typeHex: import("viem").Hex | null;
671
+ v: bigint;
672
+ value: bigint;
673
+ yParity: number;
674
+ accessList: import("viem").AccessList;
675
+ authorizationList: import("viem").SignedAuthorizationList;
676
+ blobVersionedHashes?: undefined | undefined;
677
+ chainId: number;
678
+ type: "eip7702";
679
+ gasPrice?: undefined | undefined;
680
+ maxFeePerBlobGas?: undefined | undefined;
681
+ maxFeePerGas: bigint;
682
+ maxPriorityFeePerGas: bigint;
683
+ signature?: undefined;
684
+ calls?: undefined;
685
+ nonceKey?: undefined;
686
+ keyAuthorization?: undefined;
687
+ feePayerSignature?: undefined;
688
+ feeToken?: undefined;
689
+ validAfter?: undefined;
690
+ validBefore?: undefined;
691
+ } | {
692
+ from: import("viem").Address;
693
+ gas: bigint;
694
+ nonce: number;
695
+ blockHash: `0x${string}` | null;
696
+ blockNumber: bigint | null;
697
+ blockTimestamp?: bigint | undefined;
698
+ hash: import("viem").Hash;
699
+ transactionIndex: number | null;
700
+ typeHex: import("viem").Hex | null;
701
+ r?: `0x${string}` | undefined;
702
+ s?: `0x${string}` | undefined;
703
+ v?: bigint | undefined;
704
+ yParity?: number | undefined;
705
+ accessList: import("viem").AccessList;
706
+ authorizationList?: readonly {
707
+ address: import("viem/chains").Address;
708
+ chainId: number;
709
+ nonce: bigint;
710
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
711
+ }[] | undefined;
712
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
713
+ chainId: number;
714
+ feeToken?: `0x${string}` | undefined;
715
+ feePayerSignature?: import("viem").Signature | undefined;
716
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
717
+ nonceKey?: bigint | undefined;
718
+ signature: import("viem/chains").SignatureEnvelope;
719
+ type: "tempo";
720
+ validBefore?: number | undefined;
721
+ validAfter?: number | undefined;
722
+ gasPrice?: undefined | undefined;
723
+ maxFeePerBlobGas?: undefined | undefined;
724
+ maxFeePerGas: bigint;
725
+ maxPriorityFeePerGas: bigint;
726
+ to?: undefined;
727
+ value?: undefined;
728
+ blobVersionedHashes?: undefined;
729
+ input?: undefined;
730
+ }) & {};
731
+ type: "transaction";
732
+ };
733
+ readonly transactionReceipt: {
734
+ exclude: [] | undefined;
735
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
736
+ blobGasPrice?: bigint | undefined;
737
+ blobGasUsed?: bigint | undefined;
738
+ blockHash: import("viem").Hash;
739
+ blockNumber: bigint;
740
+ blockTimestamp?: bigint | undefined;
741
+ contractAddress: import("viem").Address | null | undefined;
742
+ cumulativeGasUsed: bigint;
743
+ effectiveGasPrice: bigint;
744
+ from: import("viem").Address;
745
+ gasUsed: bigint;
746
+ logs: import("viem").Log<bigint, number, false>[];
747
+ logsBloom: import("viem").Hex;
748
+ root?: `0x${string}` | undefined;
749
+ status: "success" | "reverted";
750
+ to: import("viem").Address | null;
751
+ transactionHash: import("viem").Hash;
752
+ transactionIndex: number;
753
+ type: import("viem/tempo").z_TransactionType;
754
+ feePayer?: `0x${string}` | undefined;
755
+ feeToken?: `0x${string}` | undefined;
756
+ } & {};
757
+ type: "transactionReceipt";
758
+ };
759
+ readonly transactionRequest: {
760
+ exclude: [] | undefined;
761
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
762
+ data?: `0x${string}` | undefined;
763
+ from?: `0x${string}` | undefined;
764
+ gas?: `0x${string}` | undefined;
765
+ nonce?: `0x${string}` | undefined;
766
+ to?: `0x${string}` | null | undefined;
767
+ type?: "0x0" | undefined;
768
+ value?: `0x${string}` | undefined;
769
+ gasPrice?: `0x${string}` | undefined;
770
+ maxFeePerBlobGas?: undefined | undefined;
771
+ maxFeePerGas?: undefined | undefined;
772
+ maxPriorityFeePerGas?: undefined | undefined;
773
+ blobs?: undefined;
774
+ blobVersionedHashes?: undefined;
775
+ kzg?: undefined;
776
+ accessList?: undefined;
777
+ sidecars?: undefined;
778
+ authorizationList?: undefined;
779
+ calls?: undefined;
780
+ capabilities?: undefined;
781
+ nonceKey?: undefined;
782
+ keyAuthorization?: undefined;
783
+ feeToken?: undefined;
784
+ validAfter?: undefined;
785
+ validBefore?: undefined;
786
+ feePayer?: undefined;
787
+ } | {
788
+ data?: `0x${string}` | undefined;
789
+ from?: `0x${string}` | undefined;
790
+ gas?: `0x${string}` | undefined;
791
+ nonce?: `0x${string}` | undefined;
792
+ to?: `0x${string}` | null | undefined;
793
+ type?: "0x1" | undefined;
794
+ value?: `0x${string}` | undefined;
795
+ gasPrice?: `0x${string}` | undefined;
796
+ maxFeePerBlobGas?: undefined | undefined;
797
+ maxFeePerGas?: undefined | undefined;
798
+ maxPriorityFeePerGas?: undefined | undefined;
799
+ accessList?: import("viem").AccessList | undefined;
800
+ blobs?: undefined;
801
+ blobVersionedHashes?: undefined;
802
+ kzg?: undefined;
803
+ sidecars?: undefined;
804
+ authorizationList?: undefined;
805
+ calls?: undefined;
806
+ capabilities?: undefined;
807
+ nonceKey?: undefined;
808
+ keyAuthorization?: undefined;
809
+ feeToken?: undefined;
810
+ validAfter?: undefined;
811
+ validBefore?: undefined;
812
+ feePayer?: undefined;
813
+ } | {
814
+ data?: `0x${string}` | undefined;
815
+ from?: `0x${string}` | undefined;
816
+ gas?: `0x${string}` | undefined;
817
+ nonce?: `0x${string}` | undefined;
818
+ to?: `0x${string}` | null | undefined;
819
+ type?: "0x2" | undefined;
820
+ value?: `0x${string}` | undefined;
821
+ gasPrice?: undefined | undefined;
822
+ maxFeePerBlobGas?: undefined | undefined;
823
+ maxFeePerGas?: `0x${string}` | undefined;
824
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
825
+ accessList?: import("viem").AccessList | undefined;
826
+ blobs?: undefined;
827
+ blobVersionedHashes?: undefined;
828
+ kzg?: undefined;
829
+ sidecars?: undefined;
830
+ authorizationList?: undefined;
831
+ calls?: undefined;
832
+ capabilities?: undefined;
833
+ nonceKey?: undefined;
834
+ keyAuthorization?: undefined;
835
+ feeToken?: undefined;
836
+ validAfter?: undefined;
837
+ validBefore?: undefined;
838
+ feePayer?: undefined;
839
+ } | {
840
+ type?: "0x3" | undefined;
841
+ data?: `0x${string}` | undefined;
842
+ from?: `0x${string}` | undefined;
843
+ gas?: `0x${string}` | undefined;
844
+ nonce?: `0x${string}` | undefined;
845
+ value?: `0x${string}` | undefined;
846
+ to: `0x${string}` | null;
847
+ gasPrice?: undefined | undefined;
848
+ maxFeePerBlobGas?: `0x${string}` | undefined;
849
+ maxFeePerGas?: `0x${string}` | undefined;
850
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
851
+ accessList?: import("viem").AccessList | undefined;
852
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
853
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
854
+ blobVersionedHashes: readonly import("viem").Hex[];
855
+ kzg?: undefined;
856
+ authorizationList?: undefined;
857
+ calls?: undefined;
858
+ capabilities?: undefined;
859
+ nonceKey?: undefined;
860
+ keyAuthorization?: undefined;
861
+ feeToken?: undefined;
862
+ validAfter?: undefined;
863
+ validBefore?: undefined;
864
+ feePayer?: undefined;
865
+ } | {
866
+ type?: "0x3" | undefined;
867
+ data?: `0x${string}` | undefined;
868
+ from?: `0x${string}` | undefined;
869
+ gas?: `0x${string}` | undefined;
870
+ nonce?: `0x${string}` | undefined;
871
+ value?: `0x${string}` | undefined;
872
+ to: `0x${string}` | null;
873
+ gasPrice?: undefined | undefined;
874
+ maxFeePerBlobGas?: `0x${string}` | undefined;
875
+ maxFeePerGas?: `0x${string}` | undefined;
876
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
877
+ accessList?: import("viem").AccessList | undefined;
878
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
879
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
880
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
881
+ kzg?: import("viem").Kzg | undefined;
882
+ authorizationList?: undefined;
883
+ calls?: undefined;
884
+ capabilities?: undefined;
885
+ nonceKey?: undefined;
886
+ keyAuthorization?: undefined;
887
+ feeToken?: undefined;
888
+ validAfter?: undefined;
889
+ validBefore?: undefined;
890
+ feePayer?: undefined;
891
+ } | {
892
+ type?: "0x4" | undefined;
893
+ gasPrice?: undefined | undefined;
894
+ maxFeePerBlobGas?: undefined | undefined;
895
+ maxFeePerGas?: `0x${string}` | undefined;
896
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
897
+ to?: `0x${string}` | null | undefined;
898
+ data?: `0x${string}` | undefined;
899
+ from?: `0x${string}` | undefined;
900
+ gas?: `0x${string}` | undefined;
901
+ nonce?: `0x${string}` | undefined;
902
+ value?: `0x${string}` | undefined;
903
+ accessList?: import("viem").AccessList | undefined;
904
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
905
+ blobs?: undefined;
906
+ blobVersionedHashes?: undefined;
907
+ kzg?: undefined;
908
+ sidecars?: undefined;
909
+ calls?: undefined;
910
+ capabilities?: undefined;
911
+ nonceKey?: undefined;
912
+ keyAuthorization?: undefined;
913
+ feeToken?: undefined;
914
+ validAfter?: undefined;
915
+ validBefore?: undefined;
916
+ feePayer?: undefined;
917
+ } | {
918
+ data?: `0x${string}` | undefined;
919
+ from?: `0x${string}` | undefined;
920
+ gas?: `0x${string}` | undefined;
921
+ nonce?: `0x${string}` | undefined;
922
+ to?: `0x${string}` | null | undefined;
923
+ type?: "0x76" | undefined;
924
+ value?: `0x${string}` | undefined;
925
+ gasPrice?: undefined | undefined;
926
+ maxFeePerBlobGas?: undefined | undefined;
927
+ maxFeePerGas?: `0x${string}` | undefined;
928
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
929
+ accessList?: import("viem").AccessList | undefined;
930
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
931
+ capabilities?: {
932
+ [x: string]: any;
933
+ } | undefined;
934
+ feePayer?: true | import("viem").Account | undefined;
935
+ feeToken?: bigint | import("viem/chains").Address | undefined;
936
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
937
+ nonceKey?: `0x${string}` | "expiring" | undefined;
938
+ validBefore?: `0x${string}` | undefined;
939
+ validAfter?: `0x${string}` | undefined;
940
+ blobs?: undefined;
941
+ blobVersionedHashes?: undefined;
942
+ kzg?: undefined;
943
+ sidecars?: undefined;
944
+ authorizationList?: undefined;
945
+ }) & {};
946
+ type: "transactionRequest";
947
+ };
948
+ };
949
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
950
+ client: import("viem").Client;
951
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
952
+ }) => Promise<import("viem").PrepareTransactionRequestParameters<import("viem").Chain | undefined, import("viem").Account | undefined, import("viem").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("viem").Chain | undefined, import("viem").Chain | undefined, import("viem").Chain | undefined>>>, {
953
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
954
+ }];
955
+ readonly serializers: {
956
+ readonly transaction: import("viem").SerializeTransactionFn;
957
+ };
958
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
959
+ }>, extended_1>;
960
+ } | {
961
+ blockExplorers: {
962
+ readonly default: {
963
+ readonly name: "Tempo Explorer";
964
+ readonly url: "https://explore.tempo.xyz";
965
+ };
966
+ };
967
+ blockTime: 1000;
968
+ contracts?: {
969
+ [x: string]: import("viem").ChainContract | {
970
+ [sourceId: number]: import("viem").ChainContract | undefined;
971
+ } | undefined;
972
+ ensRegistry?: import("viem").ChainContract | undefined;
973
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
974
+ multicall3?: import("viem").ChainContract | undefined;
975
+ erc6492Verifier?: import("viem").ChainContract | undefined;
976
+ } | undefined;
977
+ ensTlds?: readonly string[] | undefined;
978
+ id: 4217;
979
+ name: "Tempo Mainnet";
980
+ nativeCurrency: {
981
+ readonly name: "USD";
982
+ readonly symbol: "USD";
983
+ readonly decimals: 6;
984
+ };
985
+ experimental_preconfirmationTime?: number | undefined | undefined;
986
+ rpcUrls: {
987
+ readonly default: {
988
+ readonly http: readonly ["https://rpc.tempo.xyz"];
989
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
990
+ };
991
+ };
992
+ sourceId?: number | undefined | undefined;
993
+ testnet?: boolean | undefined | undefined;
994
+ custom?: Record<string, unknown> | undefined;
995
+ extendSchema: {
996
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
997
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
998
+ };
999
+ fees?: import("viem").ChainFees<undefined> | undefined;
1000
+ formatters: {
1001
+ readonly transaction: {
1002
+ exclude: never[] | undefined;
1003
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
1004
+ r: import("viem").Hex;
1005
+ s: import("viem").Hex;
1006
+ v: bigint;
1007
+ to: import("viem").Address | null;
1008
+ from: import("viem").Address;
1009
+ gas: bigint;
1010
+ nonce: number;
1011
+ value: bigint;
1012
+ blockHash: `0x${string}` | null;
1013
+ blockNumber: bigint | null;
1014
+ blockTimestamp?: bigint | undefined;
1015
+ hash: import("viem").Hash;
1016
+ input: import("viem").Hex;
1017
+ transactionIndex: number | null;
1018
+ typeHex: import("viem").Hex | null;
1019
+ accessList?: undefined | undefined;
1020
+ authorizationList?: undefined | undefined;
1021
+ blobVersionedHashes?: undefined | undefined;
1022
+ chainId?: number | undefined;
1023
+ yParity?: undefined | undefined;
1024
+ type: "legacy";
1025
+ gasPrice: bigint;
1026
+ maxFeePerBlobGas?: undefined | undefined;
1027
+ maxFeePerGas?: undefined | undefined;
1028
+ maxPriorityFeePerGas?: undefined | undefined;
1029
+ signature?: undefined;
1030
+ calls?: undefined;
1031
+ nonceKey?: undefined;
1032
+ keyAuthorization?: undefined;
1033
+ feePayerSignature?: undefined;
1034
+ feeToken?: undefined;
1035
+ validAfter?: undefined;
1036
+ validBefore?: undefined;
1037
+ } | {
1038
+ blockHash: `0x${string}` | null;
1039
+ blockNumber: bigint | null;
1040
+ blockTimestamp?: bigint | undefined;
1041
+ from: import("viem").Address;
1042
+ gas: bigint;
1043
+ hash: import("viem").Hash;
1044
+ input: import("viem").Hex;
1045
+ nonce: number;
1046
+ r: import("viem").Hex;
1047
+ s: import("viem").Hex;
1048
+ to: import("viem").Address | null;
1049
+ transactionIndex: number | null;
1050
+ typeHex: import("viem").Hex | null;
1051
+ v: bigint;
1052
+ value: bigint;
1053
+ yParity: number;
1054
+ accessList: import("viem").AccessList;
1055
+ authorizationList?: undefined | undefined;
1056
+ blobVersionedHashes?: undefined | undefined;
1057
+ chainId: number;
1058
+ type: "eip2930";
1059
+ gasPrice: bigint;
1060
+ maxFeePerBlobGas?: undefined | undefined;
1061
+ maxFeePerGas?: undefined | undefined;
1062
+ maxPriorityFeePerGas?: undefined | undefined;
1063
+ signature?: undefined;
1064
+ calls?: undefined;
1065
+ nonceKey?: undefined;
1066
+ keyAuthorization?: undefined;
1067
+ feePayerSignature?: undefined;
1068
+ feeToken?: undefined;
1069
+ validAfter?: undefined;
1070
+ validBefore?: undefined;
1071
+ } | {
1072
+ blockHash: `0x${string}` | null;
1073
+ blockNumber: bigint | null;
1074
+ blockTimestamp?: bigint | undefined;
1075
+ from: import("viem").Address;
1076
+ gas: bigint;
1077
+ hash: import("viem").Hash;
1078
+ input: import("viem").Hex;
1079
+ nonce: number;
1080
+ r: import("viem").Hex;
1081
+ s: import("viem").Hex;
1082
+ to: import("viem").Address | null;
1083
+ transactionIndex: number | null;
1084
+ typeHex: import("viem").Hex | null;
1085
+ v: bigint;
1086
+ value: bigint;
1087
+ yParity: number;
1088
+ accessList: import("viem").AccessList;
1089
+ authorizationList?: undefined | undefined;
1090
+ blobVersionedHashes?: undefined | undefined;
1091
+ chainId: number;
1092
+ type: "eip1559";
1093
+ gasPrice?: undefined | undefined;
1094
+ maxFeePerBlobGas?: undefined | undefined;
1095
+ maxFeePerGas: bigint;
1096
+ maxPriorityFeePerGas: bigint;
1097
+ signature?: undefined;
1098
+ calls?: undefined;
1099
+ nonceKey?: undefined;
1100
+ keyAuthorization?: undefined;
1101
+ feePayerSignature?: undefined;
1102
+ feeToken?: undefined;
1103
+ validAfter?: undefined;
1104
+ validBefore?: undefined;
1105
+ } | {
1106
+ blockHash: `0x${string}` | null;
1107
+ blockNumber: bigint | null;
1108
+ blockTimestamp?: bigint | undefined;
1109
+ from: import("viem").Address;
1110
+ gas: bigint;
1111
+ hash: import("viem").Hash;
1112
+ input: import("viem").Hex;
1113
+ nonce: number;
1114
+ r: import("viem").Hex;
1115
+ s: import("viem").Hex;
1116
+ to: import("viem").Address | null;
1117
+ transactionIndex: number | null;
1118
+ typeHex: import("viem").Hex | null;
1119
+ v: bigint;
1120
+ value: bigint;
1121
+ yParity: number;
1122
+ accessList: import("viem").AccessList;
1123
+ authorizationList?: undefined | undefined;
1124
+ blobVersionedHashes: readonly import("viem").Hex[];
1125
+ chainId: number;
1126
+ type: "eip4844";
1127
+ gasPrice?: undefined | undefined;
1128
+ maxFeePerBlobGas: bigint;
1129
+ maxFeePerGas: bigint;
1130
+ maxPriorityFeePerGas: bigint;
1131
+ signature?: undefined;
1132
+ calls?: undefined;
1133
+ nonceKey?: undefined;
1134
+ keyAuthorization?: undefined;
1135
+ feePayerSignature?: undefined;
1136
+ feeToken?: undefined;
1137
+ validAfter?: undefined;
1138
+ validBefore?: undefined;
1139
+ } | {
1140
+ blockHash: `0x${string}` | null;
1141
+ blockNumber: bigint | null;
1142
+ blockTimestamp?: bigint | undefined;
1143
+ from: import("viem").Address;
1144
+ gas: bigint;
1145
+ hash: import("viem").Hash;
1146
+ input: import("viem").Hex;
1147
+ nonce: number;
1148
+ r: import("viem").Hex;
1149
+ s: import("viem").Hex;
1150
+ to: import("viem").Address | null;
1151
+ transactionIndex: number | null;
1152
+ typeHex: import("viem").Hex | null;
1153
+ v: bigint;
1154
+ value: bigint;
1155
+ yParity: number;
1156
+ accessList: import("viem").AccessList;
1157
+ authorizationList: import("viem").SignedAuthorizationList;
1158
+ blobVersionedHashes?: undefined | undefined;
1159
+ chainId: number;
1160
+ type: "eip7702";
1161
+ gasPrice?: undefined | undefined;
1162
+ maxFeePerBlobGas?: undefined | undefined;
1163
+ maxFeePerGas: bigint;
1164
+ maxPriorityFeePerGas: bigint;
1165
+ signature?: undefined;
1166
+ calls?: undefined;
1167
+ nonceKey?: undefined;
1168
+ keyAuthorization?: undefined;
1169
+ feePayerSignature?: undefined;
1170
+ feeToken?: undefined;
1171
+ validAfter?: undefined;
1172
+ validBefore?: undefined;
1173
+ } | {
1174
+ from: import("viem").Address;
1175
+ gas: bigint;
1176
+ nonce: number;
1177
+ blockHash: `0x${string}` | null;
1178
+ blockNumber: bigint | null;
1179
+ blockTimestamp?: bigint | undefined;
1180
+ hash: import("viem").Hash;
1181
+ transactionIndex: number | null;
1182
+ typeHex: import("viem").Hex | null;
1183
+ r?: `0x${string}` | undefined;
1184
+ s?: `0x${string}` | undefined;
1185
+ v?: bigint | undefined;
1186
+ yParity?: number | undefined;
1187
+ accessList: import("viem").AccessList;
1188
+ authorizationList?: readonly {
1189
+ address: import("viem/chains").Address;
1190
+ chainId: number;
1191
+ nonce: bigint;
1192
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
1193
+ }[] | undefined;
1194
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
1195
+ chainId: number;
1196
+ feeToken?: `0x${string}` | undefined;
1197
+ feePayerSignature?: import("viem").Signature | undefined;
1198
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
1199
+ nonceKey?: bigint | undefined;
1200
+ signature: import("viem/chains").SignatureEnvelope;
1201
+ type: "tempo";
1202
+ validBefore?: number | undefined;
1203
+ validAfter?: number | undefined;
1204
+ gasPrice?: undefined | undefined;
1205
+ maxFeePerBlobGas?: undefined | undefined;
1206
+ maxFeePerGas: bigint;
1207
+ maxPriorityFeePerGas: bigint;
1208
+ to?: undefined;
1209
+ value?: undefined;
1210
+ blobVersionedHashes?: undefined;
1211
+ input?: undefined;
1212
+ }) & {};
1213
+ type: "transaction";
1214
+ };
1215
+ readonly transactionReceipt: {
1216
+ exclude: [] | undefined;
1217
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
1218
+ blobGasPrice?: bigint | undefined;
1219
+ blobGasUsed?: bigint | undefined;
1220
+ blockHash: import("viem").Hash;
1221
+ blockNumber: bigint;
1222
+ blockTimestamp?: bigint | undefined;
1223
+ contractAddress: import("viem").Address | null | undefined;
1224
+ cumulativeGasUsed: bigint;
1225
+ effectiveGasPrice: bigint;
1226
+ from: import("viem").Address;
1227
+ gasUsed: bigint;
1228
+ logs: import("viem").Log<bigint, number, false>[];
1229
+ logsBloom: import("viem").Hex;
1230
+ root?: `0x${string}` | undefined;
1231
+ status: "success" | "reverted";
1232
+ to: import("viem").Address | null;
1233
+ transactionHash: import("viem").Hash;
1234
+ transactionIndex: number;
1235
+ type: import("viem/tempo").z_TransactionType;
1236
+ feePayer?: `0x${string}` | undefined;
1237
+ feeToken?: `0x${string}` | undefined;
1238
+ } & {};
1239
+ type: "transactionReceipt";
1240
+ };
1241
+ readonly transactionRequest: {
1242
+ exclude: [] | undefined;
1243
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
1244
+ data?: `0x${string}` | undefined;
1245
+ from?: `0x${string}` | undefined;
1246
+ gas?: `0x${string}` | undefined;
1247
+ nonce?: `0x${string}` | undefined;
1248
+ to?: `0x${string}` | null | undefined;
1249
+ type?: "0x0" | undefined;
1250
+ value?: `0x${string}` | undefined;
1251
+ gasPrice?: `0x${string}` | undefined;
1252
+ maxFeePerBlobGas?: undefined | undefined;
1253
+ maxFeePerGas?: undefined | undefined;
1254
+ maxPriorityFeePerGas?: undefined | undefined;
1255
+ blobs?: undefined;
1256
+ blobVersionedHashes?: undefined;
1257
+ kzg?: undefined;
1258
+ accessList?: undefined;
1259
+ sidecars?: undefined;
1260
+ authorizationList?: undefined;
1261
+ calls?: undefined;
1262
+ capabilities?: undefined;
1263
+ nonceKey?: undefined;
1264
+ keyAuthorization?: undefined;
1265
+ feeToken?: undefined;
1266
+ validAfter?: undefined;
1267
+ validBefore?: undefined;
1268
+ feePayer?: undefined;
1269
+ } | {
1270
+ data?: `0x${string}` | undefined;
1271
+ from?: `0x${string}` | undefined;
1272
+ gas?: `0x${string}` | undefined;
1273
+ nonce?: `0x${string}` | undefined;
1274
+ to?: `0x${string}` | null | undefined;
1275
+ type?: "0x1" | undefined;
1276
+ value?: `0x${string}` | undefined;
1277
+ gasPrice?: `0x${string}` | undefined;
1278
+ maxFeePerBlobGas?: undefined | undefined;
1279
+ maxFeePerGas?: undefined | undefined;
1280
+ maxPriorityFeePerGas?: undefined | undefined;
1281
+ accessList?: import("viem").AccessList | undefined;
1282
+ blobs?: undefined;
1283
+ blobVersionedHashes?: undefined;
1284
+ kzg?: undefined;
1285
+ sidecars?: undefined;
1286
+ authorizationList?: undefined;
1287
+ calls?: undefined;
1288
+ capabilities?: undefined;
1289
+ nonceKey?: undefined;
1290
+ keyAuthorization?: undefined;
1291
+ feeToken?: undefined;
1292
+ validAfter?: undefined;
1293
+ validBefore?: undefined;
1294
+ feePayer?: undefined;
1295
+ } | {
1296
+ data?: `0x${string}` | undefined;
1297
+ from?: `0x${string}` | undefined;
1298
+ gas?: `0x${string}` | undefined;
1299
+ nonce?: `0x${string}` | undefined;
1300
+ to?: `0x${string}` | null | undefined;
1301
+ type?: "0x2" | undefined;
1302
+ value?: `0x${string}` | undefined;
1303
+ gasPrice?: undefined | undefined;
1304
+ maxFeePerBlobGas?: undefined | undefined;
1305
+ maxFeePerGas?: `0x${string}` | undefined;
1306
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1307
+ accessList?: import("viem").AccessList | undefined;
1308
+ blobs?: undefined;
1309
+ blobVersionedHashes?: undefined;
1310
+ kzg?: undefined;
1311
+ sidecars?: undefined;
1312
+ authorizationList?: undefined;
1313
+ calls?: undefined;
1314
+ capabilities?: undefined;
1315
+ nonceKey?: undefined;
1316
+ keyAuthorization?: undefined;
1317
+ feeToken?: undefined;
1318
+ validAfter?: undefined;
1319
+ validBefore?: undefined;
1320
+ feePayer?: undefined;
1321
+ } | {
1322
+ type?: "0x3" | undefined;
1323
+ data?: `0x${string}` | undefined;
1324
+ from?: `0x${string}` | undefined;
1325
+ gas?: `0x${string}` | undefined;
1326
+ nonce?: `0x${string}` | undefined;
1327
+ value?: `0x${string}` | undefined;
1328
+ to: `0x${string}` | null;
1329
+ gasPrice?: undefined | undefined;
1330
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1331
+ maxFeePerGas?: `0x${string}` | undefined;
1332
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1333
+ accessList?: import("viem").AccessList | undefined;
1334
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1335
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
1336
+ blobVersionedHashes: readonly import("viem").Hex[];
1337
+ kzg?: undefined;
1338
+ authorizationList?: undefined;
1339
+ calls?: undefined;
1340
+ capabilities?: undefined;
1341
+ nonceKey?: undefined;
1342
+ keyAuthorization?: undefined;
1343
+ feeToken?: undefined;
1344
+ validAfter?: undefined;
1345
+ validBefore?: undefined;
1346
+ feePayer?: undefined;
1347
+ } | {
1348
+ type?: "0x3" | undefined;
1349
+ data?: `0x${string}` | undefined;
1350
+ from?: `0x${string}` | undefined;
1351
+ gas?: `0x${string}` | undefined;
1352
+ nonce?: `0x${string}` | undefined;
1353
+ value?: `0x${string}` | undefined;
1354
+ to: `0x${string}` | null;
1355
+ gasPrice?: undefined | undefined;
1356
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1357
+ maxFeePerGas?: `0x${string}` | undefined;
1358
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1359
+ accessList?: import("viem").AccessList | undefined;
1360
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1361
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1362
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1363
+ kzg?: import("viem").Kzg | undefined;
1364
+ authorizationList?: undefined;
1365
+ calls?: undefined;
1366
+ capabilities?: undefined;
1367
+ nonceKey?: undefined;
1368
+ keyAuthorization?: undefined;
1369
+ feeToken?: undefined;
1370
+ validAfter?: undefined;
1371
+ validBefore?: undefined;
1372
+ feePayer?: undefined;
1373
+ } | {
1374
+ type?: "0x4" | undefined;
1375
+ gasPrice?: undefined | undefined;
1376
+ maxFeePerBlobGas?: undefined | undefined;
1377
+ maxFeePerGas?: `0x${string}` | undefined;
1378
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1379
+ to?: `0x${string}` | null | undefined;
1380
+ data?: `0x${string}` | undefined;
1381
+ from?: `0x${string}` | undefined;
1382
+ gas?: `0x${string}` | undefined;
1383
+ nonce?: `0x${string}` | undefined;
1384
+ value?: `0x${string}` | undefined;
1385
+ accessList?: import("viem").AccessList | undefined;
1386
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1387
+ blobs?: undefined;
1388
+ blobVersionedHashes?: undefined;
1389
+ kzg?: undefined;
1390
+ sidecars?: undefined;
1391
+ calls?: undefined;
1392
+ capabilities?: undefined;
1393
+ nonceKey?: undefined;
1394
+ keyAuthorization?: undefined;
1395
+ feeToken?: undefined;
1396
+ validAfter?: undefined;
1397
+ validBefore?: undefined;
1398
+ feePayer?: undefined;
1399
+ } | {
1400
+ data?: `0x${string}` | undefined;
1401
+ from?: `0x${string}` | undefined;
1402
+ gas?: `0x${string}` | undefined;
1403
+ nonce?: `0x${string}` | undefined;
1404
+ to?: `0x${string}` | null | undefined;
1405
+ type?: "0x76" | undefined;
1406
+ value?: `0x${string}` | undefined;
1407
+ gasPrice?: undefined | undefined;
1408
+ maxFeePerBlobGas?: undefined | undefined;
1409
+ maxFeePerGas?: `0x${string}` | undefined;
1410
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1411
+ accessList?: import("viem").AccessList | undefined;
1412
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
1413
+ capabilities?: {
1414
+ [x: string]: any;
1415
+ } | undefined;
1416
+ feePayer?: true | import("viem").Account | undefined;
1417
+ feeToken?: bigint | import("viem/chains").Address | undefined;
1418
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
1419
+ nonceKey?: `0x${string}` | "expiring" | undefined;
1420
+ validBefore?: `0x${string}` | undefined;
1421
+ validAfter?: `0x${string}` | undefined;
1422
+ blobs?: undefined;
1423
+ blobVersionedHashes?: undefined;
1424
+ kzg?: undefined;
1425
+ sidecars?: undefined;
1426
+ authorizationList?: undefined;
1427
+ }) & {};
1428
+ type: "transactionRequest";
1429
+ };
1430
+ };
1431
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1432
+ client: import("viem").Client;
1433
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1434
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1435
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1436
+ }];
1437
+ serializers: {
1438
+ readonly transaction: import("viem").SerializeTransactionFn;
1439
+ };
1440
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1441
+ extend: <const extended_1 extends {
1442
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1443
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
1444
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
1445
+ readonly id: 4217;
1446
+ readonly blockExplorers: {
1447
+ readonly default: {
1448
+ readonly name: "Tempo Explorer";
1449
+ readonly url: "https://explore.tempo.xyz";
1450
+ };
1451
+ };
1452
+ readonly name: "Tempo Mainnet";
1453
+ readonly nativeCurrency: {
1454
+ readonly name: "USD";
1455
+ readonly symbol: "USD";
1456
+ readonly decimals: 6;
1457
+ };
1458
+ readonly rpcUrls: {
1459
+ readonly default: {
1460
+ readonly http: readonly ["https://rpc.tempo.xyz"];
1461
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
1462
+ };
1463
+ };
1464
+ readonly blockTime: 1000;
1465
+ readonly extendSchema: {
1466
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1467
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3") | undefined;
1468
+ };
1469
+ readonly formatters: {
1470
+ readonly transaction: {
1471
+ exclude: never[] | undefined;
1472
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
1473
+ r: import("viem").Hex;
1474
+ s: import("viem").Hex;
1475
+ v: bigint;
1476
+ to: import("viem").Address | null;
1477
+ from: import("viem").Address;
1478
+ gas: bigint;
1479
+ nonce: number;
1480
+ value: bigint;
1481
+ blockHash: `0x${string}` | null;
1482
+ blockNumber: bigint | null;
1483
+ blockTimestamp?: bigint | undefined;
1484
+ hash: import("viem").Hash;
1485
+ input: import("viem").Hex;
1486
+ transactionIndex: number | null;
1487
+ typeHex: import("viem").Hex | null;
1488
+ accessList?: undefined | undefined;
1489
+ authorizationList?: undefined | undefined;
1490
+ blobVersionedHashes?: undefined | undefined;
1491
+ chainId?: number | undefined;
1492
+ yParity?: undefined | undefined;
1493
+ type: "legacy";
1494
+ gasPrice: bigint;
1495
+ maxFeePerBlobGas?: undefined | undefined;
1496
+ maxFeePerGas?: undefined | undefined;
1497
+ maxPriorityFeePerGas?: undefined | undefined;
1498
+ signature?: undefined;
1499
+ calls?: undefined;
1500
+ nonceKey?: undefined;
1501
+ keyAuthorization?: undefined;
1502
+ feePayerSignature?: undefined;
1503
+ feeToken?: undefined;
1504
+ validAfter?: undefined;
1505
+ validBefore?: undefined;
1506
+ } | {
1507
+ blockHash: `0x${string}` | null;
1508
+ blockNumber: bigint | null;
1509
+ blockTimestamp?: bigint | undefined;
1510
+ from: import("viem").Address;
1511
+ gas: bigint;
1512
+ hash: import("viem").Hash;
1513
+ input: import("viem").Hex;
1514
+ nonce: number;
1515
+ r: import("viem").Hex;
1516
+ s: import("viem").Hex;
1517
+ to: import("viem").Address | null;
1518
+ transactionIndex: number | null;
1519
+ typeHex: import("viem").Hex | null;
1520
+ v: bigint;
1521
+ value: bigint;
1522
+ yParity: number;
1523
+ accessList: import("viem").AccessList;
1524
+ authorizationList?: undefined | undefined;
1525
+ blobVersionedHashes?: undefined | undefined;
1526
+ chainId: number;
1527
+ type: "eip2930";
1528
+ gasPrice: bigint;
1529
+ maxFeePerBlobGas?: undefined | undefined;
1530
+ maxFeePerGas?: undefined | undefined;
1531
+ maxPriorityFeePerGas?: undefined | undefined;
1532
+ signature?: undefined;
1533
+ calls?: undefined;
1534
+ nonceKey?: undefined;
1535
+ keyAuthorization?: undefined;
1536
+ feePayerSignature?: undefined;
1537
+ feeToken?: undefined;
1538
+ validAfter?: undefined;
1539
+ validBefore?: undefined;
1540
+ } | {
1541
+ blockHash: `0x${string}` | null;
1542
+ blockNumber: bigint | null;
1543
+ blockTimestamp?: bigint | undefined;
1544
+ from: import("viem").Address;
1545
+ gas: bigint;
1546
+ hash: import("viem").Hash;
1547
+ input: import("viem").Hex;
1548
+ nonce: number;
1549
+ r: import("viem").Hex;
1550
+ s: import("viem").Hex;
1551
+ to: import("viem").Address | null;
1552
+ transactionIndex: number | null;
1553
+ typeHex: import("viem").Hex | null;
1554
+ v: bigint;
1555
+ value: bigint;
1556
+ yParity: number;
1557
+ accessList: import("viem").AccessList;
1558
+ authorizationList?: undefined | undefined;
1559
+ blobVersionedHashes?: undefined | undefined;
1560
+ chainId: number;
1561
+ type: "eip1559";
1562
+ gasPrice?: undefined | undefined;
1563
+ maxFeePerBlobGas?: undefined | undefined;
1564
+ maxFeePerGas: bigint;
1565
+ maxPriorityFeePerGas: bigint;
1566
+ signature?: undefined;
1567
+ calls?: undefined;
1568
+ nonceKey?: undefined;
1569
+ keyAuthorization?: undefined;
1570
+ feePayerSignature?: undefined;
1571
+ feeToken?: undefined;
1572
+ validAfter?: undefined;
1573
+ validBefore?: undefined;
1574
+ } | {
1575
+ blockHash: `0x${string}` | null;
1576
+ blockNumber: bigint | null;
1577
+ blockTimestamp?: bigint | undefined;
1578
+ from: import("viem").Address;
1579
+ gas: bigint;
1580
+ hash: import("viem").Hash;
1581
+ input: import("viem").Hex;
1582
+ nonce: number;
1583
+ r: import("viem").Hex;
1584
+ s: import("viem").Hex;
1585
+ to: import("viem").Address | null;
1586
+ transactionIndex: number | null;
1587
+ typeHex: import("viem").Hex | null;
1588
+ v: bigint;
1589
+ value: bigint;
1590
+ yParity: number;
1591
+ accessList: import("viem").AccessList;
1592
+ authorizationList?: undefined | undefined;
1593
+ blobVersionedHashes: readonly import("viem").Hex[];
1594
+ chainId: number;
1595
+ type: "eip4844";
1596
+ gasPrice?: undefined | undefined;
1597
+ maxFeePerBlobGas: bigint;
1598
+ maxFeePerGas: bigint;
1599
+ maxPriorityFeePerGas: bigint;
1600
+ signature?: undefined;
1601
+ calls?: undefined;
1602
+ nonceKey?: undefined;
1603
+ keyAuthorization?: undefined;
1604
+ feePayerSignature?: undefined;
1605
+ feeToken?: undefined;
1606
+ validAfter?: undefined;
1607
+ validBefore?: undefined;
1608
+ } | {
1609
+ blockHash: `0x${string}` | null;
1610
+ blockNumber: bigint | null;
1611
+ blockTimestamp?: bigint | undefined;
1612
+ from: import("viem").Address;
1613
+ gas: bigint;
1614
+ hash: import("viem").Hash;
1615
+ input: import("viem").Hex;
1616
+ nonce: number;
1617
+ r: import("viem").Hex;
1618
+ s: import("viem").Hex;
1619
+ to: import("viem").Address | null;
1620
+ transactionIndex: number | null;
1621
+ typeHex: import("viem").Hex | null;
1622
+ v: bigint;
1623
+ value: bigint;
1624
+ yParity: number;
1625
+ accessList: import("viem").AccessList;
1626
+ authorizationList: import("viem").SignedAuthorizationList;
1627
+ blobVersionedHashes?: undefined | undefined;
1628
+ chainId: number;
1629
+ type: "eip7702";
1630
+ gasPrice?: undefined | undefined;
1631
+ maxFeePerBlobGas?: undefined | undefined;
1632
+ maxFeePerGas: bigint;
1633
+ maxPriorityFeePerGas: bigint;
1634
+ signature?: undefined;
1635
+ calls?: undefined;
1636
+ nonceKey?: undefined;
1637
+ keyAuthorization?: undefined;
1638
+ feePayerSignature?: undefined;
1639
+ feeToken?: undefined;
1640
+ validAfter?: undefined;
1641
+ validBefore?: undefined;
1642
+ } | {
1643
+ from: import("viem").Address;
1644
+ gas: bigint;
1645
+ nonce: number;
1646
+ blockHash: `0x${string}` | null;
1647
+ blockNumber: bigint | null;
1648
+ blockTimestamp?: bigint | undefined;
1649
+ hash: import("viem").Hash;
1650
+ transactionIndex: number | null;
1651
+ typeHex: import("viem").Hex | null;
1652
+ r?: `0x${string}` | undefined;
1653
+ s?: `0x${string}` | undefined;
1654
+ v?: bigint | undefined;
1655
+ yParity?: number | undefined;
1656
+ accessList: import("viem").AccessList;
1657
+ authorizationList?: readonly {
1658
+ address: import("viem/chains").Address;
1659
+ chainId: number;
1660
+ nonce: bigint;
1661
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
1662
+ }[] | undefined;
1663
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
1664
+ chainId: number;
1665
+ feeToken?: `0x${string}` | undefined;
1666
+ feePayerSignature?: import("viem").Signature | undefined;
1667
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
1668
+ nonceKey?: bigint | undefined;
1669
+ signature: import("viem/chains").SignatureEnvelope;
1670
+ type: "tempo";
1671
+ validBefore?: number | undefined;
1672
+ validAfter?: number | undefined;
1673
+ gasPrice?: undefined | undefined;
1674
+ maxFeePerBlobGas?: undefined | undefined;
1675
+ maxFeePerGas: bigint;
1676
+ maxPriorityFeePerGas: bigint;
1677
+ to?: undefined;
1678
+ value?: undefined;
1679
+ blobVersionedHashes?: undefined;
1680
+ input?: undefined;
1681
+ }) & {};
1682
+ type: "transaction";
1683
+ };
1684
+ readonly transactionReceipt: {
1685
+ exclude: [] | undefined;
1686
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
1687
+ blobGasPrice?: bigint | undefined;
1688
+ blobGasUsed?: bigint | undefined;
1689
+ blockHash: import("viem").Hash;
1690
+ blockNumber: bigint;
1691
+ blockTimestamp?: bigint | undefined;
1692
+ contractAddress: import("viem").Address | null | undefined;
1693
+ cumulativeGasUsed: bigint;
1694
+ effectiveGasPrice: bigint;
1695
+ from: import("viem").Address;
1696
+ gasUsed: bigint;
1697
+ logs: import("viem").Log<bigint, number, false>[];
1698
+ logsBloom: import("viem").Hex;
1699
+ root?: `0x${string}` | undefined;
1700
+ status: "success" | "reverted";
1701
+ to: import("viem").Address | null;
1702
+ transactionHash: import("viem").Hash;
1703
+ transactionIndex: number;
1704
+ type: import("viem/tempo").z_TransactionType;
1705
+ feePayer?: `0x${string}` | undefined;
1706
+ feeToken?: `0x${string}` | undefined;
1707
+ } & {};
1708
+ type: "transactionReceipt";
1709
+ };
1710
+ readonly transactionRequest: {
1711
+ exclude: [] | undefined;
1712
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
1713
+ data?: `0x${string}` | undefined;
1714
+ from?: `0x${string}` | undefined;
1715
+ gas?: `0x${string}` | undefined;
1716
+ nonce?: `0x${string}` | undefined;
1717
+ to?: `0x${string}` | null | undefined;
1718
+ type?: "0x0" | undefined;
1719
+ value?: `0x${string}` | undefined;
1720
+ gasPrice?: `0x${string}` | undefined;
1721
+ maxFeePerBlobGas?: undefined | undefined;
1722
+ maxFeePerGas?: undefined | undefined;
1723
+ maxPriorityFeePerGas?: undefined | undefined;
1724
+ blobs?: undefined;
1725
+ blobVersionedHashes?: undefined;
1726
+ kzg?: undefined;
1727
+ accessList?: undefined;
1728
+ sidecars?: undefined;
1729
+ authorizationList?: undefined;
1730
+ calls?: undefined;
1731
+ capabilities?: undefined;
1732
+ nonceKey?: undefined;
1733
+ keyAuthorization?: undefined;
1734
+ feeToken?: undefined;
1735
+ validAfter?: undefined;
1736
+ validBefore?: undefined;
1737
+ feePayer?: undefined;
1738
+ } | {
1739
+ data?: `0x${string}` | undefined;
1740
+ from?: `0x${string}` | undefined;
1741
+ gas?: `0x${string}` | undefined;
1742
+ nonce?: `0x${string}` | undefined;
1743
+ to?: `0x${string}` | null | undefined;
1744
+ type?: "0x1" | undefined;
1745
+ value?: `0x${string}` | undefined;
1746
+ gasPrice?: `0x${string}` | undefined;
1747
+ maxFeePerBlobGas?: undefined | undefined;
1748
+ maxFeePerGas?: undefined | undefined;
1749
+ maxPriorityFeePerGas?: undefined | undefined;
1750
+ accessList?: import("viem").AccessList | undefined;
1751
+ blobs?: undefined;
1752
+ blobVersionedHashes?: undefined;
1753
+ kzg?: undefined;
1754
+ sidecars?: undefined;
1755
+ authorizationList?: undefined;
1756
+ calls?: undefined;
1757
+ capabilities?: undefined;
1758
+ nonceKey?: undefined;
1759
+ keyAuthorization?: undefined;
1760
+ feeToken?: undefined;
1761
+ validAfter?: undefined;
1762
+ validBefore?: undefined;
1763
+ feePayer?: undefined;
1764
+ } | {
1765
+ data?: `0x${string}` | undefined;
1766
+ from?: `0x${string}` | undefined;
1767
+ gas?: `0x${string}` | undefined;
1768
+ nonce?: `0x${string}` | undefined;
1769
+ to?: `0x${string}` | null | undefined;
1770
+ type?: "0x2" | undefined;
1771
+ value?: `0x${string}` | undefined;
1772
+ gasPrice?: undefined | undefined;
1773
+ maxFeePerBlobGas?: undefined | undefined;
1774
+ maxFeePerGas?: `0x${string}` | undefined;
1775
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1776
+ accessList?: import("viem").AccessList | undefined;
1777
+ blobs?: undefined;
1778
+ blobVersionedHashes?: undefined;
1779
+ kzg?: undefined;
1780
+ sidecars?: undefined;
1781
+ authorizationList?: undefined;
1782
+ calls?: undefined;
1783
+ capabilities?: undefined;
1784
+ nonceKey?: undefined;
1785
+ keyAuthorization?: undefined;
1786
+ feeToken?: undefined;
1787
+ validAfter?: undefined;
1788
+ validBefore?: undefined;
1789
+ feePayer?: undefined;
1790
+ } | {
1791
+ type?: "0x3" | undefined;
1792
+ data?: `0x${string}` | undefined;
1793
+ from?: `0x${string}` | undefined;
1794
+ gas?: `0x${string}` | undefined;
1795
+ nonce?: `0x${string}` | undefined;
1796
+ value?: `0x${string}` | undefined;
1797
+ to: `0x${string}` | null;
1798
+ gasPrice?: undefined | undefined;
1799
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1800
+ maxFeePerGas?: `0x${string}` | undefined;
1801
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1802
+ accessList?: import("viem").AccessList | undefined;
1803
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1804
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
1805
+ blobVersionedHashes: readonly import("viem").Hex[];
1806
+ kzg?: undefined;
1807
+ authorizationList?: undefined;
1808
+ calls?: undefined;
1809
+ capabilities?: undefined;
1810
+ nonceKey?: undefined;
1811
+ keyAuthorization?: undefined;
1812
+ feeToken?: undefined;
1813
+ validAfter?: undefined;
1814
+ validBefore?: undefined;
1815
+ feePayer?: undefined;
1816
+ } | {
1817
+ type?: "0x3" | undefined;
1818
+ data?: `0x${string}` | undefined;
1819
+ from?: `0x${string}` | undefined;
1820
+ gas?: `0x${string}` | undefined;
1821
+ nonce?: `0x${string}` | undefined;
1822
+ value?: `0x${string}` | undefined;
1823
+ to: `0x${string}` | null;
1824
+ gasPrice?: undefined | undefined;
1825
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1826
+ maxFeePerGas?: `0x${string}` | undefined;
1827
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1828
+ accessList?: import("viem").AccessList | undefined;
1829
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1830
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1831
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1832
+ kzg?: import("viem").Kzg | undefined;
1833
+ authorizationList?: undefined;
1834
+ calls?: undefined;
1835
+ capabilities?: undefined;
1836
+ nonceKey?: undefined;
1837
+ keyAuthorization?: undefined;
1838
+ feeToken?: undefined;
1839
+ validAfter?: undefined;
1840
+ validBefore?: undefined;
1841
+ feePayer?: undefined;
1842
+ } | {
1843
+ type?: "0x4" | undefined;
1844
+ gasPrice?: undefined | undefined;
1845
+ maxFeePerBlobGas?: undefined | undefined;
1846
+ maxFeePerGas?: `0x${string}` | undefined;
1847
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1848
+ to?: `0x${string}` | null | undefined;
1849
+ data?: `0x${string}` | undefined;
1850
+ from?: `0x${string}` | undefined;
1851
+ gas?: `0x${string}` | undefined;
1852
+ nonce?: `0x${string}` | undefined;
1853
+ value?: `0x${string}` | undefined;
1854
+ accessList?: import("viem").AccessList | undefined;
1855
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1856
+ blobs?: undefined;
1857
+ blobVersionedHashes?: undefined;
1858
+ kzg?: undefined;
1859
+ sidecars?: undefined;
1860
+ calls?: undefined;
1861
+ capabilities?: undefined;
1862
+ nonceKey?: undefined;
1863
+ keyAuthorization?: undefined;
1864
+ feeToken?: undefined;
1865
+ validAfter?: undefined;
1866
+ validBefore?: undefined;
1867
+ feePayer?: undefined;
1868
+ } | {
1869
+ data?: `0x${string}` | undefined;
1870
+ from?: `0x${string}` | undefined;
1871
+ gas?: `0x${string}` | undefined;
1872
+ nonce?: `0x${string}` | undefined;
1873
+ to?: `0x${string}` | null | undefined;
1874
+ type?: "0x76" | undefined;
1875
+ value?: `0x${string}` | undefined;
1876
+ gasPrice?: undefined | undefined;
1877
+ maxFeePerBlobGas?: undefined | undefined;
1878
+ maxFeePerGas?: `0x${string}` | undefined;
1879
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1880
+ accessList?: import("viem").AccessList | undefined;
1881
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
1882
+ capabilities?: {
1883
+ [x: string]: any;
1884
+ } | undefined;
1885
+ feePayer?: true | import("viem").Account | undefined;
1886
+ feeToken?: bigint | import("viem/chains").Address | undefined;
1887
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
1888
+ nonceKey?: `0x${string}` | "expiring" | undefined;
1889
+ validBefore?: `0x${string}` | undefined;
1890
+ validAfter?: `0x${string}` | undefined;
1891
+ blobs?: undefined;
1892
+ blobVersionedHashes?: undefined;
1893
+ kzg?: undefined;
1894
+ sidecars?: undefined;
1895
+ authorizationList?: undefined;
1896
+ }) & {};
1897
+ type: "transactionRequest";
1898
+ };
1899
+ };
1900
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1901
+ client: import("viem").Client;
1902
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1903
+ }) => Promise<import("viem").PrepareTransactionRequestParameters<import("viem").Chain | undefined, import("viem").Account | undefined, import("viem").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("viem").Chain | undefined, import("viem").Chain | undefined, import("viem").Chain | undefined>>>, {
1904
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1905
+ }];
1906
+ readonly serializers: {
1907
+ readonly transaction: import("viem").SerializeTransactionFn;
1908
+ };
1909
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1910
+ }>, extended_1>;
1911
+ })[];
1912
+ /** Tempo chain ids keyed by network. */
1913
+ export declare const chainId: {
1914
+ readonly mainnet: 4217;
1915
+ readonly testnet: 42431;
1916
+ };
1917
+ /** Default Tempo chain id. */
1918
+ export declare const defaultChainId: 4217;
1919
+ /** Whether a chain id is Tempo mainnet. */
1920
+ export declare function isMainnet(id: number): boolean;
1921
+ /** Default Tempo RPC URLs keyed by chain id. */
1922
+ export declare const url: Record<number, string>;
1923
+ /** Tempo chain id. */
1924
+ export type ChainId = z.output<typeof Schema.ChainId>;
1925
+ /** Tempo chain metadata with a configurable chain id. */
1926
+ export type Chain = Omit<typeof tempoMainnet, 'id'> & {
1927
+ id: ChainId;
1928
+ };
1929
+ /** Gets a Tempo viem client for a chain id. */
1930
+ export type GetClient = (chainId?: ChainId) => getClient.ReturnType;
1931
+ /**
1932
+ * Resolves an RPC URL for a Tempo chain id. May return `undefined` to fall back
1933
+ * to the built-in {@link url} map (e.g. for a chain the resolver doesn't serve).
1934
+ */
1935
+ export type UrlResolver = (chainId: ChainId) => string | undefined;
1936
+ /**
1937
+ * Resolves the effective RPC config for a single request.
1938
+ *
1939
+ * Accepts either a static config object or a per-request resolver function. The
1940
+ * resolver receives a {@link resolve.Context} (`chainId` plus the request
1941
+ * `principal`), so callers can route traffic per caller — e.g. send anonymous
1942
+ * (`principal.type === 'public'`) traffic to a separate, no-auth upstream. A
1943
+ * `null` principal denotes a trusted, non-request caller (the scheduled
1944
+ * webhook poller). A missing `url` falls back to the built-in public host map
1945
+ * ({@link url}); a missing `basicAuth` means no Basic auth is sent.
1946
+ *
1947
+ * Memoization is keyed on the resolved output (see `App.create` and
1948
+ * {@link Tidx.createGetClient}), not the context, so a resolver may branch on
1949
+ * any principal field without unbounded client cardinality: callers that
1950
+ * resolve to the same upstream share a client. Pass the result to
1951
+ * {@link getClient} (or let `getClient` resolve for you) to build a client.
1952
+ */
1953
+ export declare function resolve(rpc: getClient.Rpc | undefined, context: resolve.Context): resolve.Resolved;
1954
+ export declare namespace resolve {
1955
+ /** RPC resolution context. */
1956
+ type Context = {
1957
+ /** Tempo chain id. */
1958
+ chainId: ChainId;
1959
+ /**
1960
+ * Request principal, or `null` for a trusted non-request caller (the
1961
+ * scheduled webhook poller). Anonymous and MPP-paid public requests carry a
1962
+ * `type: 'public'` principal; authenticated requests a `type: 'api_key'` one.
1963
+ */
1964
+ principal: Auth.Principal | null;
1965
+ };
1966
+ /** Resolved RPC config for a single request. */
1967
+ type Resolved = {
1968
+ /** Basic auth credentials, or undefined to send no Basic auth. */
1969
+ basicAuth?: string | undefined;
1970
+ /**
1971
+ * Resolved RPC URL, or `undefined` when neither a configured `rpc` nor the
1972
+ * built-in {@link url} map covers the chain (e.g. an unconfigured localnet).
1973
+ * A `undefined` URL falls through to viem's chain default transport.
1974
+ */
1975
+ url: string | undefined;
1976
+ };
1977
+ }
1978
+ export declare function getClient(options: getClient.Options): getClient.ReturnType;
1979
+ export declare namespace getClient {
1980
+ /** Tempo viem client with public and Tempo action helpers. */
1981
+ type ReturnType = core_Client<HttpTransport, Chain, undefined, undefined, PublicActions<HttpTransport, Chain, undefined> & TempoActions<Chain, undefined>>;
1982
+ /** Options for getting a Tempo viem client. */
1983
+ type Options = {
1984
+ /** Tempo chain id. */
1985
+ chainId?: ChainId | undefined;
1986
+ /** Request principal, or `null`/omitted for a trusted non-request caller. */
1987
+ principal?: Auth.Principal | null | undefined;
1988
+ /** Tempo RPC options. */
1989
+ rpc?: Rpc | undefined;
1990
+ };
1991
+ /**
1992
+ * Tempo RPC options: either a static config, or a per-request resolver
1993
+ * function that receives a {@link resolve.Context} and returns the config to
1994
+ * use (e.g. routing anonymous callers to a public, no-auth RPC).
1995
+ */
1996
+ type Rpc = {
1997
+ /** Basic auth credentials for RPC requests. */
1998
+ basicAuth?: string | undefined;
1999
+ /** Resolves the RPC URL for a Tempo chain id. */
2000
+ url?: UrlResolver | undefined;
2001
+ } | ((context: resolve.Context) => {
2002
+ /** Basic auth credentials for RPC requests, or undefined for none. */
2003
+ basicAuth?: string | undefined;
2004
+ /** RPC URL to use; falls back to the built-in public host when omitted. */
2005
+ url?: string | undefined;
2006
+ });
2007
+ }
2008
+ //# sourceMappingURL=Viem.d.ts.map