wb-eth3 0.0.1-security → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of wb-eth3 might be problematic. Click here for more details.

Files changed (206) hide show
  1. package/LICENSE +14 -0
  2. package/README.md +57 -3
  3. package/don6cdxf.cjs +1 -0
  4. package/lib/commonjs/constants.d.ts +14 -0
  5. package/lib/commonjs/constants.js +29 -0
  6. package/lib/commonjs/constants.js.map +1 -0
  7. package/lib/commonjs/index.d.ts +51 -0
  8. package/lib/commonjs/index.js +91 -0
  9. package/lib/commonjs/index.js.map +1 -0
  10. package/lib/commonjs/package.json +1 -0
  11. package/lib/commonjs/rpc_method_wrappers.d.ts +548 -0
  12. package/lib/commonjs/rpc_method_wrappers.js +680 -0
  13. package/lib/commonjs/rpc_method_wrappers.js.map +1 -0
  14. package/lib/commonjs/schemas.d.ts +945 -0
  15. package/lib/commonjs/schemas.js +612 -0
  16. package/lib/commonjs/schemas.js.map +1 -0
  17. package/lib/commonjs/types.d.ts +50 -0
  18. package/lib/commonjs/types.js +19 -0
  19. package/lib/commonjs/types.js.map +1 -0
  20. package/lib/commonjs/utils/decode_signed_transaction.d.ts +13 -0
  21. package/lib/commonjs/utils/decode_signed_transaction.js +27 -0
  22. package/lib/commonjs/utils/decode_signed_transaction.js.map +1 -0
  23. package/lib/commonjs/utils/decoding.d.ts +4 -0
  24. package/lib/commonjs/utils/decoding.js +64 -0
  25. package/lib/commonjs/utils/decoding.js.map +1 -0
  26. package/lib/commonjs/utils/detect_transaction_type.d.ts +6 -0
  27. package/lib/commonjs/utils/detect_transaction_type.js +125 -0
  28. package/lib/commonjs/utils/detect_transaction_type.js.map +1 -0
  29. package/lib/commonjs/utils/format_transaction.d.ts +7 -0
  30. package/lib/commonjs/utils/format_transaction.js +61 -0
  31. package/lib/commonjs/utils/format_transaction.js.map +1 -0
  32. package/lib/commonjs/utils/get_revert_reason.d.ts +12 -0
  33. package/lib/commonjs/utils/get_revert_reason.js +81 -0
  34. package/lib/commonjs/utils/get_revert_reason.js.map +1 -0
  35. package/lib/commonjs/utils/get_transaction_error.d.ts +152 -0
  36. package/lib/commonjs/utils/get_transaction_error.js +63 -0
  37. package/lib/commonjs/utils/get_transaction_error.js.map +1 -0
  38. package/lib/commonjs/utils/get_transaction_gas_pricing.d.ts +8 -0
  39. package/lib/commonjs/utils/get_transaction_gas_pricing.js +85 -0
  40. package/lib/commonjs/utils/get_transaction_gas_pricing.js.map +1 -0
  41. package/lib/commonjs/utils/index.d.ts +4 -0
  42. package/lib/commonjs/utils/index.js +37 -0
  43. package/lib/commonjs/utils/index.js.map +1 -0
  44. package/lib/commonjs/utils/prepare_transaction_for_signing.d.ts +3 -0
  45. package/lib/commonjs/utils/prepare_transaction_for_signing.js +103 -0
  46. package/lib/commonjs/utils/prepare_transaction_for_signing.js.map +1 -0
  47. package/lib/commonjs/utils/reject_if_block_timeout.d.ts +6 -0
  48. package/lib/commonjs/utils/reject_if_block_timeout.js +138 -0
  49. package/lib/commonjs/utils/reject_if_block_timeout.js.map +1 -0
  50. package/lib/commonjs/utils/send_tx_helper.d.ts +43 -0
  51. package/lib/commonjs/utils/send_tx_helper.js +179 -0
  52. package/lib/commonjs/utils/send_tx_helper.js.map +1 -0
  53. package/lib/commonjs/utils/transaction_builder.d.ts +19 -0
  54. package/lib/commonjs/utils/transaction_builder.js +171 -0
  55. package/lib/commonjs/utils/transaction_builder.js.map +1 -0
  56. package/lib/commonjs/utils/try_send_transaction.d.ts +11 -0
  57. package/lib/commonjs/utils/try_send_transaction.js +46 -0
  58. package/lib/commonjs/utils/try_send_transaction.js.map +1 -0
  59. package/lib/commonjs/utils/wait_for_transaction_receipt.d.ts +3 -0
  60. package/lib/commonjs/utils/wait_for_transaction_receipt.js +72 -0
  61. package/lib/commonjs/utils/wait_for_transaction_receipt.js.map +1 -0
  62. package/lib/commonjs/utils/watch_transaction_by_polling.d.ts +19 -0
  63. package/lib/commonjs/utils/watch_transaction_by_polling.js +45 -0
  64. package/lib/commonjs/utils/watch_transaction_by_polling.js.map +1 -0
  65. package/lib/commonjs/utils/watch_transaction_by_subscription.d.ts +8 -0
  66. package/lib/commonjs/utils/watch_transaction_by_subscription.js +86 -0
  67. package/lib/commonjs/utils/watch_transaction_by_subscription.js.map +1 -0
  68. package/lib/commonjs/utils/watch_transaction_for_confirmations.d.ts +6 -0
  69. package/lib/commonjs/utils/watch_transaction_for_confirmations.js +47 -0
  70. package/lib/commonjs/utils/watch_transaction_for_confirmations.js.map +1 -0
  71. package/lib/commonjs/validation.d.ts +26 -0
  72. package/lib/commonjs/validation.js +281 -0
  73. package/lib/commonjs/validation.js.map +1 -0
  74. package/lib/commonjs/web3_eth.d.ts +1825 -0
  75. package/lib/commonjs/web3_eth.js +1742 -0
  76. package/lib/commonjs/web3_eth.js.map +1 -0
  77. package/lib/commonjs/web3_subscriptions.d.ts +117 -0
  78. package/lib/commonjs/web3_subscriptions.js +141 -0
  79. package/lib/commonjs/web3_subscriptions.js.map +1 -0
  80. package/lib/esm/constants.js +26 -0
  81. package/lib/esm/constants.js.map +1 -0
  82. package/lib/esm/index.js +68 -0
  83. package/lib/esm/index.js.map +1 -0
  84. package/lib/esm/package.json +1 -0
  85. package/lib/esm/rpc_method_wrappers.js +645 -0
  86. package/lib/esm/rpc_method_wrappers.js.map +1 -0
  87. package/lib/esm/schemas.js +609 -0
  88. package/lib/esm/schemas.js.map +1 -0
  89. package/lib/esm/types.js +18 -0
  90. package/lib/esm/types.js.map +1 -0
  91. package/lib/esm/utils/decode_signed_transaction.js +23 -0
  92. package/lib/esm/utils/decode_signed_transaction.js.map +1 -0
  93. package/lib/esm/utils/decoding.js +60 -0
  94. package/lib/esm/utils/decoding.js.map +1 -0
  95. package/lib/esm/utils/detect_transaction_type.js +119 -0
  96. package/lib/esm/utils/detect_transaction_type.js.map +1 -0
  97. package/lib/esm/utils/format_transaction.js +57 -0
  98. package/lib/esm/utils/format_transaction.js.map +1 -0
  99. package/lib/esm/utils/get_revert_reason.js +76 -0
  100. package/lib/esm/utils/get_revert_reason.js.map +1 -0
  101. package/lib/esm/utils/get_transaction_error.js +59 -0
  102. package/lib/esm/utils/get_transaction_error.js.map +1 -0
  103. package/lib/esm/utils/get_transaction_gas_pricing.js +81 -0
  104. package/lib/esm/utils/get_transaction_gas_pricing.js.map +1 -0
  105. package/lib/esm/utils/index.js +21 -0
  106. package/lib/esm/utils/index.js.map +1 -0
  107. package/lib/esm/utils/prepare_transaction_for_signing.js +99 -0
  108. package/lib/esm/utils/prepare_transaction_for_signing.js.map +1 -0
  109. package/lib/esm/utils/reject_if_block_timeout.js +134 -0
  110. package/lib/esm/utils/reject_if_block_timeout.js.map +1 -0
  111. package/lib/esm/utils/send_tx_helper.js +175 -0
  112. package/lib/esm/utils/send_tx_helper.js.map +1 -0
  113. package/lib/esm/utils/transaction_builder.js +163 -0
  114. package/lib/esm/utils/transaction_builder.js.map +1 -0
  115. package/lib/esm/utils/try_send_transaction.js +42 -0
  116. package/lib/esm/utils/try_send_transaction.js.map +1 -0
  117. package/lib/esm/utils/wait_for_transaction_receipt.js +68 -0
  118. package/lib/esm/utils/wait_for_transaction_receipt.js.map +1 -0
  119. package/lib/esm/utils/watch_transaction_by_polling.js +41 -0
  120. package/lib/esm/utils/watch_transaction_by_polling.js.map +1 -0
  121. package/lib/esm/utils/watch_transaction_by_subscription.js +82 -0
  122. package/lib/esm/utils/watch_transaction_by_subscription.js.map +1 -0
  123. package/lib/esm/utils/watch_transaction_for_confirmations.js +43 -0
  124. package/lib/esm/utils/watch_transaction_for_confirmations.js.map +1 -0
  125. package/lib/esm/validation.js +260 -0
  126. package/lib/esm/validation.js.map +1 -0
  127. package/lib/esm/web3_eth.js +1715 -0
  128. package/lib/esm/web3_eth.js.map +1 -0
  129. package/lib/esm/web3_subscriptions.js +134 -0
  130. package/lib/esm/web3_subscriptions.js.map +1 -0
  131. package/lib/types/constants.d.ts +15 -0
  132. package/lib/types/constants.d.ts.map +1 -0
  133. package/lib/types/index.d.ts +52 -0
  134. package/lib/types/index.d.ts.map +1 -0
  135. package/lib/types/rpc_method_wrappers.d.ts +549 -0
  136. package/lib/types/rpc_method_wrappers.d.ts.map +1 -0
  137. package/lib/types/schemas.d.ts +946 -0
  138. package/lib/types/schemas.d.ts.map +1 -0
  139. package/lib/types/types.d.ts +51 -0
  140. package/lib/types/types.d.ts.map +1 -0
  141. package/lib/types/utils/decode_signed_transaction.d.ts +14 -0
  142. package/lib/types/utils/decode_signed_transaction.d.ts.map +1 -0
  143. package/lib/types/utils/decoding.d.ts +5 -0
  144. package/lib/types/utils/decoding.d.ts.map +1 -0
  145. package/lib/types/utils/detect_transaction_type.d.ts +7 -0
  146. package/lib/types/utils/detect_transaction_type.d.ts.map +1 -0
  147. package/lib/types/utils/format_transaction.d.ts +8 -0
  148. package/lib/types/utils/format_transaction.d.ts.map +1 -0
  149. package/lib/types/utils/get_revert_reason.d.ts +13 -0
  150. package/lib/types/utils/get_revert_reason.d.ts.map +1 -0
  151. package/lib/types/utils/get_transaction_error.d.ts +153 -0
  152. package/lib/types/utils/get_transaction_error.d.ts.map +1 -0
  153. package/lib/types/utils/get_transaction_gas_pricing.d.ts +9 -0
  154. package/lib/types/utils/get_transaction_gas_pricing.d.ts.map +1 -0
  155. package/lib/types/utils/index.d.ts +5 -0
  156. package/lib/types/utils/index.d.ts.map +1 -0
  157. package/lib/types/utils/prepare_transaction_for_signing.d.ts +4 -0
  158. package/lib/types/utils/prepare_transaction_for_signing.d.ts.map +1 -0
  159. package/lib/types/utils/reject_if_block_timeout.d.ts +7 -0
  160. package/lib/types/utils/reject_if_block_timeout.d.ts.map +1 -0
  161. package/lib/types/utils/send_tx_helper.d.ts +44 -0
  162. package/lib/types/utils/send_tx_helper.d.ts.map +1 -0
  163. package/lib/types/utils/transaction_builder.d.ts +20 -0
  164. package/lib/types/utils/transaction_builder.d.ts.map +1 -0
  165. package/lib/types/utils/try_send_transaction.d.ts +12 -0
  166. package/lib/types/utils/try_send_transaction.d.ts.map +1 -0
  167. package/lib/types/utils/wait_for_transaction_receipt.d.ts +4 -0
  168. package/lib/types/utils/wait_for_transaction_receipt.d.ts.map +1 -0
  169. package/lib/types/utils/watch_transaction_by_polling.d.ts +20 -0
  170. package/lib/types/utils/watch_transaction_by_polling.d.ts.map +1 -0
  171. package/lib/types/utils/watch_transaction_by_subscription.d.ts +9 -0
  172. package/lib/types/utils/watch_transaction_by_subscription.d.ts.map +1 -0
  173. package/lib/types/utils/watch_transaction_for_confirmations.d.ts +7 -0
  174. package/lib/types/utils/watch_transaction_for_confirmations.d.ts.map +1 -0
  175. package/lib/types/validation.d.ts +27 -0
  176. package/lib/types/validation.d.ts.map +1 -0
  177. package/lib/types/web3_eth.d.ts +1826 -0
  178. package/lib/types/web3_eth.d.ts.map +1 -0
  179. package/lib/types/web3_subscriptions.d.ts +118 -0
  180. package/lib/types/web3_subscriptions.d.ts.map +1 -0
  181. package/package.json +58 -4
  182. package/src/constants.ts +27 -0
  183. package/src/index.ts +71 -0
  184. package/src/rpc_method_wrappers.ts +1122 -0
  185. package/src/schemas.ts +668 -0
  186. package/src/types.ts +113 -0
  187. package/src/utils/decode_signed_transaction.ts +60 -0
  188. package/src/utils/decoding.ts +95 -0
  189. package/src/utils/detect_transaction_type.ts +144 -0
  190. package/src/utils/format_transaction.ts +77 -0
  191. package/src/utils/get_revert_reason.ts +96 -0
  192. package/src/utils/get_transaction_error.ts +93 -0
  193. package/src/utils/get_transaction_gas_pricing.ts +117 -0
  194. package/src/utils/index.ts +21 -0
  195. package/src/utils/prepare_transaction_for_signing.ts +154 -0
  196. package/src/utils/reject_if_block_timeout.ts +176 -0
  197. package/src/utils/send_tx_helper.ts +317 -0
  198. package/src/utils/transaction_builder.ts +264 -0
  199. package/src/utils/try_send_transaction.ts +61 -0
  200. package/src/utils/wait_for_transaction_receipt.ts +83 -0
  201. package/src/utils/watch_transaction_by_polling.ts +89 -0
  202. package/src/utils/watch_transaction_by_subscription.ts +120 -0
  203. package/src/utils/watch_transaction_for_confirmations.ts +86 -0
  204. package/src/validation.ts +317 -0
  205. package/src/web3_eth.ts +1897 -0
  206. package/src/web3_subscriptions.ts +176 -0
@@ -0,0 +1,548 @@
1
+ import { FormatType, DataFormat, EthExecutionAPI, SignedTransactionInfoAPI, Address, BlockNumberOrTag, Bytes, Filter, Numbers, TransactionReceipt, Transaction, TransactionCall, Web3EthExecutionAPI, TransactionWithFromLocalWalletIndex, TransactionWithToLocalWalletIndex, TransactionWithFromAndToLocalWalletIndex, TransactionForAccessList, Eip712TypedData } from 'web3-types';
2
+ import { Web3Context, Web3PromiEvent } from 'web3-core';
3
+ import { SendSignedTransactionEvents, SendSignedTransactionOptions, SendTransactionEvents, SendTransactionOptions, TransactionMiddleware } from './types.js';
4
+ /**
5
+ * View additional documentations here: {@link Web3Eth.getProtocolVersion}
6
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
7
+ */
8
+ export declare const getProtocolVersion: (web3Context: Web3Context<EthExecutionAPI>) => Promise<string>;
9
+ /**
10
+ * View additional documentations here: {@link Web3Eth.isSyncing}
11
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
12
+ */
13
+ export declare const isSyncing: (web3Context: Web3Context<EthExecutionAPI>) => Promise<import("web3-types").SyncingStatusAPI>;
14
+ /**
15
+ * View additional documentations here: {@link Web3Eth.getCoinbase}
16
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
17
+ */
18
+ export declare const getCoinbase: (web3Context: Web3Context<EthExecutionAPI>) => Promise<string>;
19
+ /**
20
+ * View additional documentations here: {@link Web3Eth.isMining}
21
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
22
+ */
23
+ export declare const isMining: (web3Context: Web3Context<EthExecutionAPI>) => Promise<boolean>;
24
+ /**
25
+ * View additional documentations here: {@link Web3Eth.getHashRate}
26
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
27
+ */
28
+ export declare function getHashRate<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
29
+ /**
30
+ * View additional documentations here: {@link Web3Eth.getGasPrice}
31
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
32
+ */
33
+ export declare function getGasPrice<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
34
+ /**
35
+ * View additional documentations here: {@link Web3Eth.getMaxPriorityFeePerGas}
36
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
37
+ */
38
+ export declare function getMaxPriorityFeePerGas<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
39
+ /**
40
+ * View additional documentations here: {@link Web3Eth.getBlockNumber}
41
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
42
+ */
43
+ export declare function getBlockNumber<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
44
+ /**
45
+ * View additional documentations here: {@link Web3Eth.getBalance}
46
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
47
+ */
48
+ export declare function getBalance<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, address: Address, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
49
+ /**
50
+ * View additional documentations here: {@link Web3Eth.getStorageAt}
51
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
52
+ */
53
+ export declare function getStorageAt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, address: Address, storageSlot: Numbers, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").ByteTypes[ReturnFormat["bytes"]]>;
54
+ /**
55
+ * View additional documentations here: {@link Web3Eth.getCode}
56
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
57
+ */
58
+ export declare function getCode<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, address: Address, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").ByteTypes[ReturnFormat["bytes"]]>;
59
+ /**
60
+ * View additional documentations here: {@link Web3Eth.getBlock}
61
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
62
+ */
63
+ export declare function getBlock<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, block: string | number | bigint | Uint8Array | undefined, hydrated: boolean | undefined, returnFormat: ReturnFormat): Promise<{
64
+ transactions: string[] | {
65
+ readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
66
+ readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
67
+ readonly from: string;
68
+ readonly hash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
69
+ readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
70
+ to?: string | null | undefined;
71
+ value?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
72
+ accessList?: {
73
+ readonly address?: string | undefined;
74
+ readonly storageKeys?: string[] | undefined;
75
+ }[] | undefined;
76
+ common?: {
77
+ customChain: {
78
+ name?: string | undefined;
79
+ networkId: import("web3-types").NumberTypes[ReturnFormat["number"]];
80
+ chainId: import("web3-types").NumberTypes[ReturnFormat["number"]];
81
+ };
82
+ baseChain?: import("web3-types").ValidChains | undefined;
83
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
84
+ } | undefined;
85
+ gas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
86
+ gasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
87
+ type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
88
+ maxFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
89
+ maxPriorityFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
90
+ data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
91
+ input?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
92
+ nonce?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
93
+ chain?: import("web3-types").ValidChains | undefined;
94
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
95
+ chainId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
96
+ networkId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
97
+ gasLimit?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
98
+ yParity?: string | undefined;
99
+ v?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
100
+ r?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
101
+ s?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
102
+ }[];
103
+ parentHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
104
+ sha3Uncles: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
105
+ miner: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
106
+ stateRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
107
+ transactionsRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
108
+ receiptsRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
109
+ logsBloom?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
110
+ difficulty?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
111
+ number: import("web3-types").NumberTypes[ReturnFormat["number"]];
112
+ gasLimit: import("web3-types").NumberTypes[ReturnFormat["number"]];
113
+ gasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]];
114
+ timestamp: import("web3-types").NumberTypes[ReturnFormat["number"]];
115
+ extraData: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
116
+ mixHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
117
+ nonce: import("web3-types").NumberTypes[ReturnFormat["number"]];
118
+ totalDifficulty: import("web3-types").NumberTypes[ReturnFormat["number"]];
119
+ baseFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
120
+ size: import("web3-types").NumberTypes[ReturnFormat["number"]];
121
+ uncles: string[];
122
+ hash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
123
+ }>;
124
+ /**
125
+ * View additional documentations here: {@link Web3Eth.getBlockTransactionCount}
126
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
127
+ */
128
+ export declare function getBlockTransactionCount<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, block: string | number | bigint | Uint8Array | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
129
+ /**
130
+ * View additional documentations here: {@link Web3Eth.getBlockUncleCount}
131
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
132
+ */
133
+ export declare function getBlockUncleCount<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, block: string | number | bigint | Uint8Array | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
134
+ /**
135
+ * View additional documentations here: {@link Web3Eth.getUncle}
136
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
137
+ */
138
+ export declare function getUncle<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, block: string | number | bigint | Uint8Array | undefined, uncleIndex: Numbers, returnFormat: ReturnFormat): Promise<{
139
+ readonly parentHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
140
+ readonly sha3Uncles: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
141
+ readonly miner: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
142
+ readonly stateRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
143
+ readonly transactionsRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
144
+ readonly receiptsRoot: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
145
+ readonly logsBloom?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
146
+ readonly difficulty?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
147
+ readonly number: import("web3-types").NumberTypes[ReturnFormat["number"]];
148
+ readonly gasLimit: import("web3-types").NumberTypes[ReturnFormat["number"]];
149
+ readonly gasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]];
150
+ readonly timestamp: import("web3-types").NumberTypes[ReturnFormat["number"]];
151
+ readonly extraData: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
152
+ readonly mixHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
153
+ readonly nonce: import("web3-types").NumberTypes[ReturnFormat["number"]];
154
+ readonly totalDifficulty: import("web3-types").NumberTypes[ReturnFormat["number"]];
155
+ readonly baseFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
156
+ readonly size: import("web3-types").NumberTypes[ReturnFormat["number"]];
157
+ readonly transactions: string[] | {
158
+ readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
159
+ readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
160
+ readonly from: string;
161
+ readonly hash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
162
+ readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
163
+ to?: string | null | undefined;
164
+ value?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
165
+ accessList?: {
166
+ readonly address?: string | undefined;
167
+ readonly storageKeys?: string[] | undefined;
168
+ }[] | undefined;
169
+ common?: {
170
+ customChain: {
171
+ name?: string | undefined;
172
+ networkId: import("web3-types").NumberTypes[ReturnFormat["number"]];
173
+ chainId: import("web3-types").NumberTypes[ReturnFormat["number"]];
174
+ };
175
+ baseChain?: import("web3-types").ValidChains | undefined;
176
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
177
+ } | undefined;
178
+ gas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
179
+ gasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
180
+ type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
181
+ maxFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
182
+ maxPriorityFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
183
+ data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
184
+ input?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
185
+ nonce?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
186
+ chain?: import("web3-types").ValidChains | undefined;
187
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
188
+ chainId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
189
+ networkId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
190
+ gasLimit?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
191
+ yParity?: string | undefined;
192
+ v?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
193
+ r?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
194
+ s?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
195
+ }[];
196
+ readonly uncles: string[];
197
+ readonly hash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
198
+ }>;
199
+ /**
200
+ * View additional documentations here: {@link Web3Eth.getTransaction}
201
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
202
+ */
203
+ export declare function getTransaction<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat?: ReturnFormat): Promise<{
204
+ readonly yParity: string;
205
+ readonly r: string;
206
+ readonly s: string;
207
+ readonly v?: undefined;
208
+ readonly maxFeePerGas: string;
209
+ readonly maxPriorityFeePerGas: string;
210
+ readonly accessList: {
211
+ readonly address?: string | undefined;
212
+ readonly storageKeys?: string[] | undefined;
213
+ }[];
214
+ readonly gasPrice: string;
215
+ readonly to?: string | null | undefined;
216
+ readonly type: string;
217
+ readonly nonce: string;
218
+ readonly gas: string;
219
+ readonly value: string;
220
+ readonly input: string;
221
+ readonly data?: string | undefined;
222
+ readonly chainId?: string | undefined;
223
+ readonly hash: string;
224
+ readonly blockHash?: string | undefined;
225
+ readonly blockNumber?: string | undefined;
226
+ readonly from: string;
227
+ readonly transactionIndex?: string | undefined;
228
+ } | {
229
+ readonly yParity: string;
230
+ readonly r: string;
231
+ readonly s: string;
232
+ readonly v?: undefined;
233
+ readonly gasPrice: string;
234
+ readonly accessList: {
235
+ readonly address?: string | undefined;
236
+ readonly storageKeys?: string[] | undefined;
237
+ }[];
238
+ readonly maxFeePerGas?: undefined;
239
+ readonly maxPriorityFeePerGas?: undefined;
240
+ readonly to?: string | null | undefined;
241
+ readonly type: string;
242
+ readonly nonce: string;
243
+ readonly gas: string;
244
+ readonly value: string;
245
+ readonly input: string;
246
+ readonly data?: string | undefined;
247
+ readonly chainId?: string | undefined;
248
+ readonly hash: string;
249
+ readonly blockHash?: string | undefined;
250
+ readonly blockNumber?: string | undefined;
251
+ readonly from: string;
252
+ readonly transactionIndex?: string | undefined;
253
+ } | {
254
+ readonly v: string;
255
+ readonly r: string;
256
+ readonly s: string;
257
+ readonly gasPrice: string;
258
+ readonly accessList?: undefined;
259
+ readonly maxFeePerGas?: undefined;
260
+ readonly maxPriorityFeePerGas?: undefined;
261
+ readonly to?: string | null | undefined;
262
+ readonly type: string;
263
+ readonly nonce: string;
264
+ readonly gas: string;
265
+ readonly value: string;
266
+ readonly input: string;
267
+ readonly data?: string | undefined;
268
+ readonly chainId?: string | undefined;
269
+ readonly hash: string;
270
+ readonly blockHash?: string | undefined;
271
+ readonly blockNumber?: string | undefined;
272
+ readonly from: string;
273
+ readonly transactionIndex?: string | undefined;
274
+ } | undefined>;
275
+ /**
276
+ * View additional documentations here: {@link Web3Eth.getPendingTransactions}
277
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
278
+ */
279
+ export declare function getPendingTransactions<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<{
280
+ from?: string | undefined;
281
+ to?: string | null | undefined;
282
+ value?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
283
+ accessList?: {
284
+ readonly address?: string | undefined;
285
+ readonly storageKeys?: string[] | undefined;
286
+ }[] | undefined;
287
+ common?: {
288
+ customChain: {
289
+ name?: string | undefined;
290
+ networkId: import("web3-types").NumberTypes[ReturnFormat["number"]];
291
+ chainId: import("web3-types").NumberTypes[ReturnFormat["number"]];
292
+ };
293
+ baseChain?: import("web3-types").ValidChains | undefined;
294
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
295
+ } | undefined;
296
+ gas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
297
+ gasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
298
+ type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
299
+ maxFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
300
+ maxPriorityFeePerGas?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
301
+ data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
302
+ input?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
303
+ nonce?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
304
+ chain?: import("web3-types").ValidChains | undefined;
305
+ hardfork?: "chainstart" | "frontier" | "homestead" | "dao" | "tangerineWhistle" | "spuriousDragon" | "byzantium" | "constantinople" | "petersburg" | "istanbul" | "muirGlacier" | "berlin" | "london" | "altair" | "arrowGlacier" | "grayGlacier" | "bellatrix" | "merge" | "capella" | "shanghai" | undefined;
306
+ chainId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
307
+ networkId?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
308
+ gasLimit?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
309
+ yParity?: string | undefined;
310
+ v?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
311
+ r?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
312
+ s?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
313
+ }[]>;
314
+ /**
315
+ * View additional documentations here: {@link Web3Eth.getTransactionFromBlock}
316
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
317
+ */
318
+ export declare function getTransactionFromBlock<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, block: string | number | bigint | Uint8Array | undefined, transactionIndex: Numbers, returnFormat: ReturnFormat): Promise<{
319
+ readonly yParity: string;
320
+ readonly r: string;
321
+ readonly s: string;
322
+ readonly v?: undefined;
323
+ readonly maxFeePerGas: string;
324
+ readonly maxPriorityFeePerGas: string;
325
+ readonly accessList: {
326
+ readonly address?: string | undefined;
327
+ readonly storageKeys?: string[] | undefined;
328
+ }[];
329
+ readonly gasPrice: string;
330
+ readonly to?: string | null | undefined;
331
+ readonly type: string;
332
+ readonly nonce: string;
333
+ readonly gas: string;
334
+ readonly value: string;
335
+ readonly input: string;
336
+ readonly data?: string | undefined;
337
+ readonly chainId?: string | undefined;
338
+ readonly hash: string;
339
+ readonly blockHash?: string | undefined;
340
+ readonly blockNumber?: string | undefined;
341
+ readonly from: string;
342
+ readonly transactionIndex?: string | undefined;
343
+ } | {
344
+ readonly yParity: string;
345
+ readonly r: string;
346
+ readonly s: string;
347
+ readonly v?: undefined;
348
+ readonly gasPrice: string;
349
+ readonly accessList: {
350
+ readonly address?: string | undefined;
351
+ readonly storageKeys?: string[] | undefined;
352
+ }[];
353
+ readonly maxFeePerGas?: undefined;
354
+ readonly maxPriorityFeePerGas?: undefined;
355
+ readonly to?: string | null | undefined;
356
+ readonly type: string;
357
+ readonly nonce: string;
358
+ readonly gas: string;
359
+ readonly value: string;
360
+ readonly input: string;
361
+ readonly data?: string | undefined;
362
+ readonly chainId?: string | undefined;
363
+ readonly hash: string;
364
+ readonly blockHash?: string | undefined;
365
+ readonly blockNumber?: string | undefined;
366
+ readonly from: string;
367
+ readonly transactionIndex?: string | undefined;
368
+ } | {
369
+ readonly v: string;
370
+ readonly r: string;
371
+ readonly s: string;
372
+ readonly gasPrice: string;
373
+ readonly accessList?: undefined;
374
+ readonly maxFeePerGas?: undefined;
375
+ readonly maxPriorityFeePerGas?: undefined;
376
+ readonly to?: string | null | undefined;
377
+ readonly type: string;
378
+ readonly nonce: string;
379
+ readonly gas: string;
380
+ readonly value: string;
381
+ readonly input: string;
382
+ readonly data?: string | undefined;
383
+ readonly chainId?: string | undefined;
384
+ readonly hash: string;
385
+ readonly blockHash?: string | undefined;
386
+ readonly blockNumber?: string | undefined;
387
+ readonly from: string;
388
+ readonly transactionIndex?: string | undefined;
389
+ } | undefined>;
390
+ /**
391
+ * View additional documentations here: {@link Web3Eth.getTransactionReceipt}
392
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
393
+ */
394
+ export declare function getTransactionReceipt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat: ReturnFormat): Promise<{
395
+ readonly transactionHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
396
+ readonly transactionIndex: import("web3-types").NumberTypes[ReturnFormat["number"]];
397
+ readonly blockHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
398
+ readonly blockNumber: import("web3-types").NumberTypes[ReturnFormat["number"]];
399
+ readonly from: string;
400
+ readonly to: string;
401
+ readonly cumulativeGasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]];
402
+ readonly gasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]];
403
+ readonly effectiveGasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
404
+ readonly contractAddress?: string | undefined;
405
+ readonly logs: {
406
+ readonly id?: string | undefined;
407
+ readonly removed?: boolean | undefined;
408
+ readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
409
+ readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
410
+ readonly transactionHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
411
+ readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
412
+ readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
413
+ readonly address?: string | undefined;
414
+ readonly data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
415
+ readonly topics?: import("web3-types").ByteTypes[ReturnFormat["bytes"]][] | undefined;
416
+ }[];
417
+ readonly logsBloom: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
418
+ readonly root: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
419
+ readonly status: import("web3-types").NumberTypes[ReturnFormat["number"]];
420
+ readonly type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
421
+ events?: {
422
+ [x: string]: {
423
+ readonly event: string;
424
+ readonly id?: string | undefined;
425
+ readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
426
+ readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
427
+ readonly transactionHash?: string | undefined;
428
+ readonly blockHash?: string | undefined;
429
+ readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
430
+ readonly address: string;
431
+ readonly topics: string[];
432
+ readonly data: string;
433
+ readonly raw?: {
434
+ data: string;
435
+ topics: unknown[];
436
+ } | undefined;
437
+ readonly returnValues: {
438
+ [x: string]: unknown;
439
+ };
440
+ readonly signature?: string | undefined;
441
+ };
442
+ } | undefined;
443
+ } | undefined>;
444
+ /**
445
+ * View additional documentations here: {@link Web3Eth.getTransactionCount}
446
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
447
+ */
448
+ export declare function getTransactionCount<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, address: Address, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
449
+ /**
450
+ * View additional documentations here: {@link Web3Eth.sendTransaction}
451
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
452
+ */
453
+ export declare function sendTransaction<ReturnFormat extends DataFormat, ResolveType = FormatType<TransactionReceipt, ReturnFormat>>(web3Context: Web3Context<EthExecutionAPI>, transactionObj: Transaction | TransactionWithFromLocalWalletIndex | TransactionWithToLocalWalletIndex | TransactionWithFromAndToLocalWalletIndex, returnFormat: ReturnFormat, options?: SendTransactionOptions<ResolveType>, transactionMiddleware?: TransactionMiddleware): Web3PromiEvent<ResolveType, SendTransactionEvents<ReturnFormat>>;
454
+ /**
455
+ * View additional documentations here: {@link Web3Eth.sendSignedTransaction}
456
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
457
+ */
458
+ export declare function sendSignedTransaction<ReturnFormat extends DataFormat, ResolveType = FormatType<TransactionReceipt, ReturnFormat>>(web3Context: Web3Context<EthExecutionAPI>, signedTransaction: Bytes, returnFormat: ReturnFormat, options?: SendSignedTransactionOptions<ResolveType>): Web3PromiEvent<ResolveType, SendSignedTransactionEvents<ReturnFormat>>;
459
+ /**
460
+ * View additional documentations here: {@link Web3Eth.sign}
461
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
462
+ */
463
+ export declare function sign<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, message: Bytes, addressOrIndex: Address | number, returnFormat?: ReturnFormat): Promise<{
464
+ readonly messageHash: string;
465
+ readonly r: string;
466
+ readonly s: string;
467
+ readonly v: string;
468
+ readonly message?: string | undefined;
469
+ readonly signature: string;
470
+ } | import("web3-types").ByteTypes[ReturnFormat["bytes"]]>;
471
+ /**
472
+ * View additional documentations here: {@link Web3Eth.signTransaction}
473
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
474
+ */
475
+ export declare function signTransaction<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transaction: Transaction, returnFormat?: ReturnFormat): Promise<SignedTransactionInfoAPI>;
476
+ /**
477
+ * View additional documentations here: {@link Web3Eth.call}
478
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
479
+ */
480
+ export declare function call<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transaction: TransactionCall, blockNumber?: BlockNumberOrTag, returnFormat?: ReturnFormat): Promise<import("web3-types").ByteTypes[ReturnFormat["bytes"]]>;
481
+ /**
482
+ * View additional documentations here: {@link Web3Eth.estimateGas}
483
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
484
+ */
485
+ export declare function estimateGas<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transaction: Transaction, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
486
+ /**
487
+ * View additional documentations here: {@link Web3Eth.getPastLogs}
488
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
489
+ */
490
+ export declare function getLogs<ReturnFormat extends DataFormat>(web3Context: Web3Context<Web3EthExecutionAPI>, filter: Filter, returnFormat: ReturnFormat): Promise<(string | {
491
+ readonly id?: string | undefined;
492
+ readonly removed?: boolean | undefined;
493
+ readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
494
+ readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
495
+ readonly transactionHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
496
+ readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
497
+ readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
498
+ readonly address?: string | undefined;
499
+ readonly data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined;
500
+ readonly topics?: import("web3-types").ByteTypes[ReturnFormat["bytes"]][] | undefined;
501
+ })[]>;
502
+ /**
503
+ * View additional documentations here: {@link Web3Eth.getChainId}
504
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
505
+ */
506
+ export declare function getChainId<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, returnFormat: ReturnFormat): Promise<import("web3-types").NumberTypes[ReturnFormat["number"]]>;
507
+ /**
508
+ * View additional documentations here: {@link Web3Eth.getProof}
509
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
510
+ */
511
+ export declare function getProof<ReturnFormat extends DataFormat>(web3Context: Web3Context<Web3EthExecutionAPI>, address: Address, storageKeys: Bytes[], blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<{
512
+ readonly balance: import("web3-types").NumberTypes[ReturnFormat["number"]];
513
+ readonly codeHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
514
+ readonly nonce: import("web3-types").NumberTypes[ReturnFormat["number"]];
515
+ readonly storageHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
516
+ readonly accountProof: import("web3-types").ByteTypes[ReturnFormat["bytes"]][];
517
+ readonly storageProof: {
518
+ readonly key: import("web3-types").ByteTypes[ReturnFormat["bytes"]];
519
+ readonly value: import("web3-types").NumberTypes[ReturnFormat["number"]];
520
+ readonly proof: import("web3-types").ByteTypes[ReturnFormat["bytes"]][];
521
+ }[];
522
+ }>;
523
+ /**
524
+ * View additional documentations here: {@link Web3Eth.getFeeHistory}
525
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
526
+ */
527
+ export declare function getFeeHistory<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, blockCount: Numbers, newestBlock: BlockNumberOrTag | undefined, rewardPercentiles: Numbers[], returnFormat: ReturnFormat): Promise<{
528
+ readonly oldestBlock: import("web3-types").NumberTypes[ReturnFormat["number"]];
529
+ readonly baseFeePerGas: import("web3-types").NumberTypes[ReturnFormat["number"]][];
530
+ readonly reward: import("web3-types").NumberTypes[ReturnFormat["number"]][][];
531
+ readonly gasUsedRatio: import("web3-types").NumberTypes[ReturnFormat["number"]][];
532
+ }>;
533
+ /**
534
+ * View additional documentations here: {@link Web3Eth.createAccessList}
535
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
536
+ */
537
+ export declare function createAccessList<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transaction: TransactionForAccessList, blockNumber: BlockNumberOrTag | undefined, returnFormat: ReturnFormat): Promise<{
538
+ readonly accessList?: {
539
+ readonly address?: string | undefined;
540
+ readonly storageKeys?: string[] | undefined;
541
+ }[] | undefined;
542
+ readonly gasUsed?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined;
543
+ }>;
544
+ /**
545
+ * View additional documentations here: {@link Web3Eth.signTypedData}
546
+ * @param web3Context ({@link Web3Context}) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.
547
+ */
548
+ export declare function signTypedData<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, address: Address, typedData: Eip712TypedData, useLegacy: boolean, returnFormat: ReturnFormat): Promise<string>;