tapimo 0.0.0 → 0.0.2

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 +119 -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 +618 -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 +291 -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 +2082 -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 +980 -0
  378. package/src/internal/Auth.ts +1012 -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 +545 -0
  402. package/src/internal/Store.ts +526 -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 +165 -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,2082 @@
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" | "t4" | "t5" | "t6") | 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
+ signatures?: undefined;
316
+ validBefore?: undefined;
317
+ feePayer?: undefined;
318
+ multisig?: undefined;
319
+ } | {
320
+ data?: `0x${string}` | undefined;
321
+ from?: `0x${string}` | undefined;
322
+ gas?: `0x${string}` | undefined;
323
+ nonce?: `0x${string}` | undefined;
324
+ to?: `0x${string}` | null | undefined;
325
+ type?: "0x1" | undefined;
326
+ value?: `0x${string}` | undefined;
327
+ gasPrice?: `0x${string}` | undefined;
328
+ maxFeePerBlobGas?: undefined | undefined;
329
+ maxFeePerGas?: undefined | undefined;
330
+ maxPriorityFeePerGas?: undefined | undefined;
331
+ accessList?: import("viem").AccessList | undefined;
332
+ blobs?: undefined;
333
+ blobVersionedHashes?: undefined;
334
+ kzg?: undefined;
335
+ sidecars?: undefined;
336
+ authorizationList?: undefined;
337
+ calls?: undefined;
338
+ capabilities?: undefined;
339
+ nonceKey?: undefined;
340
+ keyAuthorization?: undefined;
341
+ feeToken?: undefined;
342
+ validAfter?: undefined;
343
+ signatures?: undefined;
344
+ validBefore?: undefined;
345
+ feePayer?: undefined;
346
+ multisig?: undefined;
347
+ } | {
348
+ data?: `0x${string}` | undefined;
349
+ from?: `0x${string}` | undefined;
350
+ gas?: `0x${string}` | undefined;
351
+ nonce?: `0x${string}` | undefined;
352
+ to?: `0x${string}` | null | undefined;
353
+ type?: "0x2" | undefined;
354
+ value?: `0x${string}` | undefined;
355
+ gasPrice?: undefined | undefined;
356
+ maxFeePerBlobGas?: undefined | undefined;
357
+ maxFeePerGas?: `0x${string}` | undefined;
358
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
359
+ accessList?: import("viem").AccessList | undefined;
360
+ blobs?: undefined;
361
+ blobVersionedHashes?: undefined;
362
+ kzg?: undefined;
363
+ sidecars?: undefined;
364
+ authorizationList?: undefined;
365
+ calls?: undefined;
366
+ capabilities?: undefined;
367
+ nonceKey?: undefined;
368
+ keyAuthorization?: undefined;
369
+ feeToken?: undefined;
370
+ validAfter?: undefined;
371
+ signatures?: undefined;
372
+ validBefore?: undefined;
373
+ feePayer?: undefined;
374
+ multisig?: undefined;
375
+ } | {
376
+ type?: "0x3" | undefined;
377
+ data?: `0x${string}` | undefined;
378
+ from?: `0x${string}` | undefined;
379
+ gas?: `0x${string}` | undefined;
380
+ nonce?: `0x${string}` | undefined;
381
+ value?: `0x${string}` | undefined;
382
+ to: `0x${string}` | null;
383
+ gasPrice?: undefined | undefined;
384
+ maxFeePerBlobGas?: `0x${string}` | undefined;
385
+ maxFeePerGas?: `0x${string}` | undefined;
386
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
387
+ accessList?: import("viem").AccessList | undefined;
388
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
389
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
390
+ blobVersionedHashes: readonly import("viem").Hex[];
391
+ kzg?: undefined;
392
+ authorizationList?: undefined;
393
+ calls?: undefined;
394
+ capabilities?: undefined;
395
+ nonceKey?: undefined;
396
+ keyAuthorization?: undefined;
397
+ feeToken?: undefined;
398
+ validAfter?: undefined;
399
+ signatures?: undefined;
400
+ validBefore?: undefined;
401
+ feePayer?: undefined;
402
+ multisig?: undefined;
403
+ } | {
404
+ type?: "0x3" | undefined;
405
+ data?: `0x${string}` | undefined;
406
+ from?: `0x${string}` | undefined;
407
+ gas?: `0x${string}` | undefined;
408
+ nonce?: `0x${string}` | undefined;
409
+ value?: `0x${string}` | undefined;
410
+ to: `0x${string}` | null;
411
+ gasPrice?: undefined | undefined;
412
+ maxFeePerBlobGas?: `0x${string}` | undefined;
413
+ maxFeePerGas?: `0x${string}` | undefined;
414
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
415
+ accessList?: import("viem").AccessList | undefined;
416
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
417
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
418
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
419
+ kzg?: import("viem").Kzg | undefined;
420
+ authorizationList?: undefined;
421
+ calls?: undefined;
422
+ capabilities?: undefined;
423
+ nonceKey?: undefined;
424
+ keyAuthorization?: undefined;
425
+ feeToken?: undefined;
426
+ validAfter?: undefined;
427
+ signatures?: undefined;
428
+ validBefore?: undefined;
429
+ feePayer?: undefined;
430
+ multisig?: undefined;
431
+ } | {
432
+ type?: "0x4" | undefined;
433
+ gasPrice?: undefined | undefined;
434
+ maxFeePerBlobGas?: undefined | undefined;
435
+ maxFeePerGas?: `0x${string}` | undefined;
436
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
437
+ to?: `0x${string}` | null | undefined;
438
+ data?: `0x${string}` | undefined;
439
+ from?: `0x${string}` | undefined;
440
+ gas?: `0x${string}` | undefined;
441
+ nonce?: `0x${string}` | undefined;
442
+ value?: `0x${string}` | undefined;
443
+ accessList?: import("viem").AccessList | undefined;
444
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
445
+ blobs?: undefined;
446
+ blobVersionedHashes?: undefined;
447
+ kzg?: undefined;
448
+ sidecars?: undefined;
449
+ calls?: undefined;
450
+ capabilities?: undefined;
451
+ nonceKey?: undefined;
452
+ keyAuthorization?: undefined;
453
+ feeToken?: undefined;
454
+ validAfter?: undefined;
455
+ signatures?: undefined;
456
+ validBefore?: undefined;
457
+ feePayer?: undefined;
458
+ multisig?: undefined;
459
+ } | {
460
+ data?: `0x${string}` | undefined;
461
+ from?: `0x${string}` | undefined;
462
+ gas?: `0x${string}` | undefined;
463
+ nonce?: `0x${string}` | undefined;
464
+ to?: `0x${string}` | null | undefined;
465
+ type?: "0x76" | undefined;
466
+ value?: `0x${string}` | undefined;
467
+ gasPrice?: undefined | undefined;
468
+ maxFeePerBlobGas?: undefined | undefined;
469
+ maxFeePerGas?: `0x${string}` | undefined;
470
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
471
+ accessList?: import("viem").AccessList | undefined;
472
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
473
+ capabilities?: {
474
+ [x: string]: any;
475
+ } | undefined;
476
+ feePayer?: true | import("viem").Account | undefined;
477
+ feeToken?: bigint | import("viem/chains").Address | undefined;
478
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
479
+ multisig?: {
480
+ salt?: `0x${string}` | undefined;
481
+ threshold: `0x${string}`;
482
+ owners: readonly import("ox/tempo/MultisigConfig").Owner<`0x${string}`>[];
483
+ } | undefined;
484
+ nonceKey?: `0x${string}` | "expiring" | undefined;
485
+ signatures?: readonly `0x${string}`[] | undefined;
486
+ validBefore?: `0x${string}` | undefined;
487
+ validAfter?: `0x${string}` | undefined;
488
+ blobs?: undefined;
489
+ blobVersionedHashes?: undefined;
490
+ kzg?: undefined;
491
+ sidecars?: undefined;
492
+ authorizationList?: undefined;
493
+ }) & {};
494
+ type: "transactionRequest";
495
+ };
496
+ };
497
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
498
+ client: import("viem").Client;
499
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
500
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
501
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
502
+ }];
503
+ serializers: {
504
+ readonly transaction: import("viem").SerializeTransactionFn;
505
+ };
506
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
507
+ readonly hardfork: "t5";
508
+ extend: <const extended_1 extends {
509
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
510
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
511
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
512
+ readonly id: 42431;
513
+ readonly hardfork: "t5";
514
+ readonly blockExplorers: {
515
+ readonly default: {
516
+ readonly name: "Tempo Explorer";
517
+ readonly url: "https://explore.testnet.tempo.xyz";
518
+ };
519
+ };
520
+ readonly name: "Tempo Testnet (Moderato)";
521
+ readonly nativeCurrency: {
522
+ readonly name: "USD";
523
+ readonly symbol: "USD";
524
+ readonly decimals: 6;
525
+ };
526
+ readonly rpcUrls: {
527
+ readonly default: {
528
+ readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
529
+ readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
530
+ };
531
+ };
532
+ readonly testnet: true;
533
+ readonly blockTime: 1000;
534
+ readonly extendSchema: {
535
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
536
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
537
+ };
538
+ readonly formatters: {
539
+ readonly transaction: {
540
+ exclude: never[] | undefined;
541
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
542
+ r: import("viem").Hex;
543
+ s: import("viem").Hex;
544
+ v: bigint;
545
+ to: import("viem").Address | null;
546
+ from: import("viem").Address;
547
+ gas: bigint;
548
+ nonce: number;
549
+ value: bigint;
550
+ blockHash: `0x${string}` | null;
551
+ blockNumber: bigint | null;
552
+ blockTimestamp?: bigint | undefined;
553
+ hash: import("viem").Hash;
554
+ input: import("viem").Hex;
555
+ transactionIndex: number | null;
556
+ typeHex: import("viem").Hex | null;
557
+ accessList?: undefined | undefined;
558
+ authorizationList?: undefined | undefined;
559
+ blobVersionedHashes?: undefined | undefined;
560
+ chainId?: number | undefined;
561
+ yParity?: undefined | undefined;
562
+ type: "legacy";
563
+ gasPrice: bigint;
564
+ maxFeePerBlobGas?: undefined | undefined;
565
+ maxFeePerGas?: undefined | undefined;
566
+ maxPriorityFeePerGas?: undefined | undefined;
567
+ signature?: undefined;
568
+ calls?: undefined;
569
+ nonceKey?: undefined;
570
+ keyAuthorization?: undefined;
571
+ feePayerSignature?: undefined;
572
+ feeToken?: undefined;
573
+ validAfter?: undefined;
574
+ validBefore?: undefined;
575
+ } | {
576
+ blockHash: `0x${string}` | null;
577
+ blockNumber: bigint | null;
578
+ blockTimestamp?: bigint | undefined;
579
+ from: import("viem").Address;
580
+ gas: bigint;
581
+ hash: import("viem").Hash;
582
+ input: import("viem").Hex;
583
+ nonce: number;
584
+ r: import("viem").Hex;
585
+ s: import("viem").Hex;
586
+ to: import("viem").Address | null;
587
+ transactionIndex: number | null;
588
+ typeHex: import("viem").Hex | null;
589
+ v: bigint;
590
+ value: bigint;
591
+ yParity: number;
592
+ accessList: import("viem").AccessList;
593
+ authorizationList?: undefined | undefined;
594
+ blobVersionedHashes?: undefined | undefined;
595
+ chainId: number;
596
+ type: "eip2930";
597
+ gasPrice: bigint;
598
+ maxFeePerBlobGas?: undefined | undefined;
599
+ maxFeePerGas?: undefined | undefined;
600
+ maxPriorityFeePerGas?: undefined | undefined;
601
+ signature?: undefined;
602
+ calls?: undefined;
603
+ nonceKey?: undefined;
604
+ keyAuthorization?: undefined;
605
+ feePayerSignature?: undefined;
606
+ feeToken?: undefined;
607
+ validAfter?: undefined;
608
+ validBefore?: undefined;
609
+ } | {
610
+ blockHash: `0x${string}` | null;
611
+ blockNumber: bigint | null;
612
+ blockTimestamp?: bigint | undefined;
613
+ from: import("viem").Address;
614
+ gas: bigint;
615
+ hash: import("viem").Hash;
616
+ input: import("viem").Hex;
617
+ nonce: number;
618
+ r: import("viem").Hex;
619
+ s: import("viem").Hex;
620
+ to: import("viem").Address | null;
621
+ transactionIndex: number | null;
622
+ typeHex: import("viem").Hex | null;
623
+ v: bigint;
624
+ value: bigint;
625
+ yParity: number;
626
+ accessList: import("viem").AccessList;
627
+ authorizationList?: undefined | undefined;
628
+ blobVersionedHashes?: undefined | undefined;
629
+ chainId: number;
630
+ type: "eip1559";
631
+ gasPrice?: undefined | undefined;
632
+ maxFeePerBlobGas?: undefined | undefined;
633
+ maxFeePerGas: bigint;
634
+ maxPriorityFeePerGas: bigint;
635
+ signature?: undefined;
636
+ calls?: undefined;
637
+ nonceKey?: undefined;
638
+ keyAuthorization?: undefined;
639
+ feePayerSignature?: undefined;
640
+ feeToken?: undefined;
641
+ validAfter?: undefined;
642
+ validBefore?: undefined;
643
+ } | {
644
+ blockHash: `0x${string}` | null;
645
+ blockNumber: bigint | null;
646
+ blockTimestamp?: bigint | undefined;
647
+ from: import("viem").Address;
648
+ gas: bigint;
649
+ hash: import("viem").Hash;
650
+ input: import("viem").Hex;
651
+ nonce: number;
652
+ r: import("viem").Hex;
653
+ s: import("viem").Hex;
654
+ to: import("viem").Address | null;
655
+ transactionIndex: number | null;
656
+ typeHex: import("viem").Hex | null;
657
+ v: bigint;
658
+ value: bigint;
659
+ yParity: number;
660
+ accessList: import("viem").AccessList;
661
+ authorizationList?: undefined | undefined;
662
+ blobVersionedHashes: readonly import("viem").Hex[];
663
+ chainId: number;
664
+ type: "eip4844";
665
+ gasPrice?: undefined | undefined;
666
+ maxFeePerBlobGas: bigint;
667
+ maxFeePerGas: bigint;
668
+ maxPriorityFeePerGas: bigint;
669
+ signature?: undefined;
670
+ calls?: undefined;
671
+ nonceKey?: undefined;
672
+ keyAuthorization?: undefined;
673
+ feePayerSignature?: undefined;
674
+ feeToken?: undefined;
675
+ validAfter?: undefined;
676
+ validBefore?: undefined;
677
+ } | {
678
+ blockHash: `0x${string}` | null;
679
+ blockNumber: bigint | null;
680
+ blockTimestamp?: bigint | undefined;
681
+ from: import("viem").Address;
682
+ gas: bigint;
683
+ hash: import("viem").Hash;
684
+ input: import("viem").Hex;
685
+ nonce: number;
686
+ r: import("viem").Hex;
687
+ s: import("viem").Hex;
688
+ to: import("viem").Address | null;
689
+ transactionIndex: number | null;
690
+ typeHex: import("viem").Hex | null;
691
+ v: bigint;
692
+ value: bigint;
693
+ yParity: number;
694
+ accessList: import("viem").AccessList;
695
+ authorizationList: import("viem").SignedAuthorizationList;
696
+ blobVersionedHashes?: undefined | undefined;
697
+ chainId: number;
698
+ type: "eip7702";
699
+ gasPrice?: undefined | undefined;
700
+ maxFeePerBlobGas?: undefined | undefined;
701
+ maxFeePerGas: bigint;
702
+ maxPriorityFeePerGas: bigint;
703
+ signature?: undefined;
704
+ calls?: undefined;
705
+ nonceKey?: undefined;
706
+ keyAuthorization?: undefined;
707
+ feePayerSignature?: undefined;
708
+ feeToken?: undefined;
709
+ validAfter?: undefined;
710
+ validBefore?: undefined;
711
+ } | {
712
+ from: import("viem").Address;
713
+ gas: bigint;
714
+ nonce: number;
715
+ blockHash: `0x${string}` | null;
716
+ blockNumber: bigint | null;
717
+ blockTimestamp?: bigint | undefined;
718
+ hash: import("viem").Hash;
719
+ transactionIndex: number | null;
720
+ typeHex: import("viem").Hex | null;
721
+ r?: `0x${string}` | undefined;
722
+ s?: `0x${string}` | undefined;
723
+ v?: bigint | undefined;
724
+ yParity?: number | undefined;
725
+ accessList: import("viem").AccessList;
726
+ authorizationList?: readonly {
727
+ address: import("viem/chains").Address;
728
+ chainId: number;
729
+ nonce: bigint;
730
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
731
+ }[] | undefined;
732
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
733
+ chainId: number;
734
+ feeToken?: `0x${string}` | undefined;
735
+ feePayerSignature?: import("viem").Signature | undefined;
736
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
737
+ nonceKey?: bigint | undefined;
738
+ signature: import("viem/chains").SignatureEnvelope;
739
+ type: "tempo";
740
+ validBefore?: number | undefined;
741
+ validAfter?: number | undefined;
742
+ gasPrice?: undefined | undefined;
743
+ maxFeePerBlobGas?: undefined | undefined;
744
+ maxFeePerGas: bigint;
745
+ maxPriorityFeePerGas: bigint;
746
+ to?: undefined;
747
+ value?: undefined;
748
+ blobVersionedHashes?: undefined;
749
+ input?: undefined;
750
+ }) & {};
751
+ type: "transaction";
752
+ };
753
+ readonly transactionReceipt: {
754
+ exclude: [] | undefined;
755
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
756
+ blobGasPrice?: bigint | undefined;
757
+ blobGasUsed?: bigint | undefined;
758
+ blockHash: import("viem").Hash;
759
+ blockNumber: bigint;
760
+ blockTimestamp?: bigint | undefined;
761
+ contractAddress: import("viem").Address | null | undefined;
762
+ cumulativeGasUsed: bigint;
763
+ effectiveGasPrice: bigint;
764
+ from: import("viem").Address;
765
+ gasUsed: bigint;
766
+ logs: import("viem").Log<bigint, number, false>[];
767
+ logsBloom: import("viem").Hex;
768
+ root?: `0x${string}` | undefined;
769
+ status: "success" | "reverted";
770
+ to: import("viem").Address | null;
771
+ transactionHash: import("viem").Hash;
772
+ transactionIndex: number;
773
+ type: import("viem/tempo").z_TransactionType;
774
+ feePayer?: `0x${string}` | undefined;
775
+ feeToken?: `0x${string}` | undefined;
776
+ } & {};
777
+ type: "transactionReceipt";
778
+ };
779
+ readonly transactionRequest: {
780
+ exclude: [] | undefined;
781
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
782
+ data?: `0x${string}` | undefined;
783
+ from?: `0x${string}` | undefined;
784
+ gas?: `0x${string}` | undefined;
785
+ nonce?: `0x${string}` | undefined;
786
+ to?: `0x${string}` | null | undefined;
787
+ type?: "0x0" | undefined;
788
+ value?: `0x${string}` | undefined;
789
+ gasPrice?: `0x${string}` | undefined;
790
+ maxFeePerBlobGas?: undefined | undefined;
791
+ maxFeePerGas?: undefined | undefined;
792
+ maxPriorityFeePerGas?: undefined | undefined;
793
+ blobs?: undefined;
794
+ blobVersionedHashes?: undefined;
795
+ kzg?: undefined;
796
+ accessList?: undefined;
797
+ sidecars?: undefined;
798
+ authorizationList?: undefined;
799
+ calls?: undefined;
800
+ capabilities?: undefined;
801
+ nonceKey?: undefined;
802
+ keyAuthorization?: undefined;
803
+ feeToken?: undefined;
804
+ validAfter?: undefined;
805
+ signatures?: undefined;
806
+ validBefore?: undefined;
807
+ feePayer?: undefined;
808
+ multisig?: undefined;
809
+ } | {
810
+ data?: `0x${string}` | undefined;
811
+ from?: `0x${string}` | undefined;
812
+ gas?: `0x${string}` | undefined;
813
+ nonce?: `0x${string}` | undefined;
814
+ to?: `0x${string}` | null | undefined;
815
+ type?: "0x1" | undefined;
816
+ value?: `0x${string}` | undefined;
817
+ gasPrice?: `0x${string}` | undefined;
818
+ maxFeePerBlobGas?: undefined | undefined;
819
+ maxFeePerGas?: undefined | undefined;
820
+ maxPriorityFeePerGas?: undefined | undefined;
821
+ accessList?: import("viem").AccessList | undefined;
822
+ blobs?: undefined;
823
+ blobVersionedHashes?: undefined;
824
+ kzg?: undefined;
825
+ sidecars?: undefined;
826
+ authorizationList?: undefined;
827
+ calls?: undefined;
828
+ capabilities?: undefined;
829
+ nonceKey?: undefined;
830
+ keyAuthorization?: undefined;
831
+ feeToken?: undefined;
832
+ validAfter?: undefined;
833
+ signatures?: undefined;
834
+ validBefore?: undefined;
835
+ feePayer?: undefined;
836
+ multisig?: undefined;
837
+ } | {
838
+ data?: `0x${string}` | undefined;
839
+ from?: `0x${string}` | undefined;
840
+ gas?: `0x${string}` | undefined;
841
+ nonce?: `0x${string}` | undefined;
842
+ to?: `0x${string}` | null | undefined;
843
+ type?: "0x2" | undefined;
844
+ value?: `0x${string}` | undefined;
845
+ gasPrice?: undefined | undefined;
846
+ maxFeePerBlobGas?: undefined | undefined;
847
+ maxFeePerGas?: `0x${string}` | undefined;
848
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
849
+ accessList?: import("viem").AccessList | undefined;
850
+ blobs?: undefined;
851
+ blobVersionedHashes?: undefined;
852
+ kzg?: undefined;
853
+ sidecars?: undefined;
854
+ authorizationList?: undefined;
855
+ calls?: undefined;
856
+ capabilities?: undefined;
857
+ nonceKey?: undefined;
858
+ keyAuthorization?: undefined;
859
+ feeToken?: undefined;
860
+ validAfter?: undefined;
861
+ signatures?: undefined;
862
+ validBefore?: undefined;
863
+ feePayer?: undefined;
864
+ multisig?: 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 `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
880
+ blobVersionedHashes: readonly import("viem").Hex[];
881
+ kzg?: undefined;
882
+ authorizationList?: undefined;
883
+ calls?: undefined;
884
+ capabilities?: undefined;
885
+ nonceKey?: undefined;
886
+ keyAuthorization?: undefined;
887
+ feeToken?: undefined;
888
+ validAfter?: undefined;
889
+ signatures?: undefined;
890
+ validBefore?: undefined;
891
+ feePayer?: undefined;
892
+ multisig?: undefined;
893
+ } | {
894
+ type?: "0x3" | undefined;
895
+ data?: `0x${string}` | undefined;
896
+ from?: `0x${string}` | undefined;
897
+ gas?: `0x${string}` | undefined;
898
+ nonce?: `0x${string}` | undefined;
899
+ value?: `0x${string}` | undefined;
900
+ to: `0x${string}` | null;
901
+ gasPrice?: undefined | undefined;
902
+ maxFeePerBlobGas?: `0x${string}` | undefined;
903
+ maxFeePerGas?: `0x${string}` | undefined;
904
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
905
+ accessList?: import("viem").AccessList | undefined;
906
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
907
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
908
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
909
+ kzg?: import("viem").Kzg | undefined;
910
+ authorizationList?: undefined;
911
+ calls?: undefined;
912
+ capabilities?: undefined;
913
+ nonceKey?: undefined;
914
+ keyAuthorization?: undefined;
915
+ feeToken?: undefined;
916
+ validAfter?: undefined;
917
+ signatures?: undefined;
918
+ validBefore?: undefined;
919
+ feePayer?: undefined;
920
+ multisig?: undefined;
921
+ } | {
922
+ type?: "0x4" | undefined;
923
+ gasPrice?: undefined | undefined;
924
+ maxFeePerBlobGas?: undefined | undefined;
925
+ maxFeePerGas?: `0x${string}` | undefined;
926
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
927
+ to?: `0x${string}` | null | undefined;
928
+ data?: `0x${string}` | undefined;
929
+ from?: `0x${string}` | undefined;
930
+ gas?: `0x${string}` | undefined;
931
+ nonce?: `0x${string}` | undefined;
932
+ value?: `0x${string}` | undefined;
933
+ accessList?: import("viem").AccessList | undefined;
934
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
935
+ blobs?: undefined;
936
+ blobVersionedHashes?: undefined;
937
+ kzg?: undefined;
938
+ sidecars?: undefined;
939
+ calls?: undefined;
940
+ capabilities?: undefined;
941
+ nonceKey?: undefined;
942
+ keyAuthorization?: undefined;
943
+ feeToken?: undefined;
944
+ validAfter?: undefined;
945
+ signatures?: undefined;
946
+ validBefore?: undefined;
947
+ feePayer?: undefined;
948
+ multisig?: undefined;
949
+ } | {
950
+ data?: `0x${string}` | undefined;
951
+ from?: `0x${string}` | undefined;
952
+ gas?: `0x${string}` | undefined;
953
+ nonce?: `0x${string}` | undefined;
954
+ to?: `0x${string}` | null | undefined;
955
+ type?: "0x76" | undefined;
956
+ value?: `0x${string}` | undefined;
957
+ gasPrice?: undefined | undefined;
958
+ maxFeePerBlobGas?: undefined | undefined;
959
+ maxFeePerGas?: `0x${string}` | undefined;
960
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
961
+ accessList?: import("viem").AccessList | undefined;
962
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
963
+ capabilities?: {
964
+ [x: string]: any;
965
+ } | undefined;
966
+ feePayer?: true | import("viem").Account | undefined;
967
+ feeToken?: bigint | import("viem/chains").Address | undefined;
968
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
969
+ multisig?: {
970
+ salt?: `0x${string}` | undefined;
971
+ threshold: `0x${string}`;
972
+ owners: readonly import("ox/tempo/MultisigConfig").Owner<`0x${string}`>[];
973
+ } | undefined;
974
+ nonceKey?: `0x${string}` | "expiring" | undefined;
975
+ signatures?: readonly `0x${string}`[] | undefined;
976
+ validBefore?: `0x${string}` | undefined;
977
+ validAfter?: `0x${string}` | undefined;
978
+ blobs?: undefined;
979
+ blobVersionedHashes?: undefined;
980
+ kzg?: undefined;
981
+ sidecars?: undefined;
982
+ authorizationList?: undefined;
983
+ }) & {};
984
+ type: "transactionRequest";
985
+ };
986
+ };
987
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
988
+ client: import("viem").Client;
989
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
990
+ }) => 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>>>, {
991
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
992
+ }];
993
+ readonly serializers: {
994
+ readonly transaction: import("viem").SerializeTransactionFn;
995
+ };
996
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
997
+ }>, extended_1>;
998
+ } | {
999
+ blockExplorers: {
1000
+ readonly default: {
1001
+ readonly name: "Tempo Explorer";
1002
+ readonly url: "https://explore.tempo.xyz";
1003
+ };
1004
+ };
1005
+ blockTime: 1000;
1006
+ contracts?: {
1007
+ [x: string]: import("viem").ChainContract | {
1008
+ [sourceId: number]: import("viem").ChainContract | undefined;
1009
+ } | undefined;
1010
+ ensRegistry?: import("viem").ChainContract | undefined;
1011
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
1012
+ multicall3?: import("viem").ChainContract | undefined;
1013
+ erc6492Verifier?: import("viem").ChainContract | undefined;
1014
+ } | undefined;
1015
+ ensTlds?: readonly string[] | undefined;
1016
+ id: 4217;
1017
+ name: "Tempo Mainnet";
1018
+ nativeCurrency: {
1019
+ readonly name: "USD";
1020
+ readonly symbol: "USD";
1021
+ readonly decimals: 6;
1022
+ };
1023
+ experimental_preconfirmationTime?: number | undefined | undefined;
1024
+ rpcUrls: {
1025
+ readonly default: {
1026
+ readonly http: readonly ["https://rpc.tempo.xyz"];
1027
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
1028
+ };
1029
+ };
1030
+ sourceId?: number | undefined | undefined;
1031
+ testnet?: boolean | undefined | undefined;
1032
+ custom?: Record<string, unknown> | undefined;
1033
+ extendSchema: {
1034
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1035
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1036
+ };
1037
+ fees?: import("viem").ChainFees<undefined> | undefined;
1038
+ formatters: {
1039
+ readonly transaction: {
1040
+ exclude: never[] | undefined;
1041
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
1042
+ r: import("viem").Hex;
1043
+ s: import("viem").Hex;
1044
+ v: bigint;
1045
+ to: import("viem").Address | null;
1046
+ from: import("viem").Address;
1047
+ gas: bigint;
1048
+ nonce: number;
1049
+ value: bigint;
1050
+ blockHash: `0x${string}` | null;
1051
+ blockNumber: bigint | null;
1052
+ blockTimestamp?: bigint | undefined;
1053
+ hash: import("viem").Hash;
1054
+ input: import("viem").Hex;
1055
+ transactionIndex: number | null;
1056
+ typeHex: import("viem").Hex | null;
1057
+ accessList?: undefined | undefined;
1058
+ authorizationList?: undefined | undefined;
1059
+ blobVersionedHashes?: undefined | undefined;
1060
+ chainId?: number | undefined;
1061
+ yParity?: undefined | undefined;
1062
+ type: "legacy";
1063
+ gasPrice: bigint;
1064
+ maxFeePerBlobGas?: undefined | undefined;
1065
+ maxFeePerGas?: undefined | undefined;
1066
+ maxPriorityFeePerGas?: undefined | undefined;
1067
+ signature?: undefined;
1068
+ calls?: undefined;
1069
+ nonceKey?: undefined;
1070
+ keyAuthorization?: undefined;
1071
+ feePayerSignature?: undefined;
1072
+ feeToken?: undefined;
1073
+ validAfter?: undefined;
1074
+ validBefore?: undefined;
1075
+ } | {
1076
+ blockHash: `0x${string}` | null;
1077
+ blockNumber: bigint | null;
1078
+ blockTimestamp?: bigint | undefined;
1079
+ from: import("viem").Address;
1080
+ gas: bigint;
1081
+ hash: import("viem").Hash;
1082
+ input: import("viem").Hex;
1083
+ nonce: number;
1084
+ r: import("viem").Hex;
1085
+ s: import("viem").Hex;
1086
+ to: import("viem").Address | null;
1087
+ transactionIndex: number | null;
1088
+ typeHex: import("viem").Hex | null;
1089
+ v: bigint;
1090
+ value: bigint;
1091
+ yParity: number;
1092
+ accessList: import("viem").AccessList;
1093
+ authorizationList?: undefined | undefined;
1094
+ blobVersionedHashes?: undefined | undefined;
1095
+ chainId: number;
1096
+ type: "eip2930";
1097
+ gasPrice: bigint;
1098
+ maxFeePerBlobGas?: undefined | undefined;
1099
+ maxFeePerGas?: undefined | undefined;
1100
+ maxPriorityFeePerGas?: undefined | undefined;
1101
+ signature?: undefined;
1102
+ calls?: undefined;
1103
+ nonceKey?: undefined;
1104
+ keyAuthorization?: undefined;
1105
+ feePayerSignature?: undefined;
1106
+ feeToken?: undefined;
1107
+ validAfter?: undefined;
1108
+ validBefore?: undefined;
1109
+ } | {
1110
+ blockHash: `0x${string}` | null;
1111
+ blockNumber: bigint | null;
1112
+ blockTimestamp?: bigint | undefined;
1113
+ from: import("viem").Address;
1114
+ gas: bigint;
1115
+ hash: import("viem").Hash;
1116
+ input: import("viem").Hex;
1117
+ nonce: number;
1118
+ r: import("viem").Hex;
1119
+ s: import("viem").Hex;
1120
+ to: import("viem").Address | null;
1121
+ transactionIndex: number | null;
1122
+ typeHex: import("viem").Hex | null;
1123
+ v: bigint;
1124
+ value: bigint;
1125
+ yParity: number;
1126
+ accessList: import("viem").AccessList;
1127
+ authorizationList?: undefined | undefined;
1128
+ blobVersionedHashes?: undefined | undefined;
1129
+ chainId: number;
1130
+ type: "eip1559";
1131
+ gasPrice?: undefined | undefined;
1132
+ maxFeePerBlobGas?: undefined | undefined;
1133
+ maxFeePerGas: bigint;
1134
+ maxPriorityFeePerGas: bigint;
1135
+ signature?: undefined;
1136
+ calls?: undefined;
1137
+ nonceKey?: undefined;
1138
+ keyAuthorization?: undefined;
1139
+ feePayerSignature?: undefined;
1140
+ feeToken?: undefined;
1141
+ validAfter?: undefined;
1142
+ validBefore?: undefined;
1143
+ } | {
1144
+ blockHash: `0x${string}` | null;
1145
+ blockNumber: bigint | null;
1146
+ blockTimestamp?: bigint | undefined;
1147
+ from: import("viem").Address;
1148
+ gas: bigint;
1149
+ hash: import("viem").Hash;
1150
+ input: import("viem").Hex;
1151
+ nonce: number;
1152
+ r: import("viem").Hex;
1153
+ s: import("viem").Hex;
1154
+ to: import("viem").Address | null;
1155
+ transactionIndex: number | null;
1156
+ typeHex: import("viem").Hex | null;
1157
+ v: bigint;
1158
+ value: bigint;
1159
+ yParity: number;
1160
+ accessList: import("viem").AccessList;
1161
+ authorizationList?: undefined | undefined;
1162
+ blobVersionedHashes: readonly import("viem").Hex[];
1163
+ chainId: number;
1164
+ type: "eip4844";
1165
+ gasPrice?: undefined | undefined;
1166
+ maxFeePerBlobGas: bigint;
1167
+ maxFeePerGas: bigint;
1168
+ maxPriorityFeePerGas: bigint;
1169
+ signature?: undefined;
1170
+ calls?: undefined;
1171
+ nonceKey?: undefined;
1172
+ keyAuthorization?: undefined;
1173
+ feePayerSignature?: undefined;
1174
+ feeToken?: undefined;
1175
+ validAfter?: undefined;
1176
+ validBefore?: undefined;
1177
+ } | {
1178
+ blockHash: `0x${string}` | null;
1179
+ blockNumber: bigint | null;
1180
+ blockTimestamp?: bigint | undefined;
1181
+ from: import("viem").Address;
1182
+ gas: bigint;
1183
+ hash: import("viem").Hash;
1184
+ input: import("viem").Hex;
1185
+ nonce: number;
1186
+ r: import("viem").Hex;
1187
+ s: import("viem").Hex;
1188
+ to: import("viem").Address | null;
1189
+ transactionIndex: number | null;
1190
+ typeHex: import("viem").Hex | null;
1191
+ v: bigint;
1192
+ value: bigint;
1193
+ yParity: number;
1194
+ accessList: import("viem").AccessList;
1195
+ authorizationList: import("viem").SignedAuthorizationList;
1196
+ blobVersionedHashes?: undefined | undefined;
1197
+ chainId: number;
1198
+ type: "eip7702";
1199
+ gasPrice?: undefined | undefined;
1200
+ maxFeePerBlobGas?: undefined | undefined;
1201
+ maxFeePerGas: bigint;
1202
+ maxPriorityFeePerGas: bigint;
1203
+ signature?: undefined;
1204
+ calls?: undefined;
1205
+ nonceKey?: undefined;
1206
+ keyAuthorization?: undefined;
1207
+ feePayerSignature?: undefined;
1208
+ feeToken?: undefined;
1209
+ validAfter?: undefined;
1210
+ validBefore?: undefined;
1211
+ } | {
1212
+ from: import("viem").Address;
1213
+ gas: bigint;
1214
+ nonce: number;
1215
+ blockHash: `0x${string}` | null;
1216
+ blockNumber: bigint | null;
1217
+ blockTimestamp?: bigint | undefined;
1218
+ hash: import("viem").Hash;
1219
+ transactionIndex: number | null;
1220
+ typeHex: import("viem").Hex | null;
1221
+ r?: `0x${string}` | undefined;
1222
+ s?: `0x${string}` | undefined;
1223
+ v?: bigint | undefined;
1224
+ yParity?: number | undefined;
1225
+ accessList: import("viem").AccessList;
1226
+ authorizationList?: readonly {
1227
+ address: import("viem/chains").Address;
1228
+ chainId: number;
1229
+ nonce: bigint;
1230
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
1231
+ }[] | undefined;
1232
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
1233
+ chainId: number;
1234
+ feeToken?: `0x${string}` | undefined;
1235
+ feePayerSignature?: import("viem").Signature | undefined;
1236
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
1237
+ nonceKey?: bigint | undefined;
1238
+ signature: import("viem/chains").SignatureEnvelope;
1239
+ type: "tempo";
1240
+ validBefore?: number | undefined;
1241
+ validAfter?: number | undefined;
1242
+ gasPrice?: undefined | undefined;
1243
+ maxFeePerBlobGas?: undefined | undefined;
1244
+ maxFeePerGas: bigint;
1245
+ maxPriorityFeePerGas: bigint;
1246
+ to?: undefined;
1247
+ value?: undefined;
1248
+ blobVersionedHashes?: undefined;
1249
+ input?: undefined;
1250
+ }) & {};
1251
+ type: "transaction";
1252
+ };
1253
+ readonly transactionReceipt: {
1254
+ exclude: [] | undefined;
1255
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
1256
+ blobGasPrice?: bigint | undefined;
1257
+ blobGasUsed?: bigint | undefined;
1258
+ blockHash: import("viem").Hash;
1259
+ blockNumber: bigint;
1260
+ blockTimestamp?: bigint | undefined;
1261
+ contractAddress: import("viem").Address | null | undefined;
1262
+ cumulativeGasUsed: bigint;
1263
+ effectiveGasPrice: bigint;
1264
+ from: import("viem").Address;
1265
+ gasUsed: bigint;
1266
+ logs: import("viem").Log<bigint, number, false>[];
1267
+ logsBloom: import("viem").Hex;
1268
+ root?: `0x${string}` | undefined;
1269
+ status: "success" | "reverted";
1270
+ to: import("viem").Address | null;
1271
+ transactionHash: import("viem").Hash;
1272
+ transactionIndex: number;
1273
+ type: import("viem/tempo").z_TransactionType;
1274
+ feePayer?: `0x${string}` | undefined;
1275
+ feeToken?: `0x${string}` | undefined;
1276
+ } & {};
1277
+ type: "transactionReceipt";
1278
+ };
1279
+ readonly transactionRequest: {
1280
+ exclude: [] | undefined;
1281
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
1282
+ data?: `0x${string}` | undefined;
1283
+ from?: `0x${string}` | undefined;
1284
+ gas?: `0x${string}` | undefined;
1285
+ nonce?: `0x${string}` | undefined;
1286
+ to?: `0x${string}` | null | undefined;
1287
+ type?: "0x0" | undefined;
1288
+ value?: `0x${string}` | undefined;
1289
+ gasPrice?: `0x${string}` | undefined;
1290
+ maxFeePerBlobGas?: undefined | undefined;
1291
+ maxFeePerGas?: undefined | undefined;
1292
+ maxPriorityFeePerGas?: undefined | undefined;
1293
+ blobs?: undefined;
1294
+ blobVersionedHashes?: undefined;
1295
+ kzg?: undefined;
1296
+ accessList?: undefined;
1297
+ sidecars?: undefined;
1298
+ authorizationList?: undefined;
1299
+ calls?: undefined;
1300
+ capabilities?: undefined;
1301
+ nonceKey?: undefined;
1302
+ keyAuthorization?: undefined;
1303
+ feeToken?: undefined;
1304
+ validAfter?: undefined;
1305
+ signatures?: undefined;
1306
+ validBefore?: undefined;
1307
+ feePayer?: undefined;
1308
+ multisig?: undefined;
1309
+ } | {
1310
+ data?: `0x${string}` | undefined;
1311
+ from?: `0x${string}` | undefined;
1312
+ gas?: `0x${string}` | undefined;
1313
+ nonce?: `0x${string}` | undefined;
1314
+ to?: `0x${string}` | null | undefined;
1315
+ type?: "0x1" | undefined;
1316
+ value?: `0x${string}` | undefined;
1317
+ gasPrice?: `0x${string}` | undefined;
1318
+ maxFeePerBlobGas?: undefined | undefined;
1319
+ maxFeePerGas?: undefined | undefined;
1320
+ maxPriorityFeePerGas?: undefined | undefined;
1321
+ accessList?: import("viem").AccessList | undefined;
1322
+ blobs?: undefined;
1323
+ blobVersionedHashes?: undefined;
1324
+ kzg?: undefined;
1325
+ sidecars?: undefined;
1326
+ authorizationList?: undefined;
1327
+ calls?: undefined;
1328
+ capabilities?: undefined;
1329
+ nonceKey?: undefined;
1330
+ keyAuthorization?: undefined;
1331
+ feeToken?: undefined;
1332
+ validAfter?: undefined;
1333
+ signatures?: undefined;
1334
+ validBefore?: undefined;
1335
+ feePayer?: undefined;
1336
+ multisig?: undefined;
1337
+ } | {
1338
+ data?: `0x${string}` | undefined;
1339
+ from?: `0x${string}` | undefined;
1340
+ gas?: `0x${string}` | undefined;
1341
+ nonce?: `0x${string}` | undefined;
1342
+ to?: `0x${string}` | null | undefined;
1343
+ type?: "0x2" | undefined;
1344
+ value?: `0x${string}` | undefined;
1345
+ gasPrice?: undefined | undefined;
1346
+ maxFeePerBlobGas?: undefined | undefined;
1347
+ maxFeePerGas?: `0x${string}` | undefined;
1348
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1349
+ accessList?: import("viem").AccessList | undefined;
1350
+ blobs?: undefined;
1351
+ blobVersionedHashes?: undefined;
1352
+ kzg?: undefined;
1353
+ sidecars?: undefined;
1354
+ authorizationList?: undefined;
1355
+ calls?: undefined;
1356
+ capabilities?: undefined;
1357
+ nonceKey?: undefined;
1358
+ keyAuthorization?: undefined;
1359
+ feeToken?: undefined;
1360
+ validAfter?: undefined;
1361
+ signatures?: undefined;
1362
+ validBefore?: undefined;
1363
+ feePayer?: undefined;
1364
+ multisig?: undefined;
1365
+ } | {
1366
+ type?: "0x3" | undefined;
1367
+ data?: `0x${string}` | undefined;
1368
+ from?: `0x${string}` | undefined;
1369
+ gas?: `0x${string}` | undefined;
1370
+ nonce?: `0x${string}` | undefined;
1371
+ value?: `0x${string}` | undefined;
1372
+ to: `0x${string}` | null;
1373
+ gasPrice?: undefined | undefined;
1374
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1375
+ maxFeePerGas?: `0x${string}` | undefined;
1376
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1377
+ accessList?: import("viem").AccessList | undefined;
1378
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1379
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
1380
+ blobVersionedHashes: readonly import("viem").Hex[];
1381
+ kzg?: undefined;
1382
+ authorizationList?: undefined;
1383
+ calls?: undefined;
1384
+ capabilities?: undefined;
1385
+ nonceKey?: undefined;
1386
+ keyAuthorization?: undefined;
1387
+ feeToken?: undefined;
1388
+ validAfter?: undefined;
1389
+ signatures?: undefined;
1390
+ validBefore?: undefined;
1391
+ feePayer?: undefined;
1392
+ multisig?: undefined;
1393
+ } | {
1394
+ type?: "0x3" | undefined;
1395
+ data?: `0x${string}` | undefined;
1396
+ from?: `0x${string}` | undefined;
1397
+ gas?: `0x${string}` | undefined;
1398
+ nonce?: `0x${string}` | undefined;
1399
+ value?: `0x${string}` | undefined;
1400
+ to: `0x${string}` | null;
1401
+ gasPrice?: undefined | undefined;
1402
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1403
+ maxFeePerGas?: `0x${string}` | undefined;
1404
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1405
+ accessList?: import("viem").AccessList | undefined;
1406
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1407
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1408
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1409
+ kzg?: import("viem").Kzg | undefined;
1410
+ authorizationList?: undefined;
1411
+ calls?: undefined;
1412
+ capabilities?: undefined;
1413
+ nonceKey?: undefined;
1414
+ keyAuthorization?: undefined;
1415
+ feeToken?: undefined;
1416
+ validAfter?: undefined;
1417
+ signatures?: undefined;
1418
+ validBefore?: undefined;
1419
+ feePayer?: undefined;
1420
+ multisig?: undefined;
1421
+ } | {
1422
+ type?: "0x4" | undefined;
1423
+ gasPrice?: undefined | undefined;
1424
+ maxFeePerBlobGas?: undefined | undefined;
1425
+ maxFeePerGas?: `0x${string}` | undefined;
1426
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1427
+ to?: `0x${string}` | null | undefined;
1428
+ data?: `0x${string}` | undefined;
1429
+ from?: `0x${string}` | undefined;
1430
+ gas?: `0x${string}` | undefined;
1431
+ nonce?: `0x${string}` | undefined;
1432
+ value?: `0x${string}` | undefined;
1433
+ accessList?: import("viem").AccessList | undefined;
1434
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1435
+ blobs?: undefined;
1436
+ blobVersionedHashes?: undefined;
1437
+ kzg?: undefined;
1438
+ sidecars?: undefined;
1439
+ calls?: undefined;
1440
+ capabilities?: undefined;
1441
+ nonceKey?: undefined;
1442
+ keyAuthorization?: undefined;
1443
+ feeToken?: undefined;
1444
+ validAfter?: undefined;
1445
+ signatures?: undefined;
1446
+ validBefore?: undefined;
1447
+ feePayer?: undefined;
1448
+ multisig?: undefined;
1449
+ } | {
1450
+ data?: `0x${string}` | undefined;
1451
+ from?: `0x${string}` | undefined;
1452
+ gas?: `0x${string}` | undefined;
1453
+ nonce?: `0x${string}` | undefined;
1454
+ to?: `0x${string}` | null | undefined;
1455
+ type?: "0x76" | undefined;
1456
+ value?: `0x${string}` | undefined;
1457
+ gasPrice?: undefined | undefined;
1458
+ maxFeePerBlobGas?: undefined | undefined;
1459
+ maxFeePerGas?: `0x${string}` | undefined;
1460
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1461
+ accessList?: import("viem").AccessList | undefined;
1462
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
1463
+ capabilities?: {
1464
+ [x: string]: any;
1465
+ } | undefined;
1466
+ feePayer?: true | import("viem").Account | undefined;
1467
+ feeToken?: bigint | import("viem/chains").Address | undefined;
1468
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
1469
+ multisig?: {
1470
+ salt?: `0x${string}` | undefined;
1471
+ threshold: `0x${string}`;
1472
+ owners: readonly import("ox/tempo/MultisigConfig").Owner<`0x${string}`>[];
1473
+ } | undefined;
1474
+ nonceKey?: `0x${string}` | "expiring" | undefined;
1475
+ signatures?: readonly `0x${string}`[] | undefined;
1476
+ validBefore?: `0x${string}` | undefined;
1477
+ validAfter?: `0x${string}` | undefined;
1478
+ blobs?: undefined;
1479
+ blobVersionedHashes?: undefined;
1480
+ kzg?: undefined;
1481
+ sidecars?: undefined;
1482
+ authorizationList?: undefined;
1483
+ }) & {};
1484
+ type: "transactionRequest";
1485
+ };
1486
+ };
1487
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1488
+ client: import("viem").Client;
1489
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1490
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1491
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1492
+ }];
1493
+ serializers: {
1494
+ readonly transaction: import("viem").SerializeTransactionFn;
1495
+ };
1496
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1497
+ extend: <const extended_1 extends {
1498
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1499
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1500
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
1501
+ readonly id: 4217;
1502
+ readonly blockExplorers: {
1503
+ readonly default: {
1504
+ readonly name: "Tempo Explorer";
1505
+ readonly url: "https://explore.tempo.xyz";
1506
+ };
1507
+ };
1508
+ readonly name: "Tempo Mainnet";
1509
+ readonly nativeCurrency: {
1510
+ readonly name: "USD";
1511
+ readonly symbol: "USD";
1512
+ readonly decimals: 6;
1513
+ };
1514
+ readonly rpcUrls: {
1515
+ readonly default: {
1516
+ readonly http: readonly ["https://rpc.tempo.xyz"];
1517
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
1518
+ };
1519
+ };
1520
+ readonly blockTime: 1000;
1521
+ readonly extendSchema: {
1522
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1523
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1524
+ };
1525
+ readonly formatters: {
1526
+ readonly transaction: {
1527
+ exclude: never[] | undefined;
1528
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => ({
1529
+ r: import("viem").Hex;
1530
+ s: import("viem").Hex;
1531
+ v: bigint;
1532
+ to: import("viem").Address | null;
1533
+ from: import("viem").Address;
1534
+ gas: bigint;
1535
+ nonce: number;
1536
+ value: bigint;
1537
+ blockHash: `0x${string}` | null;
1538
+ blockNumber: bigint | null;
1539
+ blockTimestamp?: bigint | undefined;
1540
+ hash: import("viem").Hash;
1541
+ input: import("viem").Hex;
1542
+ transactionIndex: number | null;
1543
+ typeHex: import("viem").Hex | null;
1544
+ accessList?: undefined | undefined;
1545
+ authorizationList?: undefined | undefined;
1546
+ blobVersionedHashes?: undefined | undefined;
1547
+ chainId?: number | undefined;
1548
+ yParity?: undefined | undefined;
1549
+ type: "legacy";
1550
+ gasPrice: bigint;
1551
+ maxFeePerBlobGas?: undefined | undefined;
1552
+ maxFeePerGas?: undefined | undefined;
1553
+ maxPriorityFeePerGas?: undefined | undefined;
1554
+ signature?: undefined;
1555
+ calls?: undefined;
1556
+ nonceKey?: undefined;
1557
+ keyAuthorization?: undefined;
1558
+ feePayerSignature?: undefined;
1559
+ feeToken?: undefined;
1560
+ validAfter?: undefined;
1561
+ validBefore?: undefined;
1562
+ } | {
1563
+ blockHash: `0x${string}` | null;
1564
+ blockNumber: bigint | null;
1565
+ blockTimestamp?: bigint | undefined;
1566
+ from: import("viem").Address;
1567
+ gas: bigint;
1568
+ hash: import("viem").Hash;
1569
+ input: import("viem").Hex;
1570
+ nonce: number;
1571
+ r: import("viem").Hex;
1572
+ s: import("viem").Hex;
1573
+ to: import("viem").Address | null;
1574
+ transactionIndex: number | null;
1575
+ typeHex: import("viem").Hex | null;
1576
+ v: bigint;
1577
+ value: bigint;
1578
+ yParity: number;
1579
+ accessList: import("viem").AccessList;
1580
+ authorizationList?: undefined | undefined;
1581
+ blobVersionedHashes?: undefined | undefined;
1582
+ chainId: number;
1583
+ type: "eip2930";
1584
+ gasPrice: bigint;
1585
+ maxFeePerBlobGas?: undefined | undefined;
1586
+ maxFeePerGas?: undefined | undefined;
1587
+ maxPriorityFeePerGas?: undefined | undefined;
1588
+ signature?: undefined;
1589
+ calls?: undefined;
1590
+ nonceKey?: undefined;
1591
+ keyAuthorization?: undefined;
1592
+ feePayerSignature?: undefined;
1593
+ feeToken?: undefined;
1594
+ validAfter?: undefined;
1595
+ validBefore?: undefined;
1596
+ } | {
1597
+ blockHash: `0x${string}` | null;
1598
+ blockNumber: bigint | null;
1599
+ blockTimestamp?: bigint | undefined;
1600
+ from: import("viem").Address;
1601
+ gas: bigint;
1602
+ hash: import("viem").Hash;
1603
+ input: import("viem").Hex;
1604
+ nonce: number;
1605
+ r: import("viem").Hex;
1606
+ s: import("viem").Hex;
1607
+ to: import("viem").Address | null;
1608
+ transactionIndex: number | null;
1609
+ typeHex: import("viem").Hex | null;
1610
+ v: bigint;
1611
+ value: bigint;
1612
+ yParity: number;
1613
+ accessList: import("viem").AccessList;
1614
+ authorizationList?: undefined | undefined;
1615
+ blobVersionedHashes?: undefined | undefined;
1616
+ chainId: number;
1617
+ type: "eip1559";
1618
+ gasPrice?: undefined | undefined;
1619
+ maxFeePerBlobGas?: undefined | undefined;
1620
+ maxFeePerGas: bigint;
1621
+ maxPriorityFeePerGas: bigint;
1622
+ signature?: undefined;
1623
+ calls?: undefined;
1624
+ nonceKey?: undefined;
1625
+ keyAuthorization?: undefined;
1626
+ feePayerSignature?: undefined;
1627
+ feeToken?: undefined;
1628
+ validAfter?: undefined;
1629
+ validBefore?: undefined;
1630
+ } | {
1631
+ blockHash: `0x${string}` | null;
1632
+ blockNumber: bigint | null;
1633
+ blockTimestamp?: bigint | undefined;
1634
+ from: import("viem").Address;
1635
+ gas: bigint;
1636
+ hash: import("viem").Hash;
1637
+ input: import("viem").Hex;
1638
+ nonce: number;
1639
+ r: import("viem").Hex;
1640
+ s: import("viem").Hex;
1641
+ to: import("viem").Address | null;
1642
+ transactionIndex: number | null;
1643
+ typeHex: import("viem").Hex | null;
1644
+ v: bigint;
1645
+ value: bigint;
1646
+ yParity: number;
1647
+ accessList: import("viem").AccessList;
1648
+ authorizationList?: undefined | undefined;
1649
+ blobVersionedHashes: readonly import("viem").Hex[];
1650
+ chainId: number;
1651
+ type: "eip4844";
1652
+ gasPrice?: undefined | undefined;
1653
+ maxFeePerBlobGas: bigint;
1654
+ maxFeePerGas: bigint;
1655
+ maxPriorityFeePerGas: bigint;
1656
+ signature?: undefined;
1657
+ calls?: undefined;
1658
+ nonceKey?: undefined;
1659
+ keyAuthorization?: undefined;
1660
+ feePayerSignature?: undefined;
1661
+ feeToken?: undefined;
1662
+ validAfter?: undefined;
1663
+ validBefore?: undefined;
1664
+ } | {
1665
+ blockHash: `0x${string}` | null;
1666
+ blockNumber: bigint | null;
1667
+ blockTimestamp?: bigint | undefined;
1668
+ from: import("viem").Address;
1669
+ gas: bigint;
1670
+ hash: import("viem").Hash;
1671
+ input: import("viem").Hex;
1672
+ nonce: number;
1673
+ r: import("viem").Hex;
1674
+ s: import("viem").Hex;
1675
+ to: import("viem").Address | null;
1676
+ transactionIndex: number | null;
1677
+ typeHex: import("viem").Hex | null;
1678
+ v: bigint;
1679
+ value: bigint;
1680
+ yParity: number;
1681
+ accessList: import("viem").AccessList;
1682
+ authorizationList: import("viem").SignedAuthorizationList;
1683
+ blobVersionedHashes?: undefined | undefined;
1684
+ chainId: number;
1685
+ type: "eip7702";
1686
+ gasPrice?: undefined | undefined;
1687
+ maxFeePerBlobGas?: undefined | undefined;
1688
+ maxFeePerGas: bigint;
1689
+ maxPriorityFeePerGas: bigint;
1690
+ signature?: undefined;
1691
+ calls?: undefined;
1692
+ nonceKey?: undefined;
1693
+ keyAuthorization?: undefined;
1694
+ feePayerSignature?: undefined;
1695
+ feeToken?: undefined;
1696
+ validAfter?: undefined;
1697
+ validBefore?: undefined;
1698
+ } | {
1699
+ from: import("viem").Address;
1700
+ gas: bigint;
1701
+ nonce: number;
1702
+ blockHash: `0x${string}` | null;
1703
+ blockNumber: bigint | null;
1704
+ blockTimestamp?: bigint | undefined;
1705
+ hash: import("viem").Hash;
1706
+ transactionIndex: number | null;
1707
+ typeHex: import("viem").Hex | null;
1708
+ r?: `0x${string}` | undefined;
1709
+ s?: `0x${string}` | undefined;
1710
+ v?: bigint | undefined;
1711
+ yParity?: number | undefined;
1712
+ accessList: import("viem").AccessList;
1713
+ authorizationList?: readonly {
1714
+ address: import("viem/chains").Address;
1715
+ chainId: number;
1716
+ nonce: bigint;
1717
+ signature: import("viem/chains").SignatureEnvelope<bigint, number>;
1718
+ }[] | undefined;
1719
+ calls: readonly import("viem/chains").Call<bigint, `0x${string}`>[];
1720
+ chainId: number;
1721
+ feeToken?: `0x${string}` | undefined;
1722
+ feePayerSignature?: import("viem").Signature | undefined;
1723
+ keyAuthorization?: import("viem/chains").Signed<bigint, number, `0x${string}`> | null | undefined;
1724
+ nonceKey?: bigint | undefined;
1725
+ signature: import("viem/chains").SignatureEnvelope;
1726
+ type: "tempo";
1727
+ validBefore?: number | undefined;
1728
+ validAfter?: number | undefined;
1729
+ gasPrice?: undefined | undefined;
1730
+ maxFeePerBlobGas?: undefined | undefined;
1731
+ maxFeePerGas: bigint;
1732
+ maxPriorityFeePerGas: bigint;
1733
+ to?: undefined;
1734
+ value?: undefined;
1735
+ blobVersionedHashes?: undefined;
1736
+ input?: undefined;
1737
+ }) & {};
1738
+ type: "transaction";
1739
+ };
1740
+ readonly transactionReceipt: {
1741
+ exclude: [] | undefined;
1742
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => {
1743
+ blobGasPrice?: bigint | undefined;
1744
+ blobGasUsed?: bigint | undefined;
1745
+ blockHash: import("viem").Hash;
1746
+ blockNumber: bigint;
1747
+ blockTimestamp?: bigint | undefined;
1748
+ contractAddress: import("viem").Address | null | undefined;
1749
+ cumulativeGasUsed: bigint;
1750
+ effectiveGasPrice: bigint;
1751
+ from: import("viem").Address;
1752
+ gasUsed: bigint;
1753
+ logs: import("viem").Log<bigint, number, false>[];
1754
+ logsBloom: import("viem").Hex;
1755
+ root?: `0x${string}` | undefined;
1756
+ status: "success" | "reverted";
1757
+ to: import("viem").Address | null;
1758
+ transactionHash: import("viem").Hash;
1759
+ transactionIndex: number;
1760
+ type: import("viem/tempo").z_TransactionType;
1761
+ feePayer?: `0x${string}` | undefined;
1762
+ feeToken?: `0x${string}` | undefined;
1763
+ } & {};
1764
+ type: "transactionReceipt";
1765
+ };
1766
+ readonly transactionRequest: {
1767
+ exclude: [] | undefined;
1768
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => ({
1769
+ data?: `0x${string}` | undefined;
1770
+ from?: `0x${string}` | undefined;
1771
+ gas?: `0x${string}` | undefined;
1772
+ nonce?: `0x${string}` | undefined;
1773
+ to?: `0x${string}` | null | undefined;
1774
+ type?: "0x0" | undefined;
1775
+ value?: `0x${string}` | undefined;
1776
+ gasPrice?: `0x${string}` | undefined;
1777
+ maxFeePerBlobGas?: undefined | undefined;
1778
+ maxFeePerGas?: undefined | undefined;
1779
+ maxPriorityFeePerGas?: undefined | undefined;
1780
+ blobs?: undefined;
1781
+ blobVersionedHashes?: undefined;
1782
+ kzg?: undefined;
1783
+ accessList?: undefined;
1784
+ sidecars?: undefined;
1785
+ authorizationList?: undefined;
1786
+ calls?: undefined;
1787
+ capabilities?: undefined;
1788
+ nonceKey?: undefined;
1789
+ keyAuthorization?: undefined;
1790
+ feeToken?: undefined;
1791
+ validAfter?: undefined;
1792
+ signatures?: undefined;
1793
+ validBefore?: undefined;
1794
+ feePayer?: undefined;
1795
+ multisig?: undefined;
1796
+ } | {
1797
+ data?: `0x${string}` | undefined;
1798
+ from?: `0x${string}` | undefined;
1799
+ gas?: `0x${string}` | undefined;
1800
+ nonce?: `0x${string}` | undefined;
1801
+ to?: `0x${string}` | null | undefined;
1802
+ type?: "0x1" | undefined;
1803
+ value?: `0x${string}` | undefined;
1804
+ gasPrice?: `0x${string}` | undefined;
1805
+ maxFeePerBlobGas?: undefined | undefined;
1806
+ maxFeePerGas?: undefined | undefined;
1807
+ maxPriorityFeePerGas?: undefined | undefined;
1808
+ accessList?: import("viem").AccessList | undefined;
1809
+ blobs?: undefined;
1810
+ blobVersionedHashes?: undefined;
1811
+ kzg?: undefined;
1812
+ sidecars?: undefined;
1813
+ authorizationList?: undefined;
1814
+ calls?: undefined;
1815
+ capabilities?: undefined;
1816
+ nonceKey?: undefined;
1817
+ keyAuthorization?: undefined;
1818
+ feeToken?: undefined;
1819
+ validAfter?: undefined;
1820
+ signatures?: undefined;
1821
+ validBefore?: undefined;
1822
+ feePayer?: undefined;
1823
+ multisig?: undefined;
1824
+ } | {
1825
+ data?: `0x${string}` | undefined;
1826
+ from?: `0x${string}` | undefined;
1827
+ gas?: `0x${string}` | undefined;
1828
+ nonce?: `0x${string}` | undefined;
1829
+ to?: `0x${string}` | null | undefined;
1830
+ type?: "0x2" | undefined;
1831
+ value?: `0x${string}` | undefined;
1832
+ gasPrice?: undefined | undefined;
1833
+ maxFeePerBlobGas?: undefined | undefined;
1834
+ maxFeePerGas?: `0x${string}` | undefined;
1835
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1836
+ accessList?: import("viem").AccessList | undefined;
1837
+ blobs?: undefined;
1838
+ blobVersionedHashes?: undefined;
1839
+ kzg?: undefined;
1840
+ sidecars?: undefined;
1841
+ authorizationList?: undefined;
1842
+ calls?: undefined;
1843
+ capabilities?: undefined;
1844
+ nonceKey?: undefined;
1845
+ keyAuthorization?: undefined;
1846
+ feeToken?: undefined;
1847
+ validAfter?: undefined;
1848
+ signatures?: undefined;
1849
+ validBefore?: undefined;
1850
+ feePayer?: undefined;
1851
+ multisig?: undefined;
1852
+ } | {
1853
+ type?: "0x3" | undefined;
1854
+ data?: `0x${string}` | undefined;
1855
+ from?: `0x${string}` | undefined;
1856
+ gas?: `0x${string}` | undefined;
1857
+ nonce?: `0x${string}` | undefined;
1858
+ value?: `0x${string}` | undefined;
1859
+ to: `0x${string}` | null;
1860
+ gasPrice?: undefined | undefined;
1861
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1862
+ maxFeePerGas?: `0x${string}` | undefined;
1863
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1864
+ accessList?: import("viem").AccessList | undefined;
1865
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1866
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
1867
+ blobVersionedHashes: readonly import("viem").Hex[];
1868
+ kzg?: undefined;
1869
+ authorizationList?: undefined;
1870
+ calls?: undefined;
1871
+ capabilities?: undefined;
1872
+ nonceKey?: undefined;
1873
+ keyAuthorization?: undefined;
1874
+ feeToken?: undefined;
1875
+ validAfter?: undefined;
1876
+ signatures?: undefined;
1877
+ validBefore?: undefined;
1878
+ feePayer?: undefined;
1879
+ multisig?: undefined;
1880
+ } | {
1881
+ type?: "0x3" | undefined;
1882
+ data?: `0x${string}` | undefined;
1883
+ from?: `0x${string}` | undefined;
1884
+ gas?: `0x${string}` | undefined;
1885
+ nonce?: `0x${string}` | undefined;
1886
+ value?: `0x${string}` | undefined;
1887
+ to: `0x${string}` | null;
1888
+ gasPrice?: undefined | undefined;
1889
+ maxFeePerBlobGas?: `0x${string}` | undefined;
1890
+ maxFeePerGas?: `0x${string}` | undefined;
1891
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1892
+ accessList?: import("viem").AccessList | undefined;
1893
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
1894
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
1895
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
1896
+ kzg?: import("viem").Kzg | undefined;
1897
+ authorizationList?: undefined;
1898
+ calls?: undefined;
1899
+ capabilities?: undefined;
1900
+ nonceKey?: undefined;
1901
+ keyAuthorization?: undefined;
1902
+ feeToken?: undefined;
1903
+ validAfter?: undefined;
1904
+ signatures?: undefined;
1905
+ validBefore?: undefined;
1906
+ feePayer?: undefined;
1907
+ multisig?: undefined;
1908
+ } | {
1909
+ type?: "0x4" | undefined;
1910
+ gasPrice?: undefined | undefined;
1911
+ maxFeePerBlobGas?: undefined | undefined;
1912
+ maxFeePerGas?: `0x${string}` | undefined;
1913
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1914
+ to?: `0x${string}` | null | undefined;
1915
+ data?: `0x${string}` | undefined;
1916
+ from?: `0x${string}` | undefined;
1917
+ gas?: `0x${string}` | undefined;
1918
+ nonce?: `0x${string}` | undefined;
1919
+ value?: `0x${string}` | undefined;
1920
+ accessList?: import("viem").AccessList | undefined;
1921
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
1922
+ blobs?: undefined;
1923
+ blobVersionedHashes?: undefined;
1924
+ kzg?: undefined;
1925
+ sidecars?: undefined;
1926
+ calls?: undefined;
1927
+ capabilities?: undefined;
1928
+ nonceKey?: undefined;
1929
+ keyAuthorization?: undefined;
1930
+ feeToken?: undefined;
1931
+ validAfter?: undefined;
1932
+ signatures?: undefined;
1933
+ validBefore?: undefined;
1934
+ feePayer?: undefined;
1935
+ multisig?: undefined;
1936
+ } | {
1937
+ data?: `0x${string}` | undefined;
1938
+ from?: `0x${string}` | undefined;
1939
+ gas?: `0x${string}` | undefined;
1940
+ nonce?: `0x${string}` | undefined;
1941
+ to?: `0x${string}` | null | undefined;
1942
+ type?: "0x76" | undefined;
1943
+ value?: `0x${string}` | undefined;
1944
+ gasPrice?: undefined | undefined;
1945
+ maxFeePerBlobGas?: undefined | undefined;
1946
+ maxFeePerGas?: `0x${string}` | undefined;
1947
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1948
+ accessList?: import("viem").AccessList | undefined;
1949
+ calls?: readonly import("viem/chains").Call<`0x${string}`, import("viem/chains").Address>[] | undefined;
1950
+ capabilities?: {
1951
+ [x: string]: any;
1952
+ } | undefined;
1953
+ feePayer?: true | import("viem").Account | undefined;
1954
+ feeToken?: bigint | import("viem/chains").Address | undefined;
1955
+ keyAuthorization?: import("viem/chains").Signed<`0x${string}`, `0x${string}`, `0x${string}`> | undefined;
1956
+ multisig?: {
1957
+ salt?: `0x${string}` | undefined;
1958
+ threshold: `0x${string}`;
1959
+ owners: readonly import("ox/tempo/MultisigConfig").Owner<`0x${string}`>[];
1960
+ } | undefined;
1961
+ nonceKey?: `0x${string}` | "expiring" | undefined;
1962
+ signatures?: readonly `0x${string}`[] | undefined;
1963
+ validBefore?: `0x${string}` | undefined;
1964
+ validAfter?: `0x${string}` | undefined;
1965
+ blobs?: undefined;
1966
+ blobVersionedHashes?: undefined;
1967
+ kzg?: undefined;
1968
+ sidecars?: undefined;
1969
+ authorizationList?: undefined;
1970
+ }) & {};
1971
+ type: "transactionRequest";
1972
+ };
1973
+ };
1974
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1975
+ client: import("viem").Client;
1976
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1977
+ }) => 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>>>, {
1978
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1979
+ }];
1980
+ readonly serializers: {
1981
+ readonly transaction: import("viem").SerializeTransactionFn;
1982
+ };
1983
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1984
+ }>, extended_1>;
1985
+ })[];
1986
+ /** Tempo chain ids keyed by network. */
1987
+ export declare const chainId: {
1988
+ readonly mainnet: 4217;
1989
+ readonly testnet: 42431;
1990
+ };
1991
+ /** Default Tempo chain id. */
1992
+ export declare const defaultChainId: 4217;
1993
+ /** Whether a chain id is Tempo mainnet. */
1994
+ export declare function isMainnet(id: number): boolean;
1995
+ /** Default Tempo RPC URLs keyed by chain id. */
1996
+ export declare const url: Record<number, string>;
1997
+ /** Tempo chain id. */
1998
+ export type ChainId = z.output<typeof Schema.ChainId>;
1999
+ /** Tempo chain metadata with a configurable chain id. */
2000
+ export type Chain = Omit<typeof tempoMainnet, 'id'> & {
2001
+ id: ChainId;
2002
+ };
2003
+ /** Gets a Tempo viem client for a chain id. */
2004
+ export type GetClient = (chainId?: ChainId) => getClient.ReturnType;
2005
+ /**
2006
+ * Resolves an RPC URL for a Tempo chain id. May return `undefined` to fall back
2007
+ * to the built-in {@link url} map (e.g. for a chain the resolver doesn't serve).
2008
+ */
2009
+ export type UrlResolver = (chainId: ChainId) => string | undefined;
2010
+ /**
2011
+ * Resolves the effective RPC config for a single request.
2012
+ *
2013
+ * Accepts either a static config object or a per-request resolver function. The
2014
+ * resolver receives a {@link resolve.Context} (`chainId` plus the request
2015
+ * `principal`), so callers can route traffic per caller — e.g. send anonymous
2016
+ * (`principal.type === 'public'`) traffic to a separate, no-auth upstream. A
2017
+ * `null` principal denotes a trusted, non-request caller (the scheduled
2018
+ * webhook poller). A missing `url` falls back to the built-in public host map
2019
+ * ({@link url}); a missing `basicAuth` means no Basic auth is sent.
2020
+ *
2021
+ * Memoization is keyed on the resolved output (see `App.create` and
2022
+ * {@link Tidx.createGetClient}), not the context, so a resolver may branch on
2023
+ * any principal field without unbounded client cardinality: callers that
2024
+ * resolve to the same upstream share a client. Pass the result to
2025
+ * {@link getClient} (or let `getClient` resolve for you) to build a client.
2026
+ */
2027
+ export declare function resolve(rpc: getClient.Rpc | undefined, context: resolve.Context): resolve.Resolved;
2028
+ export declare namespace resolve {
2029
+ /** RPC resolution context. */
2030
+ type Context = {
2031
+ /** Tempo chain id. */
2032
+ chainId: ChainId;
2033
+ /**
2034
+ * Request principal, or `null` for a trusted non-request caller (the
2035
+ * scheduled webhook poller). Anonymous and MPP-paid public requests carry a
2036
+ * `type: 'public'` principal; authenticated requests a `type: 'api_key'` one.
2037
+ */
2038
+ principal: Auth.Principal | null;
2039
+ };
2040
+ /** Resolved RPC config for a single request. */
2041
+ type Resolved = {
2042
+ /** Basic auth credentials, or undefined to send no Basic auth. */
2043
+ basicAuth?: string | undefined;
2044
+ /**
2045
+ * Resolved RPC URL, or `undefined` when neither a configured `rpc` nor the
2046
+ * built-in {@link url} map covers the chain (e.g. an unconfigured localnet).
2047
+ * A `undefined` URL falls through to viem's chain default transport.
2048
+ */
2049
+ url: string | undefined;
2050
+ };
2051
+ }
2052
+ export declare function getClient(options: getClient.Options): getClient.ReturnType;
2053
+ export declare namespace getClient {
2054
+ /** Tempo viem client with public and Tempo action helpers. */
2055
+ type ReturnType = core_Client<HttpTransport, Chain, undefined, undefined, Omit<PublicActions<HttpTransport, Chain, undefined>, 'token'> & TempoActions<Chain, undefined>>;
2056
+ /** Options for getting a Tempo viem client. */
2057
+ type Options = {
2058
+ /** Tempo chain id. */
2059
+ chainId?: ChainId | undefined;
2060
+ /** Request principal, or `null`/omitted for a trusted non-request caller. */
2061
+ principal?: Auth.Principal | null | undefined;
2062
+ /** Tempo RPC options. */
2063
+ rpc?: Rpc | undefined;
2064
+ };
2065
+ /**
2066
+ * Tempo RPC options: either a static config, or a per-request resolver
2067
+ * function that receives a {@link resolve.Context} and returns the config to
2068
+ * use (e.g. routing anonymous callers to a public, no-auth RPC).
2069
+ */
2070
+ type Rpc = {
2071
+ /** Basic auth credentials for RPC requests. */
2072
+ basicAuth?: string | undefined;
2073
+ /** Resolves the RPC URL for a Tempo chain id. */
2074
+ url?: UrlResolver | undefined;
2075
+ } | ((context: resolve.Context) => {
2076
+ /** Basic auth credentials for RPC requests, or undefined for none. */
2077
+ basicAuth?: string | undefined;
2078
+ /** RPC URL to use; falls back to the built-in public host when omitted. */
2079
+ url?: string | undefined;
2080
+ });
2081
+ }
2082
+ //# sourceMappingURL=Viem.d.ts.map