viem 1.6.7 → 1.8.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 (218) hide show
  1. package/README.md +6 -0
  2. package/dist/cjs/actions/index.js +8 -2
  3. package/dist/cjs/actions/index.js.map +1 -1
  4. package/dist/cjs/actions/public/estimateFeesPerGas.js +60 -0
  5. package/dist/cjs/actions/public/estimateFeesPerGas.js.map +1 -0
  6. package/dist/cjs/actions/public/estimateGas.js +2 -2
  7. package/dist/cjs/actions/public/estimateGas.js.map +1 -1
  8. package/dist/cjs/actions/public/estimateMaxPriorityFeePerGas.js +44 -0
  9. package/dist/cjs/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
  10. package/dist/cjs/actions/public/verifyHash.js.map +1 -1
  11. package/dist/cjs/actions/public/verifyMessage.js.map +1 -1
  12. package/dist/cjs/actions/public/verifyTypedData.js.map +1 -1
  13. package/dist/cjs/actions/public/watchContractEvent.js +10 -7
  14. package/dist/cjs/actions/public/watchContractEvent.js.map +1 -1
  15. package/dist/cjs/actions/wallet/deployContract.js.map +1 -1
  16. package/dist/cjs/actions/wallet/prepareTransactionRequest.js +70 -0
  17. package/dist/cjs/actions/wallet/prepareTransactionRequest.js.map +1 -0
  18. package/dist/cjs/actions/wallet/sendRawTransaction.js +11 -0
  19. package/dist/cjs/actions/wallet/sendRawTransaction.js.map +1 -0
  20. package/dist/cjs/actions/wallet/sendTransaction.js +6 -6
  21. package/dist/cjs/actions/wallet/sendTransaction.js.map +1 -1
  22. package/dist/cjs/actions/wallet/signTransaction.js +47 -0
  23. package/dist/cjs/actions/wallet/signTransaction.js.map +1 -0
  24. package/dist/cjs/actions/wallet/writeContract.js.map +1 -1
  25. package/dist/cjs/chains/celo/formatters.js +4 -1
  26. package/dist/cjs/chains/celo/formatters.js.map +1 -1
  27. package/dist/cjs/clients/createTestClient.js.map +1 -1
  28. package/dist/cjs/clients/decorators/public.js +8 -0
  29. package/dist/cjs/clients/decorators/public.js.map +1 -1
  30. package/dist/cjs/clients/decorators/wallet.js +6 -0
  31. package/dist/cjs/clients/decorators/wallet.js.map +1 -1
  32. package/dist/cjs/errors/fee.js +42 -0
  33. package/dist/cjs/errors/fee.js.map +1 -0
  34. package/dist/cjs/errors/version.js +1 -1
  35. package/dist/cjs/index.js +9 -6
  36. package/dist/cjs/index.js.map +1 -1
  37. package/dist/cjs/public.js +5 -1
  38. package/dist/cjs/public.js.map +1 -1
  39. package/dist/cjs/utils/data/isBytesEqual.js +4 -3
  40. package/dist/cjs/utils/data/isBytesEqual.js.map +1 -1
  41. package/dist/cjs/utils/ens/encodedLabelToLabelhash.js +2 -2
  42. package/dist/cjs/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  43. package/dist/cjs/utils/formatters/transactionRequest.js +9 -1
  44. package/dist/cjs/utils/formatters/transactionRequest.js.map +1 -1
  45. package/dist/cjs/utils/index.js +3 -3
  46. package/dist/cjs/utils/index.js.map +1 -1
  47. package/dist/esm/actions/index.js +3 -0
  48. package/dist/esm/actions/index.js.map +1 -1
  49. package/dist/esm/actions/public/estimateFeesPerGas.js +78 -0
  50. package/dist/esm/actions/public/estimateFeesPerGas.js.map +1 -0
  51. package/dist/esm/actions/public/estimateGas.js +2 -2
  52. package/dist/esm/actions/public/estimateGas.js.map +1 -1
  53. package/dist/esm/actions/public/estimateMaxPriorityFeePerGas.js +64 -0
  54. package/dist/esm/actions/public/estimateMaxPriorityFeePerGas.js.map +1 -0
  55. package/dist/esm/actions/public/verifyHash.js.map +1 -1
  56. package/dist/esm/actions/public/verifyMessage.js.map +1 -1
  57. package/dist/esm/actions/public/verifyTypedData.js.map +1 -1
  58. package/dist/esm/actions/public/watchContractEvent.js +5 -2
  59. package/dist/esm/actions/public/watchContractEvent.js.map +1 -1
  60. package/dist/esm/actions/wallet/deployContract.js.map +1 -1
  61. package/dist/esm/actions/wallet/prepareTransactionRequest.js +109 -0
  62. package/dist/esm/actions/wallet/prepareTransactionRequest.js.map +1 -0
  63. package/dist/esm/actions/wallet/sendRawTransaction.js +31 -0
  64. package/dist/esm/actions/wallet/sendRawTransaction.js.map +1 -0
  65. package/dist/esm/actions/wallet/sendTransaction.js +6 -6
  66. package/dist/esm/actions/wallet/sendTransaction.js.map +1 -1
  67. package/dist/esm/actions/wallet/signTransaction.js +87 -0
  68. package/dist/esm/actions/wallet/signTransaction.js.map +1 -0
  69. package/dist/esm/actions/wallet/writeContract.js.map +1 -1
  70. package/dist/esm/chains/celo/formatters.js +4 -1
  71. package/dist/esm/chains/celo/formatters.js.map +1 -1
  72. package/dist/esm/clients/createTestClient.js.map +1 -1
  73. package/dist/esm/clients/decorators/public.js +8 -0
  74. package/dist/esm/clients/decorators/public.js.map +1 -1
  75. package/dist/esm/clients/decorators/wallet.js +6 -0
  76. package/dist/esm/clients/decorators/wallet.js.map +1 -1
  77. package/dist/esm/errors/fee.js +36 -0
  78. package/dist/esm/errors/fee.js.map +1 -0
  79. package/dist/esm/errors/version.js +1 -1
  80. package/dist/esm/index.js +2 -2
  81. package/dist/esm/index.js.map +1 -1
  82. package/dist/esm/public.js +2 -0
  83. package/dist/esm/public.js.map +1 -1
  84. package/dist/esm/utils/data/isBytesEqual.js +2 -1
  85. package/dist/esm/utils/data/isBytesEqual.js.map +1 -1
  86. package/dist/esm/utils/ens/encodedLabelToLabelhash.js +1 -1
  87. package/dist/esm/utils/ens/encodedLabelToLabelhash.js.map +1 -1
  88. package/dist/esm/utils/formatters/transactionRequest.js +8 -0
  89. package/dist/esm/utils/formatters/transactionRequest.js.map +1 -1
  90. package/dist/esm/utils/index.js +3 -1
  91. package/dist/esm/utils/index.js.map +1 -1
  92. package/dist/types/actions/index.d.ts +3 -0
  93. package/dist/types/actions/index.d.ts.map +1 -1
  94. package/dist/types/actions/public/estimateFeesPerGas.d.ts +48 -0
  95. package/dist/types/actions/public/estimateFeesPerGas.d.ts.map +1 -0
  96. package/dist/types/actions/public/estimateMaxPriorityFeePerGas.d.ts +37 -0
  97. package/dist/types/actions/public/estimateMaxPriorityFeePerGas.d.ts.map +1 -0
  98. package/dist/types/actions/public/verifyHash.d.ts +1 -1
  99. package/dist/types/actions/public/verifyHash.d.ts.map +1 -1
  100. package/dist/types/actions/public/verifyMessage.d.ts +2 -2
  101. package/dist/types/actions/public/verifyMessage.d.ts.map +1 -1
  102. package/dist/types/actions/public/verifyTypedData.d.ts +2 -2
  103. package/dist/types/actions/public/verifyTypedData.d.ts.map +1 -1
  104. package/dist/types/actions/public/watchContractEvent.d.ts.map +1 -1
  105. package/dist/types/actions/wallet/deployContract.d.ts +2 -1
  106. package/dist/types/actions/wallet/deployContract.d.ts.map +1 -1
  107. package/dist/types/actions/wallet/prepareTransactionRequest.d.ts +52 -0
  108. package/dist/types/actions/wallet/prepareTransactionRequest.d.ts.map +1 -0
  109. package/dist/types/actions/wallet/sendRawTransaction.d.ts +38 -0
  110. package/dist/types/actions/wallet/sendRawTransaction.d.ts.map +1 -0
  111. package/dist/types/actions/wallet/sendTransaction.d.ts +2 -1
  112. package/dist/types/actions/wallet/sendTransaction.d.ts.map +1 -1
  113. package/dist/types/actions/wallet/signTransaction.d.ts +55 -0
  114. package/dist/types/actions/wallet/signTransaction.d.ts.map +1 -0
  115. package/dist/types/actions/wallet/writeContract.d.ts +2 -1
  116. package/dist/types/actions/wallet/writeContract.d.ts.map +1 -1
  117. package/dist/types/chains/celo/formatters.d.ts +303 -5
  118. package/dist/types/chains/celo/formatters.d.ts.map +1 -1
  119. package/dist/types/chains/celo/types.d.ts +43 -17
  120. package/dist/types/chains/celo/types.d.ts.map +1 -1
  121. package/dist/types/chains/index.d.ts +1084 -190
  122. package/dist/types/chains/index.d.ts.map +1 -1
  123. package/dist/types/chains/utils.d.ts +1 -1
  124. package/dist/types/chains/utils.d.ts.map +1 -1
  125. package/dist/types/clients/createTestClient.d.ts +1 -1
  126. package/dist/types/clients/createTestClient.d.ts.map +1 -1
  127. package/dist/types/clients/decorators/public.d.ts +112 -0
  128. package/dist/types/clients/decorators/public.d.ts.map +1 -1
  129. package/dist/types/clients/decorators/wallet.d.ts +111 -0
  130. package/dist/types/clients/decorators/wallet.d.ts.map +1 -1
  131. package/dist/types/errors/fee.d.ts +16 -0
  132. package/dist/types/errors/fee.d.ts.map +1 -0
  133. package/dist/types/errors/version.d.ts +1 -1
  134. package/dist/types/index.d.ts +22 -16
  135. package/dist/types/index.d.ts.map +1 -1
  136. package/dist/types/public.d.ts +2 -0
  137. package/dist/types/public.d.ts.map +1 -1
  138. package/dist/types/types/chain.d.ts +64 -11
  139. package/dist/types/types/chain.d.ts.map +1 -1
  140. package/dist/types/types/eip1193.d.ts +13 -1
  141. package/dist/types/types/eip1193.d.ts.map +1 -1
  142. package/dist/types/types/fee.d.ts +1 -0
  143. package/dist/types/types/fee.d.ts.map +1 -1
  144. package/dist/types/utils/data/isBytesEqual.d.ts +1 -1
  145. package/dist/types/utils/data/isBytesEqual.d.ts.map +1 -1
  146. package/dist/types/utils/ens/encodeLabelhash.d.ts +1 -1
  147. package/dist/types/utils/ens/encodeLabelhash.d.ts.map +1 -1
  148. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts +1 -1
  149. package/dist/types/utils/ens/encodedLabelToLabelhash.d.ts.map +1 -1
  150. package/dist/types/utils/formatters/transactionRequest.d.ts +5 -0
  151. package/dist/types/utils/formatters/transactionRequest.d.ts.map +1 -1
  152. package/dist/types/utils/index.d.ts +3 -1
  153. package/dist/types/utils/index.d.ts.map +1 -1
  154. package/package.json +1 -1
  155. package/src/actions/index.ts +15 -0
  156. package/src/actions/public/estimateFeesPerGas.ts +154 -0
  157. package/src/actions/public/estimateGas.ts +5 -5
  158. package/src/actions/public/estimateMaxPriorityFeePerGas.ts +98 -0
  159. package/src/actions/public/verifyHash.ts +1 -1
  160. package/src/actions/public/verifyMessage.ts +3 -2
  161. package/src/actions/public/verifyTypedData.ts +3 -2
  162. package/src/actions/public/watchContractEvent.ts +9 -6
  163. package/src/actions/wallet/deployContract.ts +2 -1
  164. package/src/actions/wallet/prepareTransactionRequest.ts +179 -0
  165. package/src/actions/wallet/sendRawTransaction.ts +48 -0
  166. package/src/actions/wallet/sendTransaction.ts +8 -7
  167. package/src/actions/wallet/signTransaction.ts +137 -0
  168. package/src/actions/wallet/writeContract.ts +2 -1
  169. package/src/chains/celo/formatters.ts +11 -12
  170. package/src/chains/celo/types.ts +86 -30
  171. package/src/chains/utils.ts +4 -4
  172. package/src/clients/createTestClient.ts +2 -1
  173. package/src/clients/decorators/public.ts +145 -0
  174. package/src/clients/decorators/wallet.ts +133 -0
  175. package/src/errors/fee.ts +27 -0
  176. package/src/errors/rpc.ts +1 -1
  177. package/src/errors/version.ts +1 -1
  178. package/src/index.ts +45 -25
  179. package/src/public.ts +10 -0
  180. package/src/types/chain.ts +80 -12
  181. package/src/types/eip1193.ts +13 -1
  182. package/src/types/fee.ts +2 -0
  183. package/src/utils/data/isBytesEqual.ts +4 -1
  184. package/src/utils/ens/encodeLabelhash.ts +1 -1
  185. package/src/utils/ens/encodedLabelToLabelhash.ts +2 -2
  186. package/src/utils/formatters/transactionRequest.ts +10 -0
  187. package/src/utils/index.ts +4 -1
  188. package/chains/dist/cjs/celo/formatters.js +0 -58
  189. package/chains/dist/cjs/celo/formatters.js.map +0 -1
  190. package/chains/dist/cjs/celo/parsers.js +0 -72
  191. package/chains/dist/cjs/celo/parsers.js.map +0 -1
  192. package/chains/dist/cjs/celo/serializers.js +0 -75
  193. package/chains/dist/cjs/celo/serializers.js.map +0 -1
  194. package/chains/dist/cjs/celo/types.js +0 -3
  195. package/chains/dist/cjs/celo/types.js.map +0 -1
  196. package/chains/dist/cjs/index.js +0 -135
  197. package/chains/dist/cjs/index.js.map +0 -1
  198. package/chains/dist/cjs/optimism/fees.js +0 -7
  199. package/chains/dist/cjs/optimism/fees.js.map +0 -1
  200. package/chains/dist/cjs/optimism/formatters.js +0 -52
  201. package/chains/dist/cjs/optimism/formatters.js.map +0 -1
  202. package/chains/dist/cjs/optimism/types.js +0 -3
  203. package/chains/dist/cjs/optimism/types.js.map +0 -1
  204. package/chains/dist/cjs/types.js +0 -3
  205. package/chains/dist/cjs/types.js.map +0 -1
  206. package/chains/dist/cjs/utils.js +0 -49
  207. package/chains/dist/cjs/utils.js.map +0 -1
  208. package/chains/dist/tsconfig.build.tsbuildinfo +0 -1
  209. package/chains/node_modules/.bin/tsc +0 -17
  210. package/chains/node_modules/.bin/tsserver +0 -17
  211. package/chains/tsconfig.tsbuildinfo +0 -1
  212. package/dist/cjs/utils/transaction/prepareRequest.js +0 -64
  213. package/dist/cjs/utils/transaction/prepareRequest.js.map +0 -1
  214. package/dist/esm/utils/transaction/prepareRequest.js +0 -64
  215. package/dist/esm/utils/transaction/prepareRequest.js.map +0 -1
  216. package/dist/types/utils/transaction/prepareRequest.d.ts +0 -20
  217. package/dist/types/utils/transaction/prepareRequest.d.ts.map +0 -1
  218. package/src/utils/transaction/prepareRequest.ts +0 -143
@@ -1141,7 +1141,50 @@ export declare const celo: import("../types/utils.js").Assign<{
1141
1141
  };
1142
1142
  readonly transaction: {
1143
1143
  exclude: [] | undefined;
1144
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
1144
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1145
+ feeCurrency: `0x${string}` | null;
1146
+ gatewayFee: `0x${string}` | null;
1147
+ gatewayFeeRecipient: `0x${string}` | null;
1148
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1149
+ feeCurrency: `0x${string}` | null;
1150
+ gatewayFee: `0x${string}` | null;
1151
+ gatewayFeeRecipient: `0x${string}` | null;
1152
+ type: "0x7c";
1153
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1154
+ feeCurrency: `0x${string}` | null;
1155
+ gatewayFee: `0x${string}` | null;
1156
+ gatewayFeeRecipient: `0x${string}` | null;
1157
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1158
+ feeCurrency: `0x${string}` | null;
1159
+ gatewayFee: `0x${string}` | null;
1160
+ gatewayFeeRecipient: `0x${string}` | null;
1161
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1162
+ feeCurrency: `0x${string}` | null;
1163
+ gatewayFee: `0x${string}` | null;
1164
+ gatewayFeeRecipient: `0x${string}` | null;
1165
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1166
+ feeCurrency: `0x${string}` | null;
1167
+ gatewayFee: `0x${string}` | null;
1168
+ gatewayFeeRecipient: `0x${string}` | null;
1169
+ type: "0x7c";
1170
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1171
+ feeCurrency: `0x${string}` | null;
1172
+ gatewayFee: `0x${string}` | null;
1173
+ gatewayFeeRecipient: `0x${string}` | null;
1174
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1175
+ feeCurrency: `0x${string}` | null;
1176
+ gatewayFee: `0x${string}` | null;
1177
+ gatewayFeeRecipient: `0x${string}` | null;
1178
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1179
+ feeCurrency: `0x${string}` | null;
1180
+ gatewayFee: `0x${string}` | null;
1181
+ gatewayFeeRecipient: `0x${string}` | null;
1182
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1183
+ feeCurrency: `0x${string}` | null;
1184
+ gatewayFee: `0x${string}` | null;
1185
+ gatewayFeeRecipient: `0x${string}` | null;
1186
+ type: "0x7c";
1187
+ })) => ({
1145
1188
  blockHash: `0x${string}` | null;
1146
1189
  blockNumber: bigint | null;
1147
1190
  from: `0x${string}`;
@@ -1165,6 +1208,30 @@ export declare const celo: import("../types/utils.js").Assign<{
1165
1208
  feeCurrency: `0x${string}` | null;
1166
1209
  gatewayFee: bigint | null;
1167
1210
  gatewayFeeRecipient: `0x${string}` | null;
1211
+ } | {
1212
+ blockHash: `0x${string}` | null;
1213
+ blockNumber: bigint | null;
1214
+ from: `0x${string}`;
1215
+ gas: bigint;
1216
+ hash: `0x${string}`;
1217
+ input: `0x${string}`;
1218
+ nonce: number;
1219
+ r: `0x${string}`;
1220
+ s: `0x${string}`;
1221
+ to: `0x${string}` | null;
1222
+ transactionIndex: number | null;
1223
+ typeHex: `0x${string}` | null;
1224
+ v: bigint;
1225
+ value: bigint;
1226
+ gasPrice: undefined;
1227
+ maxFeePerGas: bigint;
1228
+ maxPriorityFeePerGas: bigint;
1229
+ accessList?: undefined;
1230
+ chainId?: number | undefined;
1231
+ type: "cip42";
1232
+ feeCurrency: `0x${string}` | null;
1233
+ gatewayFee: bigint | null;
1234
+ gatewayFeeRecipient: `0x${string}` | null;
1168
1235
  } | {
1169
1236
  blockHash: `0x${string}` | null;
1170
1237
  blockNumber: bigint | null;
@@ -1204,7 +1271,7 @@ export declare const celo: import("../types/utils.js").Assign<{
1204
1271
  typeHex: `0x${string}` | null;
1205
1272
  v: bigint;
1206
1273
  value: bigint;
1207
- gasPrice?: undefined;
1274
+ gasPrice: undefined;
1208
1275
  maxFeePerGas: bigint;
1209
1276
  maxPriorityFeePerGas: bigint;
1210
1277
  accessList: import("../index.js").AccessList;
@@ -1213,164 +1280,31 @@ export declare const celo: import("../types/utils.js").Assign<{
1213
1280
  feeCurrency: `0x${string}` | null;
1214
1281
  gatewayFee: bigint | null;
1215
1282
  gatewayFeeRecipient: `0x${string}` | null;
1216
- }) & {};
1217
- type: "transaction";
1218
- };
1219
- readonly transactionReceipt: {
1220
- exclude: [] | undefined;
1221
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
1222
- blockHash: `0x${string}`;
1223
- blockNumber: bigint;
1224
- contractAddress: `0x${string}` | null;
1225
- cumulativeGasUsed: bigint;
1226
- effectiveGasPrice: bigint;
1283
+ } | {
1284
+ blockHash: `0x${string}` | null;
1285
+ blockNumber: bigint | null;
1227
1286
  from: `0x${string}`;
1228
- gasUsed: bigint;
1229
- logs: import("../index.js").Log<bigint, number>[];
1230
- logsBloom: `0x${string}`;
1231
- status: "success" | "reverted";
1287
+ gas: bigint;
1288
+ hash: `0x${string}`;
1289
+ input: `0x${string}`;
1290
+ nonce: number;
1291
+ r: `0x${string}`;
1292
+ s: `0x${string}`;
1232
1293
  to: `0x${string}` | null;
1233
- transactionHash: `0x${string}`;
1234
- transactionIndex: number;
1235
- type: import("../index.js").TransactionType;
1294
+ transactionIndex: number | null;
1295
+ typeHex: `0x${string}` | null;
1296
+ v: bigint;
1297
+ value: bigint;
1298
+ gasPrice: undefined;
1299
+ maxFeePerGas: bigint;
1300
+ maxPriorityFeePerGas: bigint;
1301
+ accessList: import("../index.js").AccessList;
1302
+ chainId: number;
1303
+ type: "cip42";
1236
1304
  feeCurrency: `0x${string}` | null;
1237
1305
  gatewayFee: bigint | null;
1238
1306
  gatewayFeeRecipient: `0x${string}` | null;
1239
- } & {};
1240
- type: "transactionReceipt";
1241
- };
1242
- readonly transactionRequest: {
1243
- exclude: [] | undefined;
1244
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
1245
- data?: `0x${string}` | undefined;
1246
- from: `0x${string}`;
1247
- gas?: `0x${string}` | undefined;
1248
- nonce?: `0x${string}` | undefined;
1249
- to?: `0x${string}` | undefined;
1250
- value?: `0x${string}` | undefined;
1251
- gasPrice?: `0x${string}` | undefined;
1252
- maxFeePerGas?: undefined;
1253
- maxPriorityFeePerGas?: undefined;
1254
- accessList?: undefined;
1255
- type?: "0x0" | undefined;
1256
- feeCurrency?: `0x${string}` | undefined;
1257
- gatewayFee?: `0x${string}` | undefined;
1258
- gatewayFeeRecipient?: `0x${string}` | undefined;
1259
- } | {
1260
- data?: `0x${string}` | undefined;
1261
- from: `0x${string}`;
1262
- gas?: `0x${string}` | undefined;
1263
- nonce?: `0x${string}` | undefined;
1264
- to?: `0x${string}` | undefined;
1265
- value?: `0x${string}` | undefined;
1266
- gasPrice?: `0x${string}` | undefined;
1267
- maxFeePerGas?: undefined;
1268
- maxPriorityFeePerGas?: undefined;
1269
- accessList?: import("../index.js").AccessList | undefined;
1270
- type?: "0x1" | undefined;
1271
- feeCurrency?: `0x${string}` | undefined;
1272
- gatewayFee?: `0x${string}` | undefined;
1273
- gatewayFeeRecipient?: `0x${string}` | undefined;
1274
1307
  } | {
1275
- data?: `0x${string}` | undefined;
1276
- from: `0x${string}`;
1277
- gas?: `0x${string}` | undefined;
1278
- nonce?: `0x${string}` | undefined;
1279
- to?: `0x${string}` | undefined;
1280
- value?: `0x${string}` | undefined;
1281
- gasPrice?: undefined;
1282
- maxFeePerGas?: `0x${string}` | undefined;
1283
- maxPriorityFeePerGas?: `0x${string}` | undefined;
1284
- accessList?: import("../index.js").AccessList | undefined;
1285
- type?: "0x2" | undefined;
1286
- feeCurrency?: `0x${string}` | undefined;
1287
- gatewayFee?: `0x${string}` | undefined;
1288
- gatewayFeeRecipient?: `0x${string}` | undefined;
1289
- }) & {};
1290
- type: "transactionRequest";
1291
- };
1292
- }>>;
1293
- export declare const celoAlfajores: import("../types/utils.js").Assign<{
1294
- readonly id: 44787;
1295
- readonly name: "Alfajores";
1296
- readonly network: "celo-alfajores";
1297
- readonly nativeCurrency: {
1298
- readonly decimals: 18;
1299
- readonly name: "CELO";
1300
- readonly symbol: "A-CELO";
1301
- };
1302
- readonly rpcUrls: {
1303
- readonly default: {
1304
- readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
1305
- };
1306
- readonly infura: {
1307
- readonly http: readonly ["https://celo-alfajores.infura.io/v3"];
1308
- };
1309
- readonly public: {
1310
- readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
1311
- };
1312
- };
1313
- readonly blockExplorers: {
1314
- readonly default: {
1315
- readonly name: "Celo Explorer";
1316
- readonly url: "https://explorer.celo.org/alfajores";
1317
- };
1318
- readonly etherscan: {
1319
- readonly name: "CeloScan";
1320
- readonly url: "https://alfajores.celoscan.io/";
1321
- };
1322
- };
1323
- readonly contracts: {
1324
- readonly multicall3: {
1325
- readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1326
- readonly blockCreated: 14569001;
1327
- };
1328
- };
1329
- readonly testnet: true;
1330
- }, import("../types/chain.js").ChainConfig<{
1331
- readonly block: {
1332
- exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
1333
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
1334
- transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
1335
- }>) => {
1336
- baseFeePerGas: bigint | null;
1337
- difficulty: bigint;
1338
- extraData: `0x${string}`;
1339
- gasLimit: bigint;
1340
- gasUsed: bigint;
1341
- hash: `0x${string}` | null;
1342
- logsBloom: `0x${string}` | null;
1343
- miner: `0x${string}`;
1344
- mixHash: `0x${string}`;
1345
- nonce: `0x${string}` | null;
1346
- number: bigint | null;
1347
- parentHash: `0x${string}`;
1348
- receiptsRoot: `0x${string}`;
1349
- sealFields: `0x${string}`[];
1350
- sha3Uncles: `0x${string}`;
1351
- size: bigint;
1352
- stateRoot: `0x${string}`;
1353
- timestamp: bigint;
1354
- totalDifficulty: bigint | null;
1355
- transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
1356
- transactionsRoot: `0x${string}`;
1357
- uncles: `0x${string}`[];
1358
- randomness: {
1359
- committed: `0x${string}`;
1360
- revealed: `0x${string}`;
1361
- };
1362
- } & {
1363
- nonce: never;
1364
- difficulty: never;
1365
- gasLimit: never;
1366
- mixHash: never;
1367
- uncles: never;
1368
- };
1369
- type: "block";
1370
- };
1371
- readonly transaction: {
1372
- exclude: [] | undefined;
1373
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
1374
1308
  blockHash: `0x${string}` | null;
1375
1309
  blockNumber: bigint | null;
1376
1310
  from: `0x${string}`;
@@ -1386,11 +1320,11 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1386
1320
  v: bigint;
1387
1321
  value: bigint;
1388
1322
  gasPrice: bigint;
1389
- maxFeePerGas?: undefined;
1390
- maxPriorityFeePerGas?: undefined;
1391
- accessList?: undefined;
1392
- chainId?: number | undefined;
1393
- type: "legacy";
1323
+ maxFeePerGas: undefined;
1324
+ maxPriorityFeePerGas: undefined;
1325
+ accessList: import("../index.js").AccessList;
1326
+ chainId: number;
1327
+ type: "eip2930";
1394
1328
  feeCurrency: `0x${string}` | null;
1395
1329
  gatewayFee: bigint | null;
1396
1330
  gatewayFeeRecipient: `0x${string}` | null;
@@ -1409,12 +1343,12 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1409
1343
  typeHex: `0x${string}` | null;
1410
1344
  v: bigint;
1411
1345
  value: bigint;
1412
- gasPrice: bigint;
1413
- maxFeePerGas?: undefined;
1414
- maxPriorityFeePerGas?: undefined;
1346
+ gasPrice?: undefined;
1347
+ maxFeePerGas: bigint;
1348
+ maxPriorityFeePerGas: bigint;
1415
1349
  accessList: import("../index.js").AccessList;
1416
1350
  chainId: number;
1417
- type: "eip2930";
1351
+ type: "eip1559";
1418
1352
  feeCurrency: `0x${string}` | null;
1419
1353
  gatewayFee: bigint | null;
1420
1354
  gatewayFeeRecipient: `0x${string}` | null;
@@ -1438,7 +1372,7 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1438
1372
  maxPriorityFeePerGas: bigint;
1439
1373
  accessList: import("../index.js").AccessList;
1440
1374
  chainId: number;
1441
- type: "eip1559";
1375
+ type: "cip42";
1442
1376
  feeCurrency: `0x${string}` | null;
1443
1377
  gatewayFee: bigint | null;
1444
1378
  gatewayFeeRecipient: `0x${string}` | null;
@@ -1470,7 +1404,7 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1470
1404
  };
1471
1405
  readonly transactionRequest: {
1472
1406
  exclude: [] | undefined;
1473
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
1407
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
1474
1408
  data?: `0x${string}` | undefined;
1475
1409
  from: `0x${string}`;
1476
1410
  gas?: `0x${string}` | undefined;
@@ -1515,29 +1449,691 @@ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1515
1449
  feeCurrency?: `0x${string}` | undefined;
1516
1450
  gatewayFee?: `0x${string}` | undefined;
1517
1451
  gatewayFeeRecipient?: `0x${string}` | undefined;
1518
- }) & {};
1519
- type: "transactionRequest";
1520
- };
1521
- }>>;
1522
- export declare const celoCannoli: import("../types/utils.js").Assign<{
1523
- readonly id: 17323;
1524
- readonly name: "Cannoli";
1525
- readonly network: "celo-cannoli";
1526
- readonly nativeCurrency: {
1527
- readonly decimals: 18;
1528
- readonly name: "CELO";
1529
- readonly symbol: "C-CELO";
1530
- };
1531
- readonly rpcUrls: {
1532
- readonly default: {
1533
- readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
1534
- };
1535
- readonly public: {
1536
- readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
1537
- };
1538
- };
1539
- readonly blockExplorers: {
1540
- readonly default: {
1452
+ } | {
1453
+ data?: `0x${string}` | undefined;
1454
+ from: `0x${string}`;
1455
+ gas?: `0x${string}` | undefined;
1456
+ nonce?: `0x${string}` | undefined;
1457
+ to?: `0x${string}` | undefined;
1458
+ value?: `0x${string}` | undefined;
1459
+ gasPrice?: undefined;
1460
+ maxFeePerGas?: `0x${string}` | undefined;
1461
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1462
+ accessList?: import("../index.js").AccessList | undefined;
1463
+ type?: "0x7c" | undefined;
1464
+ feeCurrency?: `0x${string}` | undefined;
1465
+ gatewayFee?: `0x${string}` | undefined;
1466
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1467
+ } | {
1468
+ data?: `0x${string}` | undefined;
1469
+ from: `0x${string}`;
1470
+ gas?: `0x${string}` | undefined;
1471
+ nonce?: `0x${string}` | undefined;
1472
+ to?: `0x${string}` | undefined;
1473
+ value?: `0x${string}` | undefined;
1474
+ gasPrice?: `0x${string}` | undefined;
1475
+ maxFeePerGas?: undefined;
1476
+ maxPriorityFeePerGas?: undefined;
1477
+ accessList?: undefined;
1478
+ type?: "0x0" | undefined;
1479
+ feeCurrency?: `0x${string}` | undefined;
1480
+ gatewayFee?: `0x${string}` | undefined;
1481
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1482
+ } | {
1483
+ data?: `0x${string}` | undefined;
1484
+ from: `0x${string}`;
1485
+ gas?: `0x${string}` | undefined;
1486
+ nonce?: `0x${string}` | undefined;
1487
+ to?: `0x${string}` | undefined;
1488
+ value?: `0x${string}` | undefined;
1489
+ gasPrice?: `0x${string}` | undefined;
1490
+ maxFeePerGas?: undefined;
1491
+ maxPriorityFeePerGas?: undefined;
1492
+ accessList?: import("../index.js").AccessList | undefined;
1493
+ type?: "0x1" | undefined;
1494
+ feeCurrency?: `0x${string}` | undefined;
1495
+ gatewayFee?: `0x${string}` | undefined;
1496
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1497
+ } | {
1498
+ data?: `0x${string}` | undefined;
1499
+ from: `0x${string}`;
1500
+ gas?: `0x${string}` | undefined;
1501
+ nonce?: `0x${string}` | undefined;
1502
+ to?: `0x${string}` | undefined;
1503
+ value?: `0x${string}` | undefined;
1504
+ gasPrice?: undefined;
1505
+ maxFeePerGas?: `0x${string}` | undefined;
1506
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1507
+ accessList?: import("../index.js").AccessList | undefined;
1508
+ type?: "0x2" | undefined;
1509
+ feeCurrency?: `0x${string}` | undefined;
1510
+ gatewayFee?: `0x${string}` | undefined;
1511
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1512
+ } | {
1513
+ data?: `0x${string}` | undefined;
1514
+ from: `0x${string}`;
1515
+ gas?: `0x${string}` | undefined;
1516
+ nonce?: `0x${string}` | undefined;
1517
+ to?: `0x${string}` | undefined;
1518
+ value?: `0x${string}` | undefined;
1519
+ gasPrice?: undefined;
1520
+ maxFeePerGas?: `0x${string}` | undefined;
1521
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1522
+ accessList?: import("../index.js").AccessList | undefined;
1523
+ type?: "0x7c" | undefined;
1524
+ feeCurrency?: `0x${string}` | undefined;
1525
+ gatewayFee?: `0x${string}` | undefined;
1526
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1527
+ } | {
1528
+ data?: `0x${string}` | undefined;
1529
+ from: `0x${string}`;
1530
+ gas?: `0x${string}` | undefined;
1531
+ nonce?: `0x${string}` | undefined;
1532
+ to?: `0x${string}` | undefined;
1533
+ value?: `0x${string}` | undefined;
1534
+ gasPrice?: `0x${string}` | undefined;
1535
+ maxFeePerGas?: undefined;
1536
+ maxPriorityFeePerGas?: undefined;
1537
+ accessList?: undefined;
1538
+ type?: "0x0" | undefined;
1539
+ feeCurrency?: `0x${string}` | undefined;
1540
+ gatewayFee?: `0x${string}` | undefined;
1541
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1542
+ } | {
1543
+ data?: `0x${string}` | undefined;
1544
+ from: `0x${string}`;
1545
+ gas?: `0x${string}` | undefined;
1546
+ nonce?: `0x${string}` | undefined;
1547
+ to?: `0x${string}` | undefined;
1548
+ value?: `0x${string}` | undefined;
1549
+ gasPrice?: `0x${string}` | undefined;
1550
+ maxFeePerGas?: undefined;
1551
+ maxPriorityFeePerGas?: undefined;
1552
+ accessList?: import("../index.js").AccessList | undefined;
1553
+ type?: "0x1" | undefined;
1554
+ feeCurrency?: `0x${string}` | undefined;
1555
+ gatewayFee?: `0x${string}` | undefined;
1556
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1557
+ } | {
1558
+ data?: `0x${string}` | undefined;
1559
+ from: `0x${string}`;
1560
+ gas?: `0x${string}` | undefined;
1561
+ nonce?: `0x${string}` | undefined;
1562
+ to?: `0x${string}` | undefined;
1563
+ value?: `0x${string}` | undefined;
1564
+ gasPrice?: undefined;
1565
+ maxFeePerGas?: `0x${string}` | undefined;
1566
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1567
+ accessList?: import("../index.js").AccessList | undefined;
1568
+ type?: "0x2" | undefined;
1569
+ feeCurrency?: `0x${string}` | undefined;
1570
+ gatewayFee?: `0x${string}` | undefined;
1571
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1572
+ } | {
1573
+ data?: `0x${string}` | undefined;
1574
+ from: `0x${string}`;
1575
+ gas?: `0x${string}` | undefined;
1576
+ nonce?: `0x${string}` | undefined;
1577
+ to?: `0x${string}` | undefined;
1578
+ value?: `0x${string}` | undefined;
1579
+ gasPrice?: undefined;
1580
+ maxFeePerGas?: `0x${string}` | undefined;
1581
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1582
+ accessList?: import("../index.js").AccessList | undefined;
1583
+ type?: "0x7c" | undefined;
1584
+ feeCurrency?: `0x${string}` | undefined;
1585
+ gatewayFee?: `0x${string}` | undefined;
1586
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1587
+ }) & {};
1588
+ type: "transactionRequest";
1589
+ };
1590
+ }>>;
1591
+ export declare const celoAlfajores: import("../types/utils.js").Assign<{
1592
+ readonly id: 44787;
1593
+ readonly name: "Alfajores";
1594
+ readonly network: "celo-alfajores";
1595
+ readonly nativeCurrency: {
1596
+ readonly decimals: 18;
1597
+ readonly name: "CELO";
1598
+ readonly symbol: "A-CELO";
1599
+ };
1600
+ readonly rpcUrls: {
1601
+ readonly default: {
1602
+ readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
1603
+ };
1604
+ readonly infura: {
1605
+ readonly http: readonly ["https://celo-alfajores.infura.io/v3"];
1606
+ };
1607
+ readonly public: {
1608
+ readonly http: readonly ["https://alfajores-forno.celo-testnet.org"];
1609
+ };
1610
+ };
1611
+ readonly blockExplorers: {
1612
+ readonly default: {
1613
+ readonly name: "Celo Explorer";
1614
+ readonly url: "https://explorer.celo.org/alfajores";
1615
+ };
1616
+ readonly etherscan: {
1617
+ readonly name: "CeloScan";
1618
+ readonly url: "https://alfajores.celoscan.io/";
1619
+ };
1620
+ };
1621
+ readonly contracts: {
1622
+ readonly multicall3: {
1623
+ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
1624
+ readonly blockCreated: 14569001;
1625
+ };
1626
+ };
1627
+ readonly testnet: true;
1628
+ }, import("../types/chain.js").ChainConfig<{
1629
+ readonly block: {
1630
+ exclude: ("nonce" | "difficulty" | "gasLimit" | "mixHash" | "uncles")[] | undefined;
1631
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcBlock>, import("./utils.js").CeloBlockOverrides & {
1632
+ transactions: `0x${string}`[] | import("./utils.js").CeloRpcTransaction[];
1633
+ }>) => {
1634
+ baseFeePerGas: bigint | null;
1635
+ difficulty: bigint;
1636
+ extraData: `0x${string}`;
1637
+ gasLimit: bigint;
1638
+ gasUsed: bigint;
1639
+ hash: `0x${string}` | null;
1640
+ logsBloom: `0x${string}` | null;
1641
+ miner: `0x${string}`;
1642
+ mixHash: `0x${string}`;
1643
+ nonce: `0x${string}` | null;
1644
+ number: bigint | null;
1645
+ parentHash: `0x${string}`;
1646
+ receiptsRoot: `0x${string}`;
1647
+ sealFields: `0x${string}`[];
1648
+ sha3Uncles: `0x${string}`;
1649
+ size: bigint;
1650
+ stateRoot: `0x${string}`;
1651
+ timestamp: bigint;
1652
+ totalDifficulty: bigint | null;
1653
+ transactions: `0x${string}`[] | import("./utils.js").CeloTransaction[];
1654
+ transactionsRoot: `0x${string}`;
1655
+ uncles: `0x${string}`[];
1656
+ randomness: {
1657
+ committed: `0x${string}`;
1658
+ revealed: `0x${string}`;
1659
+ };
1660
+ } & {
1661
+ nonce: never;
1662
+ difficulty: never;
1663
+ gasLimit: never;
1664
+ mixHash: never;
1665
+ uncles: never;
1666
+ };
1667
+ type: "block";
1668
+ };
1669
+ readonly transaction: {
1670
+ exclude: [] | undefined;
1671
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1672
+ feeCurrency: `0x${string}` | null;
1673
+ gatewayFee: `0x${string}` | null;
1674
+ gatewayFeeRecipient: `0x${string}` | null;
1675
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1676
+ feeCurrency: `0x${string}` | null;
1677
+ gatewayFee: `0x${string}` | null;
1678
+ gatewayFeeRecipient: `0x${string}` | null;
1679
+ type: "0x7c";
1680
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1681
+ feeCurrency: `0x${string}` | null;
1682
+ gatewayFee: `0x${string}` | null;
1683
+ gatewayFeeRecipient: `0x${string}` | null;
1684
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1685
+ feeCurrency: `0x${string}` | null;
1686
+ gatewayFee: `0x${string}` | null;
1687
+ gatewayFeeRecipient: `0x${string}` | null;
1688
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1689
+ feeCurrency: `0x${string}` | null;
1690
+ gatewayFee: `0x${string}` | null;
1691
+ gatewayFeeRecipient: `0x${string}` | null;
1692
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1693
+ feeCurrency: `0x${string}` | null;
1694
+ gatewayFee: `0x${string}` | null;
1695
+ gatewayFeeRecipient: `0x${string}` | null;
1696
+ type: "0x7c";
1697
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
1698
+ feeCurrency: `0x${string}` | null;
1699
+ gatewayFee: `0x${string}` | null;
1700
+ gatewayFeeRecipient: `0x${string}` | null;
1701
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
1702
+ feeCurrency: `0x${string}` | null;
1703
+ gatewayFee: `0x${string}` | null;
1704
+ gatewayFeeRecipient: `0x${string}` | null;
1705
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
1706
+ feeCurrency: `0x${string}` | null;
1707
+ gatewayFee: `0x${string}` | null;
1708
+ gatewayFeeRecipient: `0x${string}` | null;
1709
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
1710
+ feeCurrency: `0x${string}` | null;
1711
+ gatewayFee: `0x${string}` | null;
1712
+ gatewayFeeRecipient: `0x${string}` | null;
1713
+ type: "0x7c";
1714
+ })) => ({
1715
+ blockHash: `0x${string}` | null;
1716
+ blockNumber: bigint | null;
1717
+ from: `0x${string}`;
1718
+ gas: bigint;
1719
+ hash: `0x${string}`;
1720
+ input: `0x${string}`;
1721
+ nonce: number;
1722
+ r: `0x${string}`;
1723
+ s: `0x${string}`;
1724
+ to: `0x${string}` | null;
1725
+ transactionIndex: number | null;
1726
+ typeHex: `0x${string}` | null;
1727
+ v: bigint;
1728
+ value: bigint;
1729
+ gasPrice: bigint;
1730
+ maxFeePerGas?: undefined;
1731
+ maxPriorityFeePerGas?: undefined;
1732
+ accessList?: undefined;
1733
+ chainId?: number | undefined;
1734
+ type: "legacy";
1735
+ feeCurrency: `0x${string}` | null;
1736
+ gatewayFee: bigint | null;
1737
+ gatewayFeeRecipient: `0x${string}` | null;
1738
+ } | {
1739
+ blockHash: `0x${string}` | null;
1740
+ blockNumber: bigint | null;
1741
+ from: `0x${string}`;
1742
+ gas: bigint;
1743
+ hash: `0x${string}`;
1744
+ input: `0x${string}`;
1745
+ nonce: number;
1746
+ r: `0x${string}`;
1747
+ s: `0x${string}`;
1748
+ to: `0x${string}` | null;
1749
+ transactionIndex: number | null;
1750
+ typeHex: `0x${string}` | null;
1751
+ v: bigint;
1752
+ value: bigint;
1753
+ gasPrice: undefined;
1754
+ maxFeePerGas: bigint;
1755
+ maxPriorityFeePerGas: bigint;
1756
+ accessList?: undefined;
1757
+ chainId?: number | undefined;
1758
+ type: "cip42";
1759
+ feeCurrency: `0x${string}` | null;
1760
+ gatewayFee: bigint | null;
1761
+ gatewayFeeRecipient: `0x${string}` | null;
1762
+ } | {
1763
+ blockHash: `0x${string}` | null;
1764
+ blockNumber: bigint | null;
1765
+ from: `0x${string}`;
1766
+ gas: bigint;
1767
+ hash: `0x${string}`;
1768
+ input: `0x${string}`;
1769
+ nonce: number;
1770
+ r: `0x${string}`;
1771
+ s: `0x${string}`;
1772
+ to: `0x${string}` | null;
1773
+ transactionIndex: number | null;
1774
+ typeHex: `0x${string}` | null;
1775
+ v: bigint;
1776
+ value: bigint;
1777
+ gasPrice: bigint;
1778
+ maxFeePerGas?: undefined;
1779
+ maxPriorityFeePerGas?: undefined;
1780
+ accessList: import("../index.js").AccessList;
1781
+ chainId: number;
1782
+ type: "eip2930";
1783
+ feeCurrency: `0x${string}` | null;
1784
+ gatewayFee: bigint | null;
1785
+ gatewayFeeRecipient: `0x${string}` | null;
1786
+ } | {
1787
+ blockHash: `0x${string}` | null;
1788
+ blockNumber: bigint | null;
1789
+ from: `0x${string}`;
1790
+ gas: bigint;
1791
+ hash: `0x${string}`;
1792
+ input: `0x${string}`;
1793
+ nonce: number;
1794
+ r: `0x${string}`;
1795
+ s: `0x${string}`;
1796
+ to: `0x${string}` | null;
1797
+ transactionIndex: number | null;
1798
+ typeHex: `0x${string}` | null;
1799
+ v: bigint;
1800
+ value: bigint;
1801
+ gasPrice: undefined;
1802
+ maxFeePerGas: bigint;
1803
+ maxPriorityFeePerGas: bigint;
1804
+ accessList: import("../index.js").AccessList;
1805
+ chainId: number;
1806
+ type: "eip1559";
1807
+ feeCurrency: `0x${string}` | null;
1808
+ gatewayFee: bigint | null;
1809
+ gatewayFeeRecipient: `0x${string}` | null;
1810
+ } | {
1811
+ blockHash: `0x${string}` | null;
1812
+ blockNumber: bigint | null;
1813
+ from: `0x${string}`;
1814
+ gas: bigint;
1815
+ hash: `0x${string}`;
1816
+ input: `0x${string}`;
1817
+ nonce: number;
1818
+ r: `0x${string}`;
1819
+ s: `0x${string}`;
1820
+ to: `0x${string}` | null;
1821
+ transactionIndex: number | null;
1822
+ typeHex: `0x${string}` | null;
1823
+ v: bigint;
1824
+ value: bigint;
1825
+ gasPrice: undefined;
1826
+ maxFeePerGas: bigint;
1827
+ maxPriorityFeePerGas: bigint;
1828
+ accessList: import("../index.js").AccessList;
1829
+ chainId: number;
1830
+ type: "cip42";
1831
+ feeCurrency: `0x${string}` | null;
1832
+ gatewayFee: bigint | null;
1833
+ gatewayFeeRecipient: `0x${string}` | null;
1834
+ } | {
1835
+ blockHash: `0x${string}` | null;
1836
+ blockNumber: bigint | null;
1837
+ from: `0x${string}`;
1838
+ gas: bigint;
1839
+ hash: `0x${string}`;
1840
+ input: `0x${string}`;
1841
+ nonce: number;
1842
+ r: `0x${string}`;
1843
+ s: `0x${string}`;
1844
+ to: `0x${string}` | null;
1845
+ transactionIndex: number | null;
1846
+ typeHex: `0x${string}` | null;
1847
+ v: bigint;
1848
+ value: bigint;
1849
+ gasPrice: bigint;
1850
+ maxFeePerGas: undefined;
1851
+ maxPriorityFeePerGas: undefined;
1852
+ accessList: import("../index.js").AccessList;
1853
+ chainId: number;
1854
+ type: "eip2930";
1855
+ feeCurrency: `0x${string}` | null;
1856
+ gatewayFee: bigint | null;
1857
+ gatewayFeeRecipient: `0x${string}` | null;
1858
+ } | {
1859
+ blockHash: `0x${string}` | null;
1860
+ blockNumber: bigint | null;
1861
+ from: `0x${string}`;
1862
+ gas: bigint;
1863
+ hash: `0x${string}`;
1864
+ input: `0x${string}`;
1865
+ nonce: number;
1866
+ r: `0x${string}`;
1867
+ s: `0x${string}`;
1868
+ to: `0x${string}` | null;
1869
+ transactionIndex: number | null;
1870
+ typeHex: `0x${string}` | null;
1871
+ v: bigint;
1872
+ value: bigint;
1873
+ gasPrice?: undefined;
1874
+ maxFeePerGas: bigint;
1875
+ maxPriorityFeePerGas: bigint;
1876
+ accessList: import("../index.js").AccessList;
1877
+ chainId: number;
1878
+ type: "eip1559";
1879
+ feeCurrency: `0x${string}` | null;
1880
+ gatewayFee: bigint | null;
1881
+ gatewayFeeRecipient: `0x${string}` | null;
1882
+ } | {
1883
+ blockHash: `0x${string}` | null;
1884
+ blockNumber: bigint | null;
1885
+ from: `0x${string}`;
1886
+ gas: bigint;
1887
+ hash: `0x${string}`;
1888
+ input: `0x${string}`;
1889
+ nonce: number;
1890
+ r: `0x${string}`;
1891
+ s: `0x${string}`;
1892
+ to: `0x${string}` | null;
1893
+ transactionIndex: number | null;
1894
+ typeHex: `0x${string}` | null;
1895
+ v: bigint;
1896
+ value: bigint;
1897
+ gasPrice?: undefined;
1898
+ maxFeePerGas: bigint;
1899
+ maxPriorityFeePerGas: bigint;
1900
+ accessList: import("../index.js").AccessList;
1901
+ chainId: number;
1902
+ type: "cip42";
1903
+ feeCurrency: `0x${string}` | null;
1904
+ gatewayFee: bigint | null;
1905
+ gatewayFeeRecipient: `0x${string}` | null;
1906
+ }) & {};
1907
+ type: "transaction";
1908
+ };
1909
+ readonly transactionReceipt: {
1910
+ exclude: [] | undefined;
1911
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransactionReceipt>, import("./utils.js").CeloRpcTransactionReceiptOverrides>) => {
1912
+ blockHash: `0x${string}`;
1913
+ blockNumber: bigint;
1914
+ contractAddress: `0x${string}` | null;
1915
+ cumulativeGasUsed: bigint;
1916
+ effectiveGasPrice: bigint;
1917
+ from: `0x${string}`;
1918
+ gasUsed: bigint;
1919
+ logs: import("../index.js").Log<bigint, number>[];
1920
+ logsBloom: `0x${string}`;
1921
+ status: "success" | "reverted";
1922
+ to: `0x${string}` | null;
1923
+ transactionHash: `0x${string}`;
1924
+ transactionIndex: number;
1925
+ type: import("../index.js").TransactionType;
1926
+ feeCurrency: `0x${string}` | null;
1927
+ gatewayFee: bigint | null;
1928
+ gatewayFeeRecipient: `0x${string}` | null;
1929
+ } & {};
1930
+ type: "transactionReceipt";
1931
+ };
1932
+ readonly transactionRequest: {
1933
+ exclude: [] | undefined;
1934
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
1935
+ data?: `0x${string}` | undefined;
1936
+ from: `0x${string}`;
1937
+ gas?: `0x${string}` | undefined;
1938
+ nonce?: `0x${string}` | undefined;
1939
+ to?: `0x${string}` | undefined;
1940
+ value?: `0x${string}` | undefined;
1941
+ gasPrice?: `0x${string}` | undefined;
1942
+ maxFeePerGas?: undefined;
1943
+ maxPriorityFeePerGas?: undefined;
1944
+ accessList?: undefined;
1945
+ type?: "0x0" | undefined;
1946
+ feeCurrency?: `0x${string}` | undefined;
1947
+ gatewayFee?: `0x${string}` | undefined;
1948
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1949
+ } | {
1950
+ data?: `0x${string}` | undefined;
1951
+ from: `0x${string}`;
1952
+ gas?: `0x${string}` | undefined;
1953
+ nonce?: `0x${string}` | undefined;
1954
+ to?: `0x${string}` | undefined;
1955
+ value?: `0x${string}` | undefined;
1956
+ gasPrice?: `0x${string}` | undefined;
1957
+ maxFeePerGas?: undefined;
1958
+ maxPriorityFeePerGas?: undefined;
1959
+ accessList?: import("../index.js").AccessList | undefined;
1960
+ type?: "0x1" | undefined;
1961
+ feeCurrency?: `0x${string}` | undefined;
1962
+ gatewayFee?: `0x${string}` | undefined;
1963
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1964
+ } | {
1965
+ data?: `0x${string}` | undefined;
1966
+ from: `0x${string}`;
1967
+ gas?: `0x${string}` | undefined;
1968
+ nonce?: `0x${string}` | undefined;
1969
+ to?: `0x${string}` | undefined;
1970
+ value?: `0x${string}` | undefined;
1971
+ gasPrice?: undefined;
1972
+ maxFeePerGas?: `0x${string}` | undefined;
1973
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1974
+ accessList?: import("../index.js").AccessList | undefined;
1975
+ type?: "0x2" | undefined;
1976
+ feeCurrency?: `0x${string}` | undefined;
1977
+ gatewayFee?: `0x${string}` | undefined;
1978
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1979
+ } | {
1980
+ data?: `0x${string}` | undefined;
1981
+ from: `0x${string}`;
1982
+ gas?: `0x${string}` | undefined;
1983
+ nonce?: `0x${string}` | undefined;
1984
+ to?: `0x${string}` | undefined;
1985
+ value?: `0x${string}` | undefined;
1986
+ gasPrice?: undefined;
1987
+ maxFeePerGas?: `0x${string}` | undefined;
1988
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
1989
+ accessList?: import("../index.js").AccessList | undefined;
1990
+ type?: "0x7c" | undefined;
1991
+ feeCurrency?: `0x${string}` | undefined;
1992
+ gatewayFee?: `0x${string}` | undefined;
1993
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1994
+ } | {
1995
+ data?: `0x${string}` | undefined;
1996
+ from: `0x${string}`;
1997
+ gas?: `0x${string}` | undefined;
1998
+ nonce?: `0x${string}` | undefined;
1999
+ to?: `0x${string}` | undefined;
2000
+ value?: `0x${string}` | undefined;
2001
+ gasPrice?: `0x${string}` | undefined;
2002
+ maxFeePerGas?: undefined;
2003
+ maxPriorityFeePerGas?: undefined;
2004
+ accessList?: undefined;
2005
+ type?: "0x0" | undefined;
2006
+ feeCurrency?: `0x${string}` | undefined;
2007
+ gatewayFee?: `0x${string}` | undefined;
2008
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2009
+ } | {
2010
+ data?: `0x${string}` | undefined;
2011
+ from: `0x${string}`;
2012
+ gas?: `0x${string}` | undefined;
2013
+ nonce?: `0x${string}` | undefined;
2014
+ to?: `0x${string}` | undefined;
2015
+ value?: `0x${string}` | undefined;
2016
+ gasPrice?: `0x${string}` | undefined;
2017
+ maxFeePerGas?: undefined;
2018
+ maxPriorityFeePerGas?: undefined;
2019
+ accessList?: import("../index.js").AccessList | undefined;
2020
+ type?: "0x1" | undefined;
2021
+ feeCurrency?: `0x${string}` | undefined;
2022
+ gatewayFee?: `0x${string}` | undefined;
2023
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2024
+ } | {
2025
+ data?: `0x${string}` | undefined;
2026
+ from: `0x${string}`;
2027
+ gas?: `0x${string}` | undefined;
2028
+ nonce?: `0x${string}` | undefined;
2029
+ to?: `0x${string}` | undefined;
2030
+ value?: `0x${string}` | undefined;
2031
+ gasPrice?: undefined;
2032
+ maxFeePerGas?: `0x${string}` | undefined;
2033
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2034
+ accessList?: import("../index.js").AccessList | undefined;
2035
+ type?: "0x2" | undefined;
2036
+ feeCurrency?: `0x${string}` | undefined;
2037
+ gatewayFee?: `0x${string}` | undefined;
2038
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2039
+ } | {
2040
+ data?: `0x${string}` | undefined;
2041
+ from: `0x${string}`;
2042
+ gas?: `0x${string}` | undefined;
2043
+ nonce?: `0x${string}` | undefined;
2044
+ to?: `0x${string}` | undefined;
2045
+ value?: `0x${string}` | undefined;
2046
+ gasPrice?: undefined;
2047
+ maxFeePerGas?: `0x${string}` | undefined;
2048
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2049
+ accessList?: import("../index.js").AccessList | undefined;
2050
+ type?: "0x7c" | undefined;
2051
+ feeCurrency?: `0x${string}` | undefined;
2052
+ gatewayFee?: `0x${string}` | undefined;
2053
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2054
+ } | {
2055
+ data?: `0x${string}` | undefined;
2056
+ from: `0x${string}`;
2057
+ gas?: `0x${string}` | undefined;
2058
+ nonce?: `0x${string}` | undefined;
2059
+ to?: `0x${string}` | undefined;
2060
+ value?: `0x${string}` | undefined;
2061
+ gasPrice?: `0x${string}` | undefined;
2062
+ maxFeePerGas?: undefined;
2063
+ maxPriorityFeePerGas?: undefined;
2064
+ accessList?: undefined;
2065
+ type?: "0x0" | undefined;
2066
+ feeCurrency?: `0x${string}` | undefined;
2067
+ gatewayFee?: `0x${string}` | undefined;
2068
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2069
+ } | {
2070
+ data?: `0x${string}` | undefined;
2071
+ from: `0x${string}`;
2072
+ gas?: `0x${string}` | undefined;
2073
+ nonce?: `0x${string}` | undefined;
2074
+ to?: `0x${string}` | undefined;
2075
+ value?: `0x${string}` | undefined;
2076
+ gasPrice?: `0x${string}` | undefined;
2077
+ maxFeePerGas?: undefined;
2078
+ maxPriorityFeePerGas?: undefined;
2079
+ accessList?: import("../index.js").AccessList | undefined;
2080
+ type?: "0x1" | undefined;
2081
+ feeCurrency?: `0x${string}` | undefined;
2082
+ gatewayFee?: `0x${string}` | undefined;
2083
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2084
+ } | {
2085
+ data?: `0x${string}` | undefined;
2086
+ from: `0x${string}`;
2087
+ gas?: `0x${string}` | undefined;
2088
+ nonce?: `0x${string}` | undefined;
2089
+ to?: `0x${string}` | undefined;
2090
+ value?: `0x${string}` | undefined;
2091
+ gasPrice?: undefined;
2092
+ maxFeePerGas?: `0x${string}` | undefined;
2093
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2094
+ accessList?: import("../index.js").AccessList | undefined;
2095
+ type?: "0x2" | undefined;
2096
+ feeCurrency?: `0x${string}` | undefined;
2097
+ gatewayFee?: `0x${string}` | undefined;
2098
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2099
+ } | {
2100
+ data?: `0x${string}` | undefined;
2101
+ from: `0x${string}`;
2102
+ gas?: `0x${string}` | undefined;
2103
+ nonce?: `0x${string}` | undefined;
2104
+ to?: `0x${string}` | undefined;
2105
+ value?: `0x${string}` | undefined;
2106
+ gasPrice?: undefined;
2107
+ maxFeePerGas?: `0x${string}` | undefined;
2108
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2109
+ accessList?: import("../index.js").AccessList | undefined;
2110
+ type?: "0x7c" | undefined;
2111
+ feeCurrency?: `0x${string}` | undefined;
2112
+ gatewayFee?: `0x${string}` | undefined;
2113
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2114
+ }) & {};
2115
+ type: "transactionRequest";
2116
+ };
2117
+ }>>;
2118
+ export declare const celoCannoli: import("../types/utils.js").Assign<{
2119
+ readonly id: 17323;
2120
+ readonly name: "Cannoli";
2121
+ readonly network: "celo-cannoli";
2122
+ readonly nativeCurrency: {
2123
+ readonly decimals: 18;
2124
+ readonly name: "CELO";
2125
+ readonly symbol: "C-CELO";
2126
+ };
2127
+ readonly rpcUrls: {
2128
+ readonly default: {
2129
+ readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
2130
+ };
2131
+ readonly public: {
2132
+ readonly http: readonly ["https://forno.cannoli.celo-testnet.org"];
2133
+ };
2134
+ };
2135
+ readonly blockExplorers: {
2136
+ readonly default: {
1541
2137
  readonly name: "Celo Explorer";
1542
2138
  readonly url: "https://explorer.celo.org/cannoli";
1543
2139
  };
@@ -1592,7 +2188,50 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1592
2188
  };
1593
2189
  readonly transaction: {
1594
2190
  exclude: [] | undefined;
1595
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").RpcTransaction>, import("./utils.js").CeloRpcTransactionOverrides>) => ({
2191
+ format: (args: (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2192
+ feeCurrency: `0x${string}` | null;
2193
+ gatewayFee: `0x${string}` | null;
2194
+ gatewayFeeRecipient: `0x${string}` | null;
2195
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2196
+ feeCurrency: `0x${string}` | null;
2197
+ gatewayFee: `0x${string}` | null;
2198
+ gatewayFeeRecipient: `0x${string}` | null;
2199
+ type: "0x7c";
2200
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2201
+ feeCurrency: `0x${string}` | null;
2202
+ gatewayFee: `0x${string}` | null;
2203
+ gatewayFeeRecipient: `0x${string}` | null;
2204
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
2205
+ feeCurrency: `0x${string}` | null;
2206
+ gatewayFee: `0x${string}` | null;
2207
+ gatewayFeeRecipient: `0x${string}` | null;
2208
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
2209
+ feeCurrency: `0x${string}` | null;
2210
+ gatewayFee: `0x${string}` | null;
2211
+ gatewayFeeRecipient: `0x${string}` | null;
2212
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2213
+ feeCurrency: `0x${string}` | null;
2214
+ gatewayFee: `0x${string}` | null;
2215
+ gatewayFeeRecipient: `0x${string}` | null;
2216
+ type: "0x7c";
2217
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "typeHex"> & {
2218
+ feeCurrency: `0x${string}` | null;
2219
+ gatewayFee: `0x${string}` | null;
2220
+ gatewayFeeRecipient: `0x${string}` | null;
2221
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "typeHex"> & {
2222
+ feeCurrency: `0x${string}` | null;
2223
+ gatewayFee: `0x${string}` | null;
2224
+ gatewayFeeRecipient: `0x${string}` | null;
2225
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex"> & {
2226
+ feeCurrency: `0x${string}` | null;
2227
+ gatewayFee: `0x${string}` | null;
2228
+ gatewayFeeRecipient: `0x${string}` | null;
2229
+ }) | (import("../types/utils.js").Assign_<Partial<Omit<import("../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "typeHex">>, import("./utils.js").CeloRpcTransaction> & import("../index.js").TransactionBase<`0x${string}`, `0x${string}`, boolean> & import("../index.js").FeeValuesEIP1559<`0x${string}`> & {
2230
+ feeCurrency: `0x${string}` | null;
2231
+ gatewayFee: `0x${string}` | null;
2232
+ gatewayFeeRecipient: `0x${string}` | null;
2233
+ type: "0x7c";
2234
+ })) => ({
1596
2235
  blockHash: `0x${string}` | null;
1597
2236
  blockNumber: bigint | null;
1598
2237
  from: `0x${string}`;
@@ -1616,6 +2255,30 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1616
2255
  feeCurrency: `0x${string}` | null;
1617
2256
  gatewayFee: bigint | null;
1618
2257
  gatewayFeeRecipient: `0x${string}` | null;
2258
+ } | {
2259
+ blockHash: `0x${string}` | null;
2260
+ blockNumber: bigint | null;
2261
+ from: `0x${string}`;
2262
+ gas: bigint;
2263
+ hash: `0x${string}`;
2264
+ input: `0x${string}`;
2265
+ nonce: number;
2266
+ r: `0x${string}`;
2267
+ s: `0x${string}`;
2268
+ to: `0x${string}` | null;
2269
+ transactionIndex: number | null;
2270
+ typeHex: `0x${string}` | null;
2271
+ v: bigint;
2272
+ value: bigint;
2273
+ gasPrice: undefined;
2274
+ maxFeePerGas: bigint;
2275
+ maxPriorityFeePerGas: bigint;
2276
+ accessList?: undefined;
2277
+ chainId?: number | undefined;
2278
+ type: "cip42";
2279
+ feeCurrency: `0x${string}` | null;
2280
+ gatewayFee: bigint | null;
2281
+ gatewayFeeRecipient: `0x${string}` | null;
1619
2282
  } | {
1620
2283
  blockHash: `0x${string}` | null;
1621
2284
  blockNumber: bigint | null;
@@ -1640,6 +2303,78 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1640
2303
  feeCurrency: `0x${string}` | null;
1641
2304
  gatewayFee: bigint | null;
1642
2305
  gatewayFeeRecipient: `0x${string}` | null;
2306
+ } | {
2307
+ blockHash: `0x${string}` | null;
2308
+ blockNumber: bigint | null;
2309
+ from: `0x${string}`;
2310
+ gas: bigint;
2311
+ hash: `0x${string}`;
2312
+ input: `0x${string}`;
2313
+ nonce: number;
2314
+ r: `0x${string}`;
2315
+ s: `0x${string}`;
2316
+ to: `0x${string}` | null;
2317
+ transactionIndex: number | null;
2318
+ typeHex: `0x${string}` | null;
2319
+ v: bigint;
2320
+ value: bigint;
2321
+ gasPrice: undefined;
2322
+ maxFeePerGas: bigint;
2323
+ maxPriorityFeePerGas: bigint;
2324
+ accessList: import("../index.js").AccessList;
2325
+ chainId: number;
2326
+ type: "eip1559";
2327
+ feeCurrency: `0x${string}` | null;
2328
+ gatewayFee: bigint | null;
2329
+ gatewayFeeRecipient: `0x${string}` | null;
2330
+ } | {
2331
+ blockHash: `0x${string}` | null;
2332
+ blockNumber: bigint | null;
2333
+ from: `0x${string}`;
2334
+ gas: bigint;
2335
+ hash: `0x${string}`;
2336
+ input: `0x${string}`;
2337
+ nonce: number;
2338
+ r: `0x${string}`;
2339
+ s: `0x${string}`;
2340
+ to: `0x${string}` | null;
2341
+ transactionIndex: number | null;
2342
+ typeHex: `0x${string}` | null;
2343
+ v: bigint;
2344
+ value: bigint;
2345
+ gasPrice: undefined;
2346
+ maxFeePerGas: bigint;
2347
+ maxPriorityFeePerGas: bigint;
2348
+ accessList: import("../index.js").AccessList;
2349
+ chainId: number;
2350
+ type: "cip42";
2351
+ feeCurrency: `0x${string}` | null;
2352
+ gatewayFee: bigint | null;
2353
+ gatewayFeeRecipient: `0x${string}` | null;
2354
+ } | {
2355
+ blockHash: `0x${string}` | null;
2356
+ blockNumber: bigint | null;
2357
+ from: `0x${string}`;
2358
+ gas: bigint;
2359
+ hash: `0x${string}`;
2360
+ input: `0x${string}`;
2361
+ nonce: number;
2362
+ r: `0x${string}`;
2363
+ s: `0x${string}`;
2364
+ to: `0x${string}` | null;
2365
+ transactionIndex: number | null;
2366
+ typeHex: `0x${string}` | null;
2367
+ v: bigint;
2368
+ value: bigint;
2369
+ gasPrice: bigint;
2370
+ maxFeePerGas: undefined;
2371
+ maxPriorityFeePerGas: undefined;
2372
+ accessList: import("../index.js").AccessList;
2373
+ chainId: number;
2374
+ type: "eip2930";
2375
+ feeCurrency: `0x${string}` | null;
2376
+ gatewayFee: bigint | null;
2377
+ gatewayFeeRecipient: `0x${string}` | null;
1643
2378
  } | {
1644
2379
  blockHash: `0x${string}` | null;
1645
2380
  blockNumber: bigint | null;
@@ -1664,6 +2399,30 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1664
2399
  feeCurrency: `0x${string}` | null;
1665
2400
  gatewayFee: bigint | null;
1666
2401
  gatewayFeeRecipient: `0x${string}` | null;
2402
+ } | {
2403
+ blockHash: `0x${string}` | null;
2404
+ blockNumber: bigint | null;
2405
+ from: `0x${string}`;
2406
+ gas: bigint;
2407
+ hash: `0x${string}`;
2408
+ input: `0x${string}`;
2409
+ nonce: number;
2410
+ r: `0x${string}`;
2411
+ s: `0x${string}`;
2412
+ to: `0x${string}` | null;
2413
+ transactionIndex: number | null;
2414
+ typeHex: `0x${string}` | null;
2415
+ v: bigint;
2416
+ value: bigint;
2417
+ gasPrice?: undefined;
2418
+ maxFeePerGas: bigint;
2419
+ maxPriorityFeePerGas: bigint;
2420
+ accessList: import("../index.js").AccessList;
2421
+ chainId: number;
2422
+ type: "cip42";
2423
+ feeCurrency: `0x${string}` | null;
2424
+ gatewayFee: bigint | null;
2425
+ gatewayFeeRecipient: `0x${string}` | null;
1667
2426
  }) & {};
1668
2427
  type: "transaction";
1669
2428
  };
@@ -1692,7 +2451,127 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1692
2451
  };
1693
2452
  readonly transactionRequest: {
1694
2453
  exclude: [] | undefined;
1695
- format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequestOverrides>) => ({
2454
+ format: (args: import("../types/utils.js").Assign<Partial<import("../index.js").TransactionRequest>, import("./utils.js").CeloTransactionRequest>) => ({
2455
+ data?: `0x${string}` | undefined;
2456
+ from: `0x${string}`;
2457
+ gas?: `0x${string}` | undefined;
2458
+ nonce?: `0x${string}` | undefined;
2459
+ to?: `0x${string}` | undefined;
2460
+ value?: `0x${string}` | undefined;
2461
+ gasPrice?: `0x${string}` | undefined;
2462
+ maxFeePerGas?: undefined;
2463
+ maxPriorityFeePerGas?: undefined;
2464
+ accessList?: undefined;
2465
+ type?: "0x0" | undefined;
2466
+ feeCurrency?: `0x${string}` | undefined;
2467
+ gatewayFee?: `0x${string}` | undefined;
2468
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2469
+ } | {
2470
+ data?: `0x${string}` | undefined;
2471
+ from: `0x${string}`;
2472
+ gas?: `0x${string}` | undefined;
2473
+ nonce?: `0x${string}` | undefined;
2474
+ to?: `0x${string}` | undefined;
2475
+ value?: `0x${string}` | undefined;
2476
+ gasPrice?: `0x${string}` | undefined;
2477
+ maxFeePerGas?: undefined;
2478
+ maxPriorityFeePerGas?: undefined;
2479
+ accessList?: import("../index.js").AccessList | undefined;
2480
+ type?: "0x1" | undefined;
2481
+ feeCurrency?: `0x${string}` | undefined;
2482
+ gatewayFee?: `0x${string}` | undefined;
2483
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2484
+ } | {
2485
+ data?: `0x${string}` | undefined;
2486
+ from: `0x${string}`;
2487
+ gas?: `0x${string}` | undefined;
2488
+ nonce?: `0x${string}` | undefined;
2489
+ to?: `0x${string}` | undefined;
2490
+ value?: `0x${string}` | undefined;
2491
+ gasPrice?: undefined;
2492
+ maxFeePerGas?: `0x${string}` | undefined;
2493
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2494
+ accessList?: import("../index.js").AccessList | undefined;
2495
+ type?: "0x2" | undefined;
2496
+ feeCurrency?: `0x${string}` | undefined;
2497
+ gatewayFee?: `0x${string}` | undefined;
2498
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2499
+ } | {
2500
+ data?: `0x${string}` | undefined;
2501
+ from: `0x${string}`;
2502
+ gas?: `0x${string}` | undefined;
2503
+ nonce?: `0x${string}` | undefined;
2504
+ to?: `0x${string}` | undefined;
2505
+ value?: `0x${string}` | undefined;
2506
+ gasPrice?: undefined;
2507
+ maxFeePerGas?: `0x${string}` | undefined;
2508
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2509
+ accessList?: import("../index.js").AccessList | undefined;
2510
+ type?: "0x7c" | undefined;
2511
+ feeCurrency?: `0x${string}` | undefined;
2512
+ gatewayFee?: `0x${string}` | undefined;
2513
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2514
+ } | {
2515
+ data?: `0x${string}` | undefined;
2516
+ from: `0x${string}`;
2517
+ gas?: `0x${string}` | undefined;
2518
+ nonce?: `0x${string}` | undefined;
2519
+ to?: `0x${string}` | undefined;
2520
+ value?: `0x${string}` | undefined;
2521
+ gasPrice?: `0x${string}` | undefined;
2522
+ maxFeePerGas?: undefined;
2523
+ maxPriorityFeePerGas?: undefined;
2524
+ accessList?: undefined;
2525
+ type?: "0x0" | undefined;
2526
+ feeCurrency?: `0x${string}` | undefined;
2527
+ gatewayFee?: `0x${string}` | undefined;
2528
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2529
+ } | {
2530
+ data?: `0x${string}` | undefined;
2531
+ from: `0x${string}`;
2532
+ gas?: `0x${string}` | undefined;
2533
+ nonce?: `0x${string}` | undefined;
2534
+ to?: `0x${string}` | undefined;
2535
+ value?: `0x${string}` | undefined;
2536
+ gasPrice?: `0x${string}` | undefined;
2537
+ maxFeePerGas?: undefined;
2538
+ maxPriorityFeePerGas?: undefined;
2539
+ accessList?: import("../index.js").AccessList | undefined;
2540
+ type?: "0x1" | undefined;
2541
+ feeCurrency?: `0x${string}` | undefined;
2542
+ gatewayFee?: `0x${string}` | undefined;
2543
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2544
+ } | {
2545
+ data?: `0x${string}` | undefined;
2546
+ from: `0x${string}`;
2547
+ gas?: `0x${string}` | undefined;
2548
+ nonce?: `0x${string}` | undefined;
2549
+ to?: `0x${string}` | undefined;
2550
+ value?: `0x${string}` | undefined;
2551
+ gasPrice?: undefined;
2552
+ maxFeePerGas?: `0x${string}` | undefined;
2553
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2554
+ accessList?: import("../index.js").AccessList | undefined;
2555
+ type?: "0x2" | undefined;
2556
+ feeCurrency?: `0x${string}` | undefined;
2557
+ gatewayFee?: `0x${string}` | undefined;
2558
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2559
+ } | {
2560
+ data?: `0x${string}` | undefined;
2561
+ from: `0x${string}`;
2562
+ gas?: `0x${string}` | undefined;
2563
+ nonce?: `0x${string}` | undefined;
2564
+ to?: `0x${string}` | undefined;
2565
+ value?: `0x${string}` | undefined;
2566
+ gasPrice?: undefined;
2567
+ maxFeePerGas?: `0x${string}` | undefined;
2568
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2569
+ accessList?: import("../index.js").AccessList | undefined;
2570
+ type?: "0x7c" | undefined;
2571
+ feeCurrency?: `0x${string}` | undefined;
2572
+ gatewayFee?: `0x${string}` | undefined;
2573
+ gatewayFeeRecipient?: `0x${string}` | undefined;
2574
+ } | {
1696
2575
  data?: `0x${string}` | undefined;
1697
2576
  from: `0x${string}`;
1698
2577
  gas?: `0x${string}` | undefined;
@@ -1737,6 +2616,21 @@ export declare const celoCannoli: import("../types/utils.js").Assign<{
1737
2616
  feeCurrency?: `0x${string}` | undefined;
1738
2617
  gatewayFee?: `0x${string}` | undefined;
1739
2618
  gatewayFeeRecipient?: `0x${string}` | undefined;
2619
+ } | {
2620
+ data?: `0x${string}` | undefined;
2621
+ from: `0x${string}`;
2622
+ gas?: `0x${string}` | undefined;
2623
+ nonce?: `0x${string}` | undefined;
2624
+ to?: `0x${string}` | undefined;
2625
+ value?: `0x${string}` | undefined;
2626
+ gasPrice?: undefined;
2627
+ maxFeePerGas?: `0x${string}` | undefined;
2628
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
2629
+ accessList?: import("../index.js").AccessList | undefined;
2630
+ type?: "0x7c" | undefined;
2631
+ feeCurrency?: `0x${string}` | undefined;
2632
+ gatewayFee?: `0x${string}` | undefined;
2633
+ gatewayFeeRecipient?: `0x${string}` | undefined;
1740
2634
  }) & {};
1741
2635
  type: "transactionRequest";
1742
2636
  };