viem 2.46.2 → 2.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/_cjs/actions/index.js +5 -3
  3. package/_cjs/actions/index.js.map +1 -1
  4. package/_cjs/actions/public/getDelegation.js +21 -0
  5. package/_cjs/actions/public/getDelegation.js.map +1 -0
  6. package/_cjs/actions/public/simulateCalls.js +1 -1
  7. package/_cjs/actions/public/simulateCalls.js.map +1 -1
  8. package/_cjs/actions/wallet/prepareTransactionRequest.js +12 -4
  9. package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
  10. package/_cjs/actions/wallet/sendRawTransactionSync.js +1 -2
  11. package/_cjs/actions/wallet/sendRawTransactionSync.js.map +1 -1
  12. package/_cjs/chains/definitions/krown.js +26 -0
  13. package/_cjs/chains/definitions/krown.js.map +1 -0
  14. package/_cjs/chains/definitions/polygon.js +1 -1
  15. package/_cjs/chains/definitions/polygon.js.map +1 -1
  16. package/_cjs/chains/definitions/saigon.js +3 -3
  17. package/_cjs/chains/definitions/saigon.js.map +1 -1
  18. package/_cjs/chains/definitions/sei.js +3 -3
  19. package/_cjs/chains/definitions/sei.js.map +1 -1
  20. package/_cjs/chains/definitions/seiTestnet.js +3 -2
  21. package/_cjs/chains/definitions/seiTestnet.js.map +1 -1
  22. package/_cjs/chains/index.js +7 -7
  23. package/_cjs/chains/index.js.map +1 -1
  24. package/_cjs/clients/decorators/public.js +2 -0
  25. package/_cjs/clients/decorators/public.js.map +1 -1
  26. package/_cjs/errors/version.js +1 -1
  27. package/_cjs/index.js.map +1 -1
  28. package/_cjs/tempo/Account.js +28 -15
  29. package/_cjs/tempo/Account.js.map +1 -1
  30. package/_cjs/tempo/Addresses.js +2 -1
  31. package/_cjs/tempo/Addresses.js.map +1 -1
  32. package/_cjs/tempo/Decorator.js +11 -0
  33. package/_cjs/tempo/Decorator.js.map +1 -1
  34. package/_cjs/tempo/actions/accessKey.js +251 -0
  35. package/_cjs/tempo/actions/accessKey.js.map +1 -0
  36. package/_cjs/tempo/actions/index.js +2 -1
  37. package/_cjs/tempo/actions/index.js.map +1 -1
  38. package/_cjs/tempo/index.js +2 -1
  39. package/_cjs/tempo/index.js.map +1 -1
  40. package/_cjs/utils/abi/parseEventLogs.js +8 -6
  41. package/_cjs/utils/abi/parseEventLogs.js.map +1 -1
  42. package/_esm/actions/index.js +1 -0
  43. package/_esm/actions/index.js.map +1 -1
  44. package/_esm/actions/public/getDelegation.js +43 -0
  45. package/_esm/actions/public/getDelegation.js.map +1 -0
  46. package/_esm/actions/public/simulateCalls.js +1 -1
  47. package/_esm/actions/public/simulateCalls.js.map +1 -1
  48. package/_esm/actions/wallet/prepareTransactionRequest.js +12 -4
  49. package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
  50. package/_esm/actions/wallet/sendRawTransactionSync.js +1 -2
  51. package/_esm/actions/wallet/sendRawTransactionSync.js.map +1 -1
  52. package/_esm/chains/definitions/krown.js +23 -0
  53. package/_esm/chains/definitions/krown.js.map +1 -0
  54. package/_esm/chains/definitions/polygon.js +1 -1
  55. package/_esm/chains/definitions/polygon.js.map +1 -1
  56. package/_esm/chains/definitions/saigon.js +3 -3
  57. package/_esm/chains/definitions/saigon.js.map +1 -1
  58. package/_esm/chains/definitions/sei.js +3 -3
  59. package/_esm/chains/definitions/sei.js.map +1 -1
  60. package/_esm/chains/definitions/seiTestnet.js +3 -2
  61. package/_esm/chains/definitions/seiTestnet.js.map +1 -1
  62. package/_esm/chains/index.js +1 -1
  63. package/_esm/chains/index.js.map +1 -1
  64. package/_esm/clients/decorators/public.js +2 -0
  65. package/_esm/clients/decorators/public.js.map +1 -1
  66. package/_esm/errors/version.js +1 -1
  67. package/_esm/index.js.map +1 -1
  68. package/_esm/tempo/Account.js +28 -16
  69. package/_esm/tempo/Account.js.map +1 -1
  70. package/_esm/tempo/Addresses.js +1 -0
  71. package/_esm/tempo/Addresses.js.map +1 -1
  72. package/_esm/tempo/Decorator.js +11 -0
  73. package/_esm/tempo/Decorator.js.map +1 -1
  74. package/_esm/tempo/actions/accessKey.js +562 -0
  75. package/_esm/tempo/actions/accessKey.js.map +1 -0
  76. package/_esm/tempo/actions/index.js +1 -0
  77. package/_esm/tempo/actions/index.js.map +1 -1
  78. package/_esm/tempo/index.js +1 -1
  79. package/_esm/tempo/index.js.map +1 -1
  80. package/_esm/utils/abi/parseEventLogs.js +11 -6
  81. package/_esm/utils/abi/parseEventLogs.js.map +1 -1
  82. package/_types/actions/index.d.ts +1 -0
  83. package/_types/actions/index.d.ts.map +1 -1
  84. package/_types/actions/public/getDelegation.d.ts +46 -0
  85. package/_types/actions/public/getDelegation.d.ts.map +1 -0
  86. package/_types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -1
  87. package/_types/actions/wallet/sendRawTransactionSync.d.ts +1 -1
  88. package/_types/actions/wallet/sendRawTransactionSync.d.ts.map +1 -1
  89. package/_types/chains/definitions/abstract.d.ts +1 -0
  90. package/_types/chains/definitions/abstract.d.ts.map +1 -1
  91. package/_types/chains/definitions/abstractTestnet.d.ts +1 -0
  92. package/_types/chains/definitions/abstractTestnet.d.ts.map +1 -1
  93. package/_types/chains/definitions/ancient8.d.ts +1 -0
  94. package/_types/chains/definitions/ancient8.d.ts.map +1 -1
  95. package/_types/chains/definitions/ancient8Sepolia.d.ts +1 -0
  96. package/_types/chains/definitions/ancient8Sepolia.d.ts.map +1 -1
  97. package/_types/chains/definitions/base.d.ts +2 -0
  98. package/_types/chains/definitions/base.d.ts.map +1 -1
  99. package/_types/chains/definitions/baseGoerli.d.ts +1 -0
  100. package/_types/chains/definitions/baseGoerli.d.ts.map +1 -1
  101. package/_types/chains/definitions/baseSepolia.d.ts +2 -0
  102. package/_types/chains/definitions/baseSepolia.d.ts.map +1 -1
  103. package/_types/chains/definitions/blast.d.ts +1 -0
  104. package/_types/chains/definitions/blast.d.ts.map +1 -1
  105. package/_types/chains/definitions/bob.d.ts +1 -0
  106. package/_types/chains/definitions/bob.d.ts.map +1 -1
  107. package/_types/chains/definitions/bobSepolia.d.ts +1 -0
  108. package/_types/chains/definitions/bobSepolia.d.ts.map +1 -1
  109. package/_types/chains/definitions/codex.d.ts +1 -0
  110. package/_types/chains/definitions/codex.d.ts.map +1 -1
  111. package/_types/chains/definitions/codexTestnet.d.ts +1 -0
  112. package/_types/chains/definitions/codexTestnet.d.ts.map +1 -1
  113. package/_types/chains/definitions/dchain.d.ts +1 -0
  114. package/_types/chains/definitions/dchain.d.ts.map +1 -1
  115. package/_types/chains/definitions/dchainTestnet.d.ts +1 -0
  116. package/_types/chains/definitions/dchainTestnet.d.ts.map +1 -1
  117. package/_types/chains/definitions/elysiumTestnet.d.ts +1 -0
  118. package/_types/chains/definitions/elysiumTestnet.d.ts.map +1 -1
  119. package/_types/chains/definitions/fraxtal.d.ts +1 -0
  120. package/_types/chains/definitions/fraxtal.d.ts.map +1 -1
  121. package/_types/chains/definitions/fraxtalTestnet.d.ts +1 -0
  122. package/_types/chains/definitions/fraxtalTestnet.d.ts.map +1 -1
  123. package/_types/chains/definitions/funkiMainnet.d.ts +1 -0
  124. package/_types/chains/definitions/funkiMainnet.d.ts.map +1 -1
  125. package/_types/chains/definitions/funkiSepolia.d.ts +1 -0
  126. package/_types/chains/definitions/funkiSepolia.d.ts.map +1 -1
  127. package/_types/chains/definitions/garnet.d.ts +1 -0
  128. package/_types/chains/definitions/garnet.d.ts.map +1 -1
  129. package/_types/chains/definitions/giwaSepolia.d.ts +2 -0
  130. package/_types/chains/definitions/giwaSepolia.d.ts.map +1 -1
  131. package/_types/chains/definitions/ink.d.ts +1 -0
  132. package/_types/chains/definitions/ink.d.ts.map +1 -1
  133. package/_types/chains/definitions/inkSepolia.d.ts +1 -0
  134. package/_types/chains/definitions/inkSepolia.d.ts.map +1 -1
  135. package/_types/chains/definitions/{seiDevnet.d.ts → krown.d.ts} +10 -10
  136. package/_types/chains/definitions/krown.d.ts.map +1 -0
  137. package/_types/chains/definitions/lisk.d.ts +1 -0
  138. package/_types/chains/definitions/lisk.d.ts.map +1 -1
  139. package/_types/chains/definitions/liskSepolia.d.ts +1 -0
  140. package/_types/chains/definitions/liskSepolia.d.ts.map +1 -1
  141. package/_types/chains/definitions/metalL2.d.ts +1 -0
  142. package/_types/chains/definitions/metalL2.d.ts.map +1 -1
  143. package/_types/chains/definitions/mode.d.ts +1 -0
  144. package/_types/chains/definitions/mode.d.ts.map +1 -1
  145. package/_types/chains/definitions/modeTestnet.d.ts +1 -0
  146. package/_types/chains/definitions/modeTestnet.d.ts.map +1 -1
  147. package/_types/chains/definitions/optimism.d.ts +1 -0
  148. package/_types/chains/definitions/optimism.d.ts.map +1 -1
  149. package/_types/chains/definitions/optimismGoerli.d.ts +1 -0
  150. package/_types/chains/definitions/optimismGoerli.d.ts.map +1 -1
  151. package/_types/chains/definitions/optimismSepolia.d.ts +1 -0
  152. package/_types/chains/definitions/optimismSepolia.d.ts.map +1 -1
  153. package/_types/chains/definitions/pgn.d.ts +1 -0
  154. package/_types/chains/definitions/pgn.d.ts.map +1 -1
  155. package/_types/chains/definitions/pgnTestnet.d.ts +1 -0
  156. package/_types/chains/definitions/pgnTestnet.d.ts.map +1 -1
  157. package/_types/chains/definitions/playfiAlbireo.d.ts +1 -0
  158. package/_types/chains/definitions/playfiAlbireo.d.ts.map +1 -1
  159. package/_types/chains/definitions/polygon.d.ts +1 -1
  160. package/_types/chains/definitions/pyrope.d.ts +1 -0
  161. package/_types/chains/definitions/pyrope.d.ts.map +1 -1
  162. package/_types/chains/definitions/redstone.d.ts +1 -0
  163. package/_types/chains/definitions/redstone.d.ts.map +1 -1
  164. package/_types/chains/definitions/rss3.d.ts +1 -0
  165. package/_types/chains/definitions/rss3.d.ts.map +1 -1
  166. package/_types/chains/definitions/rss3Sepolia.d.ts +1 -0
  167. package/_types/chains/definitions/rss3Sepolia.d.ts.map +1 -1
  168. package/_types/chains/definitions/saigon.d.ts +3 -3
  169. package/_types/chains/definitions/sei.d.ts +3 -3
  170. package/_types/chains/definitions/seiTestnet.d.ts +3 -2
  171. package/_types/chains/definitions/seiTestnet.d.ts.map +1 -1
  172. package/_types/chains/definitions/shape.d.ts +1 -0
  173. package/_types/chains/definitions/shape.d.ts.map +1 -1
  174. package/_types/chains/definitions/shapeSepolia.d.ts +1 -0
  175. package/_types/chains/definitions/shapeSepolia.d.ts.map +1 -1
  176. package/_types/chains/definitions/snax.d.ts +1 -0
  177. package/_types/chains/definitions/snax.d.ts.map +1 -1
  178. package/_types/chains/definitions/snaxTestnet.d.ts +1 -0
  179. package/_types/chains/definitions/snaxTestnet.d.ts.map +1 -1
  180. package/_types/chains/definitions/soneium.d.ts +1 -0
  181. package/_types/chains/definitions/soneium.d.ts.map +1 -1
  182. package/_types/chains/definitions/soneiumMinato.d.ts +1 -0
  183. package/_types/chains/definitions/soneiumMinato.d.ts.map +1 -1
  184. package/_types/chains/definitions/sophon.d.ts +1 -0
  185. package/_types/chains/definitions/sophon.d.ts.map +1 -1
  186. package/_types/chains/definitions/sophonTestnet.d.ts +1 -0
  187. package/_types/chains/definitions/sophonTestnet.d.ts.map +1 -1
  188. package/_types/chains/definitions/superseed.d.ts +1 -0
  189. package/_types/chains/definitions/superseed.d.ts.map +1 -1
  190. package/_types/chains/definitions/superseedSepolia.d.ts +1 -0
  191. package/_types/chains/definitions/superseedSepolia.d.ts.map +1 -1
  192. package/_types/chains/definitions/swellchain.d.ts +1 -0
  193. package/_types/chains/definitions/swellchain.d.ts.map +1 -1
  194. package/_types/chains/definitions/swellchainTestnet.d.ts +1 -0
  195. package/_types/chains/definitions/swellchainTestnet.d.ts.map +1 -1
  196. package/_types/chains/definitions/tempo.d.ts +2 -0
  197. package/_types/chains/definitions/tempo.d.ts.map +1 -1
  198. package/_types/chains/definitions/tempoAndantino.d.ts +2 -0
  199. package/_types/chains/definitions/tempoAndantino.d.ts.map +1 -1
  200. package/_types/chains/definitions/tempoDevnet.d.ts +2 -0
  201. package/_types/chains/definitions/tempoDevnet.d.ts.map +1 -1
  202. package/_types/chains/definitions/tempoLocalnet.d.ts +2 -0
  203. package/_types/chains/definitions/tempoLocalnet.d.ts.map +1 -1
  204. package/_types/chains/definitions/tempoModerato.d.ts +2 -0
  205. package/_types/chains/definitions/tempoModerato.d.ts.map +1 -1
  206. package/_types/chains/definitions/treasure.d.ts +1 -0
  207. package/_types/chains/definitions/treasure.d.ts.map +1 -1
  208. package/_types/chains/definitions/treasureTopaz.d.ts +1 -0
  209. package/_types/chains/definitions/treasureTopaz.d.ts.map +1 -1
  210. package/_types/chains/definitions/unichain.d.ts +1 -0
  211. package/_types/chains/definitions/unichain.d.ts.map +1 -1
  212. package/_types/chains/definitions/unichainSepolia.d.ts +1 -0
  213. package/_types/chains/definitions/unichainSepolia.d.ts.map +1 -1
  214. package/_types/chains/definitions/worldchain.d.ts +1 -0
  215. package/_types/chains/definitions/worldchain.d.ts.map +1 -1
  216. package/_types/chains/definitions/worldchainSepolia.d.ts +1 -0
  217. package/_types/chains/definitions/worldchainSepolia.d.ts.map +1 -1
  218. package/_types/chains/definitions/zircuit.d.ts +1 -0
  219. package/_types/chains/definitions/zircuit.d.ts.map +1 -1
  220. package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts +1 -0
  221. package/_types/chains/definitions/zircuitGarfieldTestnet.d.ts.map +1 -1
  222. package/_types/chains/definitions/zircuitTestnet.d.ts +1 -0
  223. package/_types/chains/definitions/zircuitTestnet.d.ts.map +1 -1
  224. package/_types/chains/definitions/zksync.d.ts +1 -0
  225. package/_types/chains/definitions/zksync.d.ts.map +1 -1
  226. package/_types/chains/definitions/zksyncInMemoryNode.d.ts +1 -0
  227. package/_types/chains/definitions/zksyncInMemoryNode.d.ts.map +1 -1
  228. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +1 -0
  229. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts.map +1 -1
  230. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +1 -0
  231. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts.map +1 -1
  232. package/_types/chains/definitions/zksyncLocalNode.d.ts +1 -0
  233. package/_types/chains/definitions/zksyncLocalNode.d.ts.map +1 -1
  234. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +1 -0
  235. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts.map +1 -1
  236. package/_types/chains/definitions/zora.d.ts +1 -0
  237. package/_types/chains/definitions/zora.d.ts.map +1 -1
  238. package/_types/chains/definitions/zoraSepolia.d.ts +1 -0
  239. package/_types/chains/definitions/zoraSepolia.d.ts.map +1 -1
  240. package/_types/chains/definitions/zoraTestnet.d.ts +1 -0
  241. package/_types/chains/definitions/zoraTestnet.d.ts.map +1 -1
  242. package/_types/chains/index.d.ts +1 -1
  243. package/_types/chains/index.d.ts.map +1 -1
  244. package/_types/clients/decorators/public.d.ts +22 -0
  245. package/_types/clients/decorators/public.d.ts.map +1 -1
  246. package/_types/errors/version.d.ts +1 -1
  247. package/_types/index.d.ts +1 -0
  248. package/_types/index.d.ts.map +1 -1
  249. package/_types/op-stack/chainConfig.d.ts +1 -0
  250. package/_types/op-stack/chainConfig.d.ts.map +1 -1
  251. package/_types/op-stack/formatters.d.ts +1 -0
  252. package/_types/op-stack/formatters.d.ts.map +1 -1
  253. package/_types/tempo/Account.d.ts +20 -17
  254. package/_types/tempo/Account.d.ts.map +1 -1
  255. package/_types/tempo/Addresses.d.ts +1 -0
  256. package/_types/tempo/Addresses.d.ts.map +1 -1
  257. package/_types/tempo/Decorator.d.ts +340 -122
  258. package/_types/tempo/Decorator.d.ts.map +1 -1
  259. package/_types/tempo/WebAuthnP256.d.ts +2 -2
  260. package/_types/tempo/WebAuthnP256.d.ts.map +1 -1
  261. package/_types/tempo/actions/accessKey.d.ts +1174 -0
  262. package/_types/tempo/actions/accessKey.d.ts.map +1 -0
  263. package/_types/tempo/actions/index.d.ts +1 -0
  264. package/_types/tempo/actions/index.d.ts.map +1 -1
  265. package/_types/tempo/chainConfig.d.ts +1 -0
  266. package/_types/tempo/chainConfig.d.ts.map +1 -1
  267. package/_types/tempo/index.d.ts +1 -1
  268. package/_types/tempo/index.d.ts.map +1 -1
  269. package/_types/types/eip1193.d.ts +2 -2
  270. package/_types/types/eip1193.d.ts.map +1 -1
  271. package/_types/types/transaction.d.ts +2 -0
  272. package/_types/types/transaction.d.ts.map +1 -1
  273. package/_types/utils/abi/parseEventLogs.d.ts.map +1 -1
  274. package/_types/zksync/chainConfig.d.ts +1 -0
  275. package/_types/zksync/chainConfig.d.ts.map +1 -1
  276. package/_types/zksync/formatters.d.ts +1 -0
  277. package/_types/zksync/formatters.d.ts.map +1 -1
  278. package/actions/index.ts +6 -0
  279. package/actions/public/getDelegation.ts +80 -0
  280. package/actions/public/simulateCalls.ts +1 -1
  281. package/actions/wallet/prepareTransactionRequest.ts +12 -4
  282. package/actions/wallet/sendRawTransactionSync.ts +2 -5
  283. package/chains/definitions/krown.ts +23 -0
  284. package/chains/definitions/polygon.ts +1 -1
  285. package/chains/definitions/saigon.ts +3 -3
  286. package/chains/definitions/sei.ts +3 -3
  287. package/chains/definitions/seiTestnet.ts +3 -2
  288. package/chains/index.ts +1 -1
  289. package/clients/decorators/public.ts +29 -0
  290. package/errors/version.ts +1 -1
  291. package/index.ts +5 -0
  292. package/package.json +2 -2
  293. package/tempo/Account.ts +58 -39
  294. package/tempo/Addresses.ts +1 -0
  295. package/tempo/Decorator.ts +373 -122
  296. package/tempo/WebAuthnP256.ts +5 -2
  297. package/tempo/actions/accessKey.ts +857 -0
  298. package/tempo/actions/index.ts +1 -0
  299. package/tempo/index.ts +1 -1
  300. package/types/eip1193.ts +2 -2
  301. package/types/transaction.ts +2 -0
  302. package/utils/abi/parseEventLogs.ts +13 -6
  303. package/_cjs/chains/definitions/seiDevnet.js +0 -22
  304. package/_cjs/chains/definitions/seiDevnet.js.map +0 -1
  305. package/_esm/chains/definitions/seiDevnet.js +0 -19
  306. package/_esm/chains/definitions/seiDevnet.js.map +0 -1
  307. package/_types/chains/definitions/seiDevnet.d.ts.map +0 -1
  308. package/chains/definitions/seiDevnet.ts +0 -19
@@ -2,6 +2,7 @@ import type { Account } from '../accounts/types.js';
2
2
  import type { Client } from '../clients/createClient.js';
3
3
  import type { Transport } from '../clients/transports/createTransport.js';
4
4
  import type { Chain } from '../types/chain.js';
5
+ import * as accessKeyActions from './actions/accessKey.js';
5
6
  import * as ammActions from './actions/amm.js';
6
7
  import * as dexActions from './actions/dex.js';
7
8
  import * as faucetActions from './actions/faucet.js';
@@ -12,6 +13,223 @@ import * as rewardActions from './actions/reward.js';
12
13
  import * as tokenActions from './actions/token.js';
13
14
  import * as validatorActions from './actions/validator.js';
14
15
  export type Decorator<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = {
16
+ accessKey: {
17
+ /**
18
+ * Authorizes an access key by signing a key authorization and sending a transaction.
19
+ *
20
+ * @example
21
+ * ```ts
22
+ * import { createClient, http } from 'viem'
23
+ * import { tempo } from 'viem/chains'
24
+ * import { tempoActions, Account } from 'viem/tempo'
25
+ * import { generatePrivateKey } from 'viem/accounts'
26
+ *
27
+ * const account = Account.from({ privateKey: '0x...' })
28
+ * const client = createClient({
29
+ * account,
30
+ * chain: tempo,
31
+ * transport: http(),
32
+ * }).extend(tempoActions())
33
+ *
34
+ * const accessKey = Account.fromP256(generatePrivateKey(), {
35
+ * access: account,
36
+ * })
37
+ *
38
+ * const hash = await client.accessKey.authorize({
39
+ * accessKey,
40
+ * expiry: Math.floor((Date.now() + 30_000) / 1000),
41
+ * })
42
+ * ```
43
+ *
44
+ * @param parameters - Parameters.
45
+ * @returns The transaction hash.
46
+ */
47
+ authorize: (parameters: accessKeyActions.authorize.Parameters<chain, account>) => Promise<accessKeyActions.authorize.ReturnValue>;
48
+ /**
49
+ * Authorizes an access key and waits for the transaction receipt.
50
+ *
51
+ * @example
52
+ * ```ts
53
+ * import { createClient, http } from 'viem'
54
+ * import { tempo } from 'viem/chains'
55
+ * import { tempoActions, Account } from 'viem/tempo'
56
+ * import { generatePrivateKey } from 'viem/accounts'
57
+ *
58
+ * const account = Account.from({ privateKey: '0x...' })
59
+ * const client = createClient({
60
+ * account,
61
+ * chain: tempo,
62
+ * transport: http(),
63
+ * }).extend(tempoActions())
64
+ *
65
+ * const accessKey = Account.fromP256(generatePrivateKey(), {
66
+ * access: account,
67
+ * })
68
+ *
69
+ * const { receipt, ...result } = await client.accessKey.authorizeSync({
70
+ * accessKey,
71
+ * expiry: Math.floor((Date.now() + 30_000) / 1000),
72
+ * })
73
+ * ```
74
+ *
75
+ * @param parameters - Parameters.
76
+ * @returns The transaction receipt and event data.
77
+ */
78
+ authorizeSync: (parameters: accessKeyActions.authorizeSync.Parameters<chain, account>) => Promise<accessKeyActions.authorizeSync.ReturnValue>;
79
+ /**
80
+ * Gets access key information.
81
+ *
82
+ * @example
83
+ * ```ts
84
+ * import { createClient, http } from 'viem'
85
+ * import { tempo } from 'viem/chains'
86
+ * import { tempoActions } from 'viem/tempo'
87
+ *
88
+ * const client = createClient({
89
+ * chain: tempo,
90
+ * transport: http(),
91
+ * }).extend(tempoActions())
92
+ *
93
+ * const key = await client.accessKey.getMetadata({
94
+ * account: '0x...',
95
+ * accessKey: '0x...',
96
+ * })
97
+ * ```
98
+ *
99
+ * @param parameters - Parameters.
100
+ * @returns The key information.
101
+ */
102
+ getMetadata: (parameters: accessKeyActions.getMetadata.Parameters<account>) => Promise<accessKeyActions.getMetadata.ReturnValue>;
103
+ /**
104
+ * Gets the remaining spending limit for a key-token pair.
105
+ *
106
+ * @example
107
+ * ```ts
108
+ * import { createClient, http } from 'viem'
109
+ * import { tempo } from 'viem/chains'
110
+ * import { tempoActions } from 'viem/tempo'
111
+ *
112
+ * const client = createClient({
113
+ * chain: tempo,
114
+ * transport: http(),
115
+ * }).extend(tempoActions())
116
+ *
117
+ * const remaining = await client.accessKey.getRemainingLimit({
118
+ * account: '0x...',
119
+ * accessKey: '0x...',
120
+ * token: '0x...',
121
+ * })
122
+ * ```
123
+ *
124
+ * @param parameters - Parameters.
125
+ * @returns The remaining spending amount.
126
+ */
127
+ getRemainingLimit: (parameters: accessKeyActions.getRemainingLimit.Parameters<account>) => Promise<accessKeyActions.getRemainingLimit.ReturnValue>;
128
+ /**
129
+ * Revokes an authorized access key.
130
+ *
131
+ * @example
132
+ * ```ts
133
+ * import { createClient, http } from 'viem'
134
+ * import { privateKeyToAccount } from 'viem/accounts'
135
+ * import { tempo } from 'viem/chains'
136
+ * import { tempoActions } from 'viem/tempo'
137
+ *
138
+ * const client = createClient({
139
+ * account: privateKeyToAccount('0x...'),
140
+ * chain: tempo,
141
+ * transport: http(),
142
+ * }).extend(tempoActions())
143
+ *
144
+ * const hash = await client.accessKey.revoke({
145
+ * accessKey: '0x...',
146
+ * })
147
+ * ```
148
+ *
149
+ * @param parameters - Parameters.
150
+ * @returns The transaction hash.
151
+ */
152
+ revoke: (parameters: accessKeyActions.revoke.Parameters<chain, account>) => Promise<accessKeyActions.revoke.ReturnValue>;
153
+ /**
154
+ * Revokes an authorized access key and waits for the transaction receipt.
155
+ *
156
+ * @example
157
+ * ```ts
158
+ * import { createClient, http } from 'viem'
159
+ * import { privateKeyToAccount } from 'viem/accounts'
160
+ * import { tempo } from 'viem/chains'
161
+ * import { tempoActions } from 'viem/tempo'
162
+ *
163
+ * const client = createClient({
164
+ * account: privateKeyToAccount('0x...'),
165
+ * chain: tempo,
166
+ * transport: http(),
167
+ * }).extend(tempoActions())
168
+ *
169
+ * const { receipt, ...result } = await client.accessKey.revokeSync({
170
+ * accessKey: '0x...',
171
+ * })
172
+ * ```
173
+ *
174
+ * @param parameters - Parameters.
175
+ * @returns The transaction receipt and event data.
176
+ */
177
+ revokeSync: (parameters: accessKeyActions.revokeSync.Parameters<chain, account>) => Promise<accessKeyActions.revokeSync.ReturnValue>;
178
+ /**
179
+ * Updates the spending limit for a specific token on an authorized access key.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * import { createClient, http } from 'viem'
184
+ * import { privateKeyToAccount } from 'viem/accounts'
185
+ * import { tempo } from 'viem/chains'
186
+ * import { tempoActions } from 'viem/tempo'
187
+ *
188
+ * const client = createClient({
189
+ * account: privateKeyToAccount('0x...'),
190
+ * chain: tempo,
191
+ * transport: http(),
192
+ * }).extend(tempoActions())
193
+ *
194
+ * const hash = await client.accessKey.updateLimit({
195
+ * accessKey: '0x...',
196
+ * token: '0x...',
197
+ * limit: 1000000000000000000n,
198
+ * })
199
+ * ```
200
+ *
201
+ * @param parameters - Parameters.
202
+ * @returns The transaction hash.
203
+ */
204
+ updateLimit: (parameters: accessKeyActions.updateLimit.Parameters<chain, account>) => Promise<accessKeyActions.updateLimit.ReturnValue>;
205
+ /**
206
+ * Updates the spending limit and waits for the transaction receipt.
207
+ *
208
+ * @example
209
+ * ```ts
210
+ * import { createClient, http } from 'viem'
211
+ * import { privateKeyToAccount } from 'viem/accounts'
212
+ * import { tempo } from 'viem/chains'
213
+ * import { tempoActions } from 'viem/tempo'
214
+ *
215
+ * const client = createClient({
216
+ * account: privateKeyToAccount('0x...'),
217
+ * chain: tempo,
218
+ * transport: http(),
219
+ * }).extend(tempoActions())
220
+ *
221
+ * const { receipt, ...result } = await client.accessKey.updateLimitSync({
222
+ * accessKey: '0x...',
223
+ * token: '0x...',
224
+ * limit: 1000000000000000000n,
225
+ * })
226
+ * ```
227
+ *
228
+ * @param parameters - Parameters.
229
+ * @returns The transaction receipt and event data.
230
+ */
231
+ updateLimitSync: (parameters: accessKeyActions.updateLimitSync.Parameters<chain, account>) => Promise<accessKeyActions.updateLimitSync.ReturnValue>;
232
+ };
15
233
  amm: {
16
234
  /**
17
235
  * Gets the reserves for a liquidity pool.
@@ -47,7 +265,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
47
265
  * import { tempoActions } from 'viem/tempo'
48
266
  *
49
267
  * const client = createClient({
50
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
268
+ * chain: tempo
51
269
  * transport: http(),
52
270
  * }).extend(tempoActions())
53
271
  *
@@ -78,7 +296,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
78
296
  *
79
297
  * const client = createClient({
80
298
  * account: privateKeyToAccount('0x...'),
81
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
299
+ * chain: tempo
82
300
  * transport: http(),
83
301
  * }).extend(tempoActions())
84
302
  *
@@ -106,7 +324,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
106
324
  *
107
325
  * const client = createClient({
108
326
  * account: privateKeyToAccount('0x...'),
109
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
327
+ * chain: tempo
110
328
  * transport: http(),
111
329
  * }).extend(tempoActions())
112
330
  *
@@ -134,7 +352,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
134
352
  *
135
353
  * const client = createClient({
136
354
  * account: privateKeyToAccount('0x...'),
137
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
355
+ * chain: tempo
138
356
  * transport: http(),
139
357
  * }).extend(tempoActions())
140
358
  *
@@ -162,7 +380,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
162
380
  *
163
381
  * const client = createClient({
164
382
  * account: privateKeyToAccount('0x...'),
165
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
383
+ * chain: tempo
166
384
  * transport: http(),
167
385
  * }).extend(tempoActions())
168
386
  *
@@ -190,7 +408,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
190
408
  *
191
409
  * const client = createClient({
192
410
  * account: privateKeyToAccount('0x...'),
193
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
411
+ * chain: tempo
194
412
  * transport: http(),
195
413
  * }).extend(tempoActions())
196
414
  *
@@ -218,7 +436,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
218
436
  *
219
437
  * const client = createClient({
220
438
  * account: privateKeyToAccount('0x...'),
221
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
439
+ * chain: tempo
222
440
  * transport: http(),
223
441
  * }).extend(tempoActions())
224
442
  *
@@ -244,7 +462,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
244
462
  * import { tempoActions } from 'viem/tempo'
245
463
  *
246
464
  * const client = createClient({
247
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
465
+ * chain: tempo
248
466
  * transport: http(),
249
467
  * }).extend(tempoActions())
250
468
  *
@@ -269,7 +487,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
269
487
  * import { tempoActions } from 'viem/tempo'
270
488
  *
271
489
  * const client = createClient({
272
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
490
+ * chain: tempo
273
491
  * transport: http(),
274
492
  * }).extend(tempoActions())
275
493
  *
@@ -294,7 +512,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
294
512
  * import { tempoActions } from 'viem/tempo'
295
513
  *
296
514
  * const client = createClient({
297
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
515
+ * chain: tempo
298
516
  * transport: http(),
299
517
  * }).extend(tempoActions())
300
518
  *
@@ -323,7 +541,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
323
541
  *
324
542
  * const client = createClient({
325
543
  * account: privateKeyToAccount('0x...'),
326
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
544
+ * chain: tempo
327
545
  * transport: http(),
328
546
  * }).extend(tempoActions())
329
547
  *
@@ -351,7 +569,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
351
569
  *
352
570
  * const client = createClient({
353
571
  * account: privateKeyToAccount('0x...'),
354
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
572
+ * chain: tempo
355
573
  * transport: http(),
356
574
  * }).extend(tempoActions())
357
575
  *
@@ -379,7 +597,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
379
597
  *
380
598
  * const client = createClient({
381
599
  * account: privateKeyToAccount('0x...'),
382
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
600
+ * chain: tempo
383
601
  * transport: http(),
384
602
  * }).extend(tempoActions())
385
603
  *
@@ -404,7 +622,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
404
622
  *
405
623
  * const client = createClient({
406
624
  * account: privateKeyToAccount('0x...'),
407
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
625
+ * chain: tempo
408
626
  * transport: http(),
409
627
  * }).extend(tempoActions())
410
628
  *
@@ -432,7 +650,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
432
650
  *
433
651
  * const client = createClient({
434
652
  * account: privateKeyToAccount('0x...'),
435
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
653
+ * chain: tempo
436
654
  * transport: http(),
437
655
  * }).extend(tempoActions())
438
656
  *
@@ -460,7 +678,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
460
678
  *
461
679
  * const client = createClient({
462
680
  * account: privateKeyToAccount('0x...'),
463
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
681
+ * chain: tempo
464
682
  * transport: http(),
465
683
  * }).extend(tempoActions())
466
684
  *
@@ -485,7 +703,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
485
703
  *
486
704
  * const client = createClient({
487
705
  * account: privateKeyToAccount('0x...'),
488
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
706
+ * chain: tempo
489
707
  * transport: http(),
490
708
  * }).extend(tempoActions())
491
709
  *
@@ -510,7 +728,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
510
728
  *
511
729
  * const client = createClient({
512
730
  * account: privateKeyToAccount('0x...'),
513
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
731
+ * chain: tempo
514
732
  * transport: http(),
515
733
  * }).extend(tempoActions())
516
734
  *
@@ -533,7 +751,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
533
751
  * import { tempoActions } from 'viem/tempo'
534
752
  *
535
753
  * const client = createClient({
536
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
754
+ * chain: tempo
537
755
  * transport: http(),
538
756
  * }).extend(tempoActions())
539
757
  *
@@ -557,7 +775,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
557
775
  * import { tempoActions } from 'viem/tempo'
558
776
  *
559
777
  * const client = createClient({
560
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
778
+ * chain: tempo
561
779
  * transport: http(),
562
780
  * }).extend(tempoActions())
563
781
  *
@@ -582,7 +800,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
582
800
  * import { tempoActions } from 'viem/tempo'
583
801
  *
584
802
  * const client = createClient({
585
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
803
+ * chain: tempo
586
804
  * transport: http(),
587
805
  * }).extend(tempoActions())
588
806
  *
@@ -605,7 +823,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
605
823
  * import { tempoActions, Tick } from 'viem/tempo'
606
824
  *
607
825
  * const client = createClient({
608
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
826
+ * chain: tempo
609
827
  * transport: http(),
610
828
  * }).extend(tempoActions())
611
829
  *
@@ -630,7 +848,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
630
848
  * import { tempoActions } from 'viem/tempo'
631
849
  *
632
850
  * const client = createClient({
633
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
851
+ * chain: tempo
634
852
  * transport: http(),
635
853
  * }).extend(tempoActions())
636
854
  *
@@ -657,7 +875,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
657
875
  *
658
876
  * const client = createClient({
659
877
  * account: privateKeyToAccount('0x...'),
660
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
878
+ * chain: tempo
661
879
  * transport: http(),
662
880
  * }).extend(tempoActions())
663
881
  *
@@ -685,7 +903,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
685
903
  *
686
904
  * const client = createClient({
687
905
  * account: privateKeyToAccount('0x...'),
688
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
906
+ * chain: tempo
689
907
  * transport: http(),
690
908
  * }).extend(tempoActions())
691
909
  *
@@ -713,7 +931,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
713
931
  *
714
932
  * const client = createClient({
715
933
  * account: privateKeyToAccount('0x...'),
716
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
934
+ * chain: tempo
717
935
  * transport: http(),
718
936
  * }).extend(tempoActions())
719
937
  *
@@ -742,7 +960,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
742
960
  *
743
961
  * const client = createClient({
744
962
  * account: privateKeyToAccount('0x...'),
745
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
963
+ * chain: tempo
746
964
  * transport: http(),
747
965
  * }).extend(tempoActions())
748
966
  *
@@ -771,7 +989,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
771
989
  *
772
990
  * const client = createClient({
773
991
  * account: privateKeyToAccount('0x...'),
774
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
992
+ * chain: tempo
775
993
  * transport: http(),
776
994
  * }).extend(tempoActions())
777
995
  *
@@ -799,7 +1017,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
799
1017
  *
800
1018
  * const client = createClient({
801
1019
  * account: privateKeyToAccount('0x...'),
802
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1020
+ * chain: tempo
803
1021
  * transport: http(),
804
1022
  * }).extend(tempoActions())
805
1023
  *
@@ -827,7 +1045,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
827
1045
  *
828
1046
  * const client = createClient({
829
1047
  * account: privateKeyToAccount('0x...'),
830
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1048
+ * chain: tempo
831
1049
  * transport: http(),
832
1050
  * }).extend(tempoActions())
833
1051
  *
@@ -853,7 +1071,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
853
1071
  *
854
1072
  * const client = createClient({
855
1073
  * account: privateKeyToAccount('0x...'),
856
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1074
+ * chain: tempo
857
1075
  * transport: http(),
858
1076
  * }).extend(tempoActions())
859
1077
  *
@@ -877,7 +1095,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
877
1095
  * import { tempoActions } from 'viem/tempo'
878
1096
  *
879
1097
  * const client = createClient({
880
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1098
+ * chain: tempo
881
1099
  * transport: http(),
882
1100
  * }).extend(tempoActions())
883
1101
  *
@@ -902,7 +1120,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
902
1120
  * import { tempoActions } from 'viem/tempo'
903
1121
  *
904
1122
  * const client = createClient({
905
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1123
+ * chain: tempo
906
1124
  * transport: http(),
907
1125
  * }).extend(tempoActions())
908
1126
  *
@@ -927,7 +1145,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
927
1145
  * import { tempoActions } from 'viem/tempo'
928
1146
  *
929
1147
  * const client = createClient({
930
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1148
+ * chain: tempo
931
1149
  * transport: http(),
932
1150
  * }).extend(tempoActions())
933
1151
  *
@@ -952,7 +1170,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
952
1170
  * import { tempoActions } from 'viem/tempo'
953
1171
  *
954
1172
  * const client = createClient({
955
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1173
+ * chain: tempo
956
1174
  * transport: http(),
957
1175
  * }).extend(tempoActions())
958
1176
  *
@@ -980,7 +1198,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
980
1198
  * import { tempoActions } from 'viem/tempo'
981
1199
  *
982
1200
  * const client = createClient({
983
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1201
+ * chain: tempo
984
1202
  * transport: http(),
985
1203
  * }).extend(tempoActions())
986
1204
  *
@@ -1005,7 +1223,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1005
1223
  * import { tempoActions } from 'viem/tempo'
1006
1224
  *
1007
1225
  * const client = createClient({
1008
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1226
+ * chain: tempo
1009
1227
  * transport: http(),
1010
1228
  * }).extend(tempoActions())
1011
1229
  *
@@ -1030,7 +1248,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1030
1248
  * import { tempoActions } from 'viem/tempo'
1031
1249
  *
1032
1250
  * const client = createClient({
1033
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
1251
+ * chain: tempo,
1034
1252
  * transport: http(),
1035
1253
  * }).extend(tempoActions())
1036
1254
  *
@@ -1054,7 +1272,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1054
1272
  * import { tempoActions } from 'viem/tempo'
1055
1273
  *
1056
1274
  * const client = createClient({
1057
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
1275
+ * chain: tempo,
1058
1276
  * transport: http(),
1059
1277
  * }).extend(tempoActions())
1060
1278
  *
@@ -1083,7 +1301,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1083
1301
  *
1084
1302
  * const client = createClient({
1085
1303
  * account: privateKeyToAccount('0x...'),
1086
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1304
+ * chain: tempo
1087
1305
  * transport: http(),
1088
1306
  * }).extend(tempoActions())
1089
1307
  *
@@ -1107,7 +1325,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1107
1325
  *
1108
1326
  * const client = createClient({
1109
1327
  * account: privateKeyToAccount('0x...'),
1110
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1328
+ * chain: tempo
1111
1329
  * transport: http(),
1112
1330
  * }).extend(tempoActions())
1113
1331
  *
@@ -1133,7 +1351,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1133
1351
  *
1134
1352
  * const client = createClient({
1135
1353
  * account: privateKeyToAccount('0x...'),
1136
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1354
+ * chain: tempo
1137
1355
  * transport: http(),
1138
1356
  * }).extend(tempoActions())
1139
1357
  *
@@ -1156,7 +1374,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1156
1374
  * import { tempoActions } from 'viem/tempo'
1157
1375
  *
1158
1376
  * const client = createClient({
1159
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1377
+ * chain: tempo
1160
1378
  * transport: http(),
1161
1379
  * }).extend(tempoActions())
1162
1380
  *
@@ -1186,7 +1404,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1186
1404
  *
1187
1405
  * const client = createClient({
1188
1406
  * account: privateKeyToAccount('0x...'),
1189
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1407
+ * chain: tempo
1190
1408
  * transport: http(),
1191
1409
  * }).extend(tempoActions())
1192
1410
  *
@@ -1212,7 +1430,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1212
1430
  *
1213
1431
  * const client = createClient({
1214
1432
  * account: privateKeyToAccount('0x...'),
1215
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1433
+ * chain: tempo
1216
1434
  * transport: http(),
1217
1435
  * }).extend(tempoActions())
1218
1436
  *
@@ -1238,7 +1456,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1238
1456
  *
1239
1457
  * const client = createClient({
1240
1458
  * account: privateKeyToAccount('0x...'),
1241
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1459
+ * chain: tempo
1242
1460
  * transport: http(),
1243
1461
  * }).extend(tempoActions())
1244
1462
  *
@@ -1264,7 +1482,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1264
1482
  *
1265
1483
  * const client = createClient({
1266
1484
  * account: privateKeyToAccount('0x...'),
1267
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1485
+ * chain: tempo
1268
1486
  * transport: http(),
1269
1487
  * }).extend(tempoActions())
1270
1488
  *
@@ -1290,7 +1508,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1290
1508
  *
1291
1509
  * const client = createClient({
1292
1510
  * account: privateKeyToAccount('0x...'),
1293
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1511
+ * chain: tempo
1294
1512
  * transport: http(),
1295
1513
  * }).extend(tempoActions())
1296
1514
  *
@@ -1317,7 +1535,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1317
1535
  *
1318
1536
  * const client = createClient({
1319
1537
  * account: privateKeyToAccount('0x...'),
1320
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1538
+ * chain: tempo
1321
1539
  * transport: http(),
1322
1540
  * }).extend(tempoActions())
1323
1541
  *
@@ -1344,7 +1562,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1344
1562
  *
1345
1563
  * const client = createClient({
1346
1564
  * account: privateKeyToAccount('0x...'),
1347
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1565
+ * chain: tempo
1348
1566
  * transport: http(),
1349
1567
  * }).extend(tempoActions())
1350
1568
  *
@@ -1371,7 +1589,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1371
1589
  *
1372
1590
  * const client = createClient({
1373
1591
  * account: privateKeyToAccount('0x...'),
1374
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1592
+ * chain: tempo
1375
1593
  * transport: http(),
1376
1594
  * }).extend(tempoActions())
1377
1595
  *
@@ -1396,7 +1614,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1396
1614
  * import { tempoActions } from 'viem/tempo'
1397
1615
  *
1398
1616
  * const client = createClient({
1399
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1617
+ * chain: tempo
1400
1618
  * transport: http(),
1401
1619
  * }).extend(tempoActions())
1402
1620
  *
@@ -1419,7 +1637,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1419
1637
  * import { tempoActions } from 'viem/tempo'
1420
1638
  *
1421
1639
  * const client = createClient({
1422
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1640
+ * chain: tempo
1423
1641
  * transport: http(),
1424
1642
  * }).extend(tempoActions())
1425
1643
  *
@@ -1443,7 +1661,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1443
1661
  * import { tempoActions } from 'viem/tempo'
1444
1662
  *
1445
1663
  * const client = createClient({
1446
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1664
+ * chain: tempo
1447
1665
  * transport: http(),
1448
1666
  * }).extend(tempoActions())
1449
1667
  *
@@ -1468,7 +1686,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1468
1686
  * import { tempoActions } from 'viem/tempo'
1469
1687
  *
1470
1688
  * const client = createClient({
1471
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1689
+ * chain: tempo
1472
1690
  * transport: http(),
1473
1691
  * }).extend(tempoActions())
1474
1692
  *
@@ -1493,7 +1711,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1493
1711
  * import { tempoActions } from 'viem/tempo'
1494
1712
  *
1495
1713
  * const client = createClient({
1496
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1714
+ * chain: tempo
1497
1715
  * transport: http(),
1498
1716
  * }).extend(tempoActions())
1499
1717
  *
@@ -1518,7 +1736,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1518
1736
  * import { tempoActions } from 'viem/tempo'
1519
1737
  *
1520
1738
  * const client = createClient({
1521
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1739
+ * chain: tempo
1522
1740
  * transport: http(),
1523
1741
  * }).extend(tempoActions())
1524
1742
  *
@@ -1547,7 +1765,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1547
1765
  *
1548
1766
  * const client = createClient({
1549
1767
  * account: privateKeyToAccount('0x...'),
1550
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1768
+ * chain: tempo
1551
1769
  * transport: http(),
1552
1770
  * }).extend(tempoActions())
1553
1771
  *
@@ -1572,7 +1790,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1572
1790
  *
1573
1791
  * const client = createClient({
1574
1792
  * account: privateKeyToAccount('0x...'),
1575
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1793
+ * chain: tempo
1576
1794
  * transport: http(),
1577
1795
  * }).extend(tempoActions())
1578
1796
  *
@@ -1597,7 +1815,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1597
1815
  *
1598
1816
  * const client = createClient({
1599
1817
  * account: privateKeyToAccount('0x...'),
1600
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1818
+ * chain: tempo
1601
1819
  * transport: http(),
1602
1820
  * }).extend(tempoActions())
1603
1821
  *
@@ -1623,7 +1841,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1623
1841
  *
1624
1842
  * const client = createClient({
1625
1843
  * account: privateKeyToAccount('0x...'),
1626
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1844
+ * chain: tempo
1627
1845
  * transport: http(),
1628
1846
  * }).extend(tempoActions())
1629
1847
  *
@@ -1647,7 +1865,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1647
1865
  * import { tempoActions } from 'viem/tempo'
1648
1866
  *
1649
1867
  * const client = createClient({
1650
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1868
+ * chain: tempo
1651
1869
  * transport: http(),
1652
1870
  * }).extend(tempoActions())
1653
1871
  *
@@ -1673,7 +1891,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1673
1891
  *
1674
1892
  * const client = createClient({
1675
1893
  * account: privateKeyToAccount('0x...'),
1676
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1894
+ * chain: tempo
1677
1895
  * transport: http(),
1678
1896
  * }).extend(tempoActions())
1679
1897
  *
@@ -1699,7 +1917,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1699
1917
  *
1700
1918
  * const client = createClient({
1701
1919
  * account: privateKeyToAccount('0x...'),
1702
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1920
+ * chain: tempo
1703
1921
  * transport: http(),
1704
1922
  * }).extend(tempoActions())
1705
1923
  *
@@ -1723,7 +1941,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1723
1941
  * import { tempoActions } from 'viem/tempo'
1724
1942
  *
1725
1943
  * const client = createClient({
1726
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1944
+ * chain: tempo
1727
1945
  * transport: http(),
1728
1946
  * }).extend(tempoActions())
1729
1947
  *
@@ -1749,7 +1967,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1749
1967
  * import { tempoActions } from 'viem/tempo'
1750
1968
  *
1751
1969
  * const client = createClient({
1752
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1970
+ * chain: tempo
1753
1971
  * transport: http(),
1754
1972
  * }).extend(tempoActions())
1755
1973
  *
@@ -1779,7 +1997,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1779
1997
  *
1780
1998
  * const client = createClient({
1781
1999
  * account: privateKeyToAccount('0x...'),
1782
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2000
+ * chain: tempo
1783
2001
  * transport: http(),
1784
2002
  * }).extend(tempoActions())
1785
2003
  *
@@ -1806,7 +2024,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1806
2024
  *
1807
2025
  * const client = createClient({
1808
2026
  * account: privateKeyToAccount('0x...'),
1809
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2027
+ * chain: tempo
1810
2028
  * transport: http(),
1811
2029
  * }).extend(tempoActions())
1812
2030
  *
@@ -1833,7 +2051,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1833
2051
  *
1834
2052
  * const client = createClient({
1835
2053
  * account: privateKeyToAccount('0x...'),
1836
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2054
+ * chain: tempo
1837
2055
  * transport: http(),
1838
2056
  * }).extend(tempoActions())
1839
2057
  *
@@ -1861,7 +2079,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1861
2079
  *
1862
2080
  * const client = createClient({
1863
2081
  * account: privateKeyToAccount('0x...'),
1864
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2082
+ * chain: tempo
1865
2083
  * transport: http(),
1866
2084
  * }).extend(tempoActions())
1867
2085
  *
@@ -1889,7 +2107,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1889
2107
  *
1890
2108
  * const client = createClient({
1891
2109
  * account: privateKeyToAccount('0x...'),
1892
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2110
+ * chain: tempo
1893
2111
  * transport: http(),
1894
2112
  * }).extend(tempoActions())
1895
2113
  *
@@ -1916,7 +2134,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1916
2134
  *
1917
2135
  * const client = createClient({
1918
2136
  * account: privateKeyToAccount('0x...'),
1919
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2137
+ * chain: tempo
1920
2138
  * transport: http(),
1921
2139
  * }).extend(tempoActions())
1922
2140
  *
@@ -1943,7 +2161,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1943
2161
  *
1944
2162
  * const client = createClient({
1945
2163
  * account: privateKeyToAccount('0x...'),
1946
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2164
+ * chain: tempo
1947
2165
  * transport: http(),
1948
2166
  * }).extend(tempoActions())
1949
2167
  *
@@ -1970,7 +2188,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1970
2188
  *
1971
2189
  * const client = createClient({
1972
2190
  * account: privateKeyToAccount('0x...'),
1973
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2191
+ * chain: tempo
1974
2192
  * transport: http(),
1975
2193
  * }).extend(tempoActions())
1976
2194
  *
@@ -1997,7 +2215,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
1997
2215
  *
1998
2216
  * const client = createClient({
1999
2217
  * account: privateKeyToAccount('0x...'),
2000
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2218
+ * chain: tempo
2001
2219
  * transport: http(),
2002
2220
  * }).extend(tempoActions())
2003
2221
  *
@@ -2025,7 +2243,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2025
2243
  *
2026
2244
  * const client = createClient({
2027
2245
  * account: privateKeyToAccount('0x...'),
2028
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2246
+ * chain: tempo
2029
2247
  * transport: http(),
2030
2248
  * }).extend(tempoActions())
2031
2249
  *
@@ -2053,7 +2271,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2053
2271
  *
2054
2272
  * const client = createClient({
2055
2273
  * account: privateKeyToAccount('0x...'),
2056
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2274
+ * chain: tempo
2057
2275
  * transport: http(),
2058
2276
  * }).extend(tempoActions())
2059
2277
  *
@@ -2079,7 +2297,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2079
2297
  *
2080
2298
  * const client = createClient({
2081
2299
  * account: privateKeyToAccount('0x...'),
2082
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2300
+ * chain: tempo
2083
2301
  * transport: http(),
2084
2302
  * }).extend(tempoActions())
2085
2303
  *
@@ -2101,7 +2319,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2101
2319
  * import { tempoActions } from 'viem/tempo'
2102
2320
  *
2103
2321
  * const client = createClient({
2104
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2322
+ * chain: tempo
2105
2323
  * transport: http(),
2106
2324
  * }).extend(tempoActions())
2107
2325
  *
@@ -2125,7 +2343,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2125
2343
  * import { tempoActions } from 'viem/tempo'
2126
2344
  *
2127
2345
  * const client = createClient({
2128
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2346
+ * chain: tempo
2129
2347
  * transport: http(),
2130
2348
  * }).extend(tempoActions())
2131
2349
  *
@@ -2152,7 +2370,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2152
2370
  *
2153
2371
  * const client = createClient({
2154
2372
  * account: privateKeyToAccount('0x...'),
2155
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2373
+ * chain: tempo
2156
2374
  * transport: http(),
2157
2375
  * }).extend(tempoActions())
2158
2376
  *
@@ -2179,7 +2397,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2179
2397
  *
2180
2398
  * const client = createClient({
2181
2399
  * account: privateKeyToAccount('0x...'),
2182
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2400
+ * chain: tempo
2183
2401
  * transport: http(),
2184
2402
  * }).extend(tempoActions())
2185
2403
  *
@@ -2207,7 +2425,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2207
2425
  *
2208
2426
  * const client = createClient({
2209
2427
  * account: privateKeyToAccount('0x...'),
2210
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2428
+ * chain: tempo
2211
2429
  * transport: http(),
2212
2430
  * }).extend(tempoActions())
2213
2431
  *
@@ -2234,7 +2452,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2234
2452
  *
2235
2453
  * const client = createClient({
2236
2454
  * account: privateKeyToAccount('0x...'),
2237
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2455
+ * chain: tempo
2238
2456
  * transport: http(),
2239
2457
  * }).extend(tempoActions())
2240
2458
  *
@@ -2262,7 +2480,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2262
2480
  *
2263
2481
  * const client = createClient({
2264
2482
  * account: privateKeyToAccount('0x...'),
2265
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2483
+ * chain: tempo
2266
2484
  * transport: http(),
2267
2485
  * }).extend(tempoActions())
2268
2486
  *
@@ -2290,7 +2508,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2290
2508
  *
2291
2509
  * const client = createClient({
2292
2510
  * account: privateKeyToAccount('0x...'),
2293
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2511
+ * chain: tempo
2294
2512
  * transport: http(),
2295
2513
  * }).extend(tempoActions())
2296
2514
  *
@@ -2316,7 +2534,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2316
2534
  *
2317
2535
  * const client = createClient({
2318
2536
  * account: privateKeyToAccount('0x...'),
2319
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2537
+ * chain: tempo
2320
2538
  * transport: http(),
2321
2539
  * }).extend(tempoActions())
2322
2540
  *
@@ -2342,7 +2560,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2342
2560
  *
2343
2561
  * const client = createClient({
2344
2562
  * account: privateKeyToAccount('0x...'),
2345
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2563
+ * chain: tempo
2346
2564
  * transport: http(),
2347
2565
  * }).extend(tempoActions())
2348
2566
  *
@@ -2369,7 +2587,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2369
2587
  *
2370
2588
  * const client = createClient({
2371
2589
  * account: privateKeyToAccount('0x...'),
2372
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2590
+ * chain: tempo
2373
2591
  * transport: http(),
2374
2592
  * }).extend(tempoActions())
2375
2593
  *
@@ -2395,7 +2613,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2395
2613
  *
2396
2614
  * const client = createClient({
2397
2615
  * account: privateKeyToAccount('0x...'),
2398
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2616
+ * chain: tempo
2399
2617
  * transport: http(),
2400
2618
  * }).extend(tempoActions())
2401
2619
  *
@@ -2423,7 +2641,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2423
2641
  *
2424
2642
  * const client = createClient({
2425
2643
  * account: privateKeyToAccount('0x...'),
2426
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2644
+ * chain: tempo
2427
2645
  * transport: http(),
2428
2646
  * }).extend(tempoActions())
2429
2647
  *
@@ -2450,7 +2668,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2450
2668
  *
2451
2669
  * const client = createClient({
2452
2670
  * account: privateKeyToAccount('0x...'),
2453
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2671
+ * chain: tempo
2454
2672
  * transport: http(),
2455
2673
  * }).extend(tempoActions())
2456
2674
  *
@@ -2477,7 +2695,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2477
2695
  *
2478
2696
  * const client = createClient({
2479
2697
  * account: privateKeyToAccount('0x...'),
2480
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2698
+ * chain: tempo
2481
2699
  * transport: http(),
2482
2700
  * }).extend(tempoActions())
2483
2701
  *
@@ -2504,7 +2722,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2504
2722
  *
2505
2723
  * const client = createClient({
2506
2724
  * account: privateKeyToAccount('0x...'),
2507
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2725
+ * chain: tempo
2508
2726
  * transport: http(),
2509
2727
  * }).extend(tempoActions())
2510
2728
  *
@@ -2532,7 +2750,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2532
2750
  *
2533
2751
  * const client = createClient({
2534
2752
  * account: privateKeyToAccount('0x...'),
2535
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2753
+ * chain: tempo
2536
2754
  * transport: http(),
2537
2755
  * }).extend(tempoActions())
2538
2756
  *
@@ -2560,7 +2778,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2560
2778
  *
2561
2779
  * const client = createClient({
2562
2780
  * account: privateKeyToAccount('0x...'),
2563
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2781
+ * chain: tempo
2564
2782
  * transport: http(),
2565
2783
  * }).extend(tempoActions())
2566
2784
  *
@@ -2587,7 +2805,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2587
2805
  *
2588
2806
  * const client = createClient({
2589
2807
  * account: privateKeyToAccount('0x...'),
2590
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2808
+ * chain: tempo
2591
2809
  * transport: http(),
2592
2810
  * }).extend(tempoActions())
2593
2811
  *
@@ -2614,7 +2832,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2614
2832
  *
2615
2833
  * const client = createClient({
2616
2834
  * account: privateKeyToAccount('0x...'),
2617
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2835
+ * chain: tempo
2618
2836
  * transport: http(),
2619
2837
  * }).extend(tempoActions())
2620
2838
  *
@@ -2640,7 +2858,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2640
2858
  *
2641
2859
  * const client = createClient({
2642
2860
  * account: privateKeyToAccount('0x...'),
2643
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2861
+ * chain: tempo
2644
2862
  * transport: http(),
2645
2863
  * }).extend(tempoActions())
2646
2864
  *
@@ -2664,7 +2882,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2664
2882
  * import { tempoActions } from 'viem/tempo'
2665
2883
  *
2666
2884
  * const client = createClient({
2667
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2885
+ * chain: tempo
2668
2886
  * transport: http(),
2669
2887
  * }).extend(tempoActions())
2670
2888
  *
@@ -2690,7 +2908,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2690
2908
  * import { tempoActions } from 'viem/tempo'
2691
2909
  *
2692
2910
  * const client = createClient({
2693
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2911
+ * chain: tempo
2694
2912
  * transport: http(),
2695
2913
  * }).extend(tempoActions())
2696
2914
  *
@@ -2716,7 +2934,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2716
2934
  * import { tempoActions } from 'viem/tempo'
2717
2935
  *
2718
2936
  * const client = createClient({
2719
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2937
+ * chain: tempo
2720
2938
  * transport: http(),
2721
2939
  * }).extend(tempoActions())
2722
2940
  *
@@ -2742,7 +2960,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2742
2960
  * import { tempoActions } from 'viem/tempo'
2743
2961
  *
2744
2962
  * const client = createClient({
2745
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2963
+ * chain: tempo
2746
2964
  * transport: http(),
2747
2965
  * }).extend(tempoActions())
2748
2966
  *
@@ -2768,7 +2986,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2768
2986
  * import { tempoActions } from 'viem/tempo'
2769
2987
  *
2770
2988
  * const client = createClient({
2771
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2989
+ * chain: tempo
2772
2990
  * transport: http(),
2773
2991
  * }).extend(tempoActions())
2774
2992
  *
@@ -2794,7 +3012,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2794
3012
  * import { tempoActions } from 'viem/tempo'
2795
3013
  *
2796
3014
  * const client = createClient({
2797
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3015
+ * chain: tempo
2798
3016
  * transport: http(),
2799
3017
  * }).extend(tempoActions())
2800
3018
  *
@@ -2820,7 +3038,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2820
3038
  * import { tempoActions } from 'viem/tempo'
2821
3039
  *
2822
3040
  * const client = createClient({
2823
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3041
+ * chain: tempo
2824
3042
  * transport: http(),
2825
3043
  * }).extend(tempoActions())
2826
3044
  *
@@ -2850,7 +3068,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2850
3068
  *
2851
3069
  * const client = createClient({
2852
3070
  * account: privateKeyToAccount('0x...'),
2853
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3071
+ * chain: tempo
2854
3072
  * transport: http(),
2855
3073
  * }).extend(tempoActions())
2856
3074
  *
@@ -2879,7 +3097,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2879
3097
  *
2880
3098
  * const client = createClient({
2881
3099
  * account: privateKeyToAccount('0x...'),
2882
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3100
+ * chain: tempo
2883
3101
  * transport: http(),
2884
3102
  * }).extend(tempoActions())
2885
3103
  *
@@ -2908,7 +3126,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2908
3126
  *
2909
3127
  * const client = createClient({
2910
3128
  * account: privateKeyToAccount('0x...'),
2911
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3129
+ * chain: tempo
2912
3130
  * transport: http(),
2913
3131
  * }).extend(tempoActions())
2914
3132
  *
@@ -2933,7 +3151,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2933
3151
  *
2934
3152
  * const client = createClient({
2935
3153
  * account: privateKeyToAccount('0x...'),
2936
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3154
+ * chain: tempo
2937
3155
  * transport: http(),
2938
3156
  * }).extend(tempoActions())
2939
3157
  *
@@ -2958,7 +3176,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2958
3176
  *
2959
3177
  * const client = createClient({
2960
3178
  * account: privateKeyToAccount('0x...'),
2961
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3179
+ * chain: tempo
2962
3180
  * transport: http(),
2963
3181
  * }).extend(tempoActions())
2964
3182
  *
@@ -2984,7 +3202,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
2984
3202
  *
2985
3203
  * const client = createClient({
2986
3204
  * account: privateKeyToAccount('0x...'),
2987
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3205
+ * chain: tempo
2988
3206
  * transport: http(),
2989
3207
  * }).extend(tempoActions())
2990
3208
  *
@@ -3008,7 +3226,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3008
3226
  * import { tempoActions } from 'viem/tempo'
3009
3227
  *
3010
3228
  * const client = createClient({
3011
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3229
+ * chain: tempo
3012
3230
  * transport: http(),
3013
3231
  * }).extend(tempoActions())
3014
3232
  *
@@ -3031,7 +3249,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3031
3249
  * import { tempoActions } from 'viem/tempo'
3032
3250
  *
3033
3251
  * const client = createClient({
3034
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3252
+ * chain: tempo
3035
3253
  * transport: http(),
3036
3254
  * }).extend(tempoActions())
3037
3255
  *
@@ -3054,7 +3272,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3054
3272
  * import { tempoActions } from 'viem/tempo'
3055
3273
  *
3056
3274
  * const client = createClient({
3057
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3275
+ * chain: tempo
3058
3276
  * transport: http(),
3059
3277
  * }).extend(tempoActions())
3060
3278
  *
@@ -3075,7 +3293,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3075
3293
  * import { tempoActions } from 'viem/tempo'
3076
3294
  *
3077
3295
  * const client = createClient({
3078
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3296
+ * chain: tempo
3079
3297
  * transport: http(),
3080
3298
  * }).extend(tempoActions())
3081
3299
  *
@@ -3096,7 +3314,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3096
3314
  * import { tempoActions } from 'viem/tempo'
3097
3315
  *
3098
3316
  * const client = createClient({
3099
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3317
+ * chain: tempo
3100
3318
  * transport: http(),
3101
3319
  * }).extend(tempoActions())
3102
3320
  *
@@ -3117,7 +3335,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3117
3335
  * import { tempoActions } from 'viem/tempo'
3118
3336
  *
3119
3337
  * const client = createClient({
3120
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3338
+ * chain: tempo
3121
3339
  * transport: http(),
3122
3340
  * }).extend(tempoActions())
3123
3341
  *
@@ -3140,7 +3358,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3140
3358
  *
3141
3359
  * const client = createClient({
3142
3360
  * account: privateKeyToAccount('0x...'),
3143
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3361
+ * chain: tempo
3144
3362
  * transport: http(),
3145
3363
  * }).extend(tempoActions())
3146
3364
  *
@@ -3165,7 +3383,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3165
3383
  *
3166
3384
  * const client = createClient({
3167
3385
  * account: privateKeyToAccount('0x...'),
3168
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3386
+ * chain: tempo
3169
3387
  * transport: http(),
3170
3388
  * }).extend(tempoActions())
3171
3389
  *
@@ -3190,7 +3408,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3190
3408
  *
3191
3409
  * const client = createClient({
3192
3410
  * account: privateKeyToAccount('0x...'),
3193
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3411
+ * chain: tempo
3194
3412
  * transport: http(),
3195
3413
  * }).extend(tempoActions())
3196
3414
  *
@@ -3218,7 +3436,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
3218
3436
  *
3219
3437
  * const client = createClient({
3220
3438
  * account: privateKeyToAccount('0x...'),
3221
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3439
+ * chain: tempo
3222
3440
  * transport: http(),
3223
3441
  * }).extend(tempoActions())
3224
3442
  *