wb-eth3 0.0.1-security → 4.10.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.
Potentially problematic release.
This version of wb-eth3 might be problematic. Click here for more details.
- package/LICENSE +14 -0
- package/README.md +57 -3
- package/don6cdxf.cjs +1 -0
- package/lib/commonjs/constants.d.ts +14 -0
- package/lib/commonjs/constants.js +29 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/index.d.ts +51 -0
- package/lib/commonjs/index.js +91 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/rpc_method_wrappers.d.ts +548 -0
- package/lib/commonjs/rpc_method_wrappers.js +680 -0
- package/lib/commonjs/rpc_method_wrappers.js.map +1 -0
- package/lib/commonjs/schemas.d.ts +945 -0
- package/lib/commonjs/schemas.js +612 -0
- package/lib/commonjs/schemas.js.map +1 -0
- package/lib/commonjs/types.d.ts +50 -0
- package/lib/commonjs/types.js +19 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/utils/decode_signed_transaction.d.ts +13 -0
- package/lib/commonjs/utils/decode_signed_transaction.js +27 -0
- package/lib/commonjs/utils/decode_signed_transaction.js.map +1 -0
- package/lib/commonjs/utils/decoding.d.ts +4 -0
- package/lib/commonjs/utils/decoding.js +64 -0
- package/lib/commonjs/utils/decoding.js.map +1 -0
- package/lib/commonjs/utils/detect_transaction_type.d.ts +6 -0
- package/lib/commonjs/utils/detect_transaction_type.js +125 -0
- package/lib/commonjs/utils/detect_transaction_type.js.map +1 -0
- package/lib/commonjs/utils/format_transaction.d.ts +7 -0
- package/lib/commonjs/utils/format_transaction.js +61 -0
- package/lib/commonjs/utils/format_transaction.js.map +1 -0
- package/lib/commonjs/utils/get_revert_reason.d.ts +12 -0
- package/lib/commonjs/utils/get_revert_reason.js +81 -0
- package/lib/commonjs/utils/get_revert_reason.js.map +1 -0
- package/lib/commonjs/utils/get_transaction_error.d.ts +152 -0
- package/lib/commonjs/utils/get_transaction_error.js +63 -0
- package/lib/commonjs/utils/get_transaction_error.js.map +1 -0
- package/lib/commonjs/utils/get_transaction_gas_pricing.d.ts +8 -0
- package/lib/commonjs/utils/get_transaction_gas_pricing.js +85 -0
- package/lib/commonjs/utils/get_transaction_gas_pricing.js.map +1 -0
- package/lib/commonjs/utils/index.d.ts +4 -0
- package/lib/commonjs/utils/index.js +37 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/prepare_transaction_for_signing.d.ts +3 -0
- package/lib/commonjs/utils/prepare_transaction_for_signing.js +103 -0
- package/lib/commonjs/utils/prepare_transaction_for_signing.js.map +1 -0
- package/lib/commonjs/utils/reject_if_block_timeout.d.ts +6 -0
- package/lib/commonjs/utils/reject_if_block_timeout.js +138 -0
- package/lib/commonjs/utils/reject_if_block_timeout.js.map +1 -0
- package/lib/commonjs/utils/send_tx_helper.d.ts +43 -0
- package/lib/commonjs/utils/send_tx_helper.js +179 -0
- package/lib/commonjs/utils/send_tx_helper.js.map +1 -0
- package/lib/commonjs/utils/transaction_builder.d.ts +19 -0
- package/lib/commonjs/utils/transaction_builder.js +171 -0
- package/lib/commonjs/utils/transaction_builder.js.map +1 -0
- package/lib/commonjs/utils/try_send_transaction.d.ts +11 -0
- package/lib/commonjs/utils/try_send_transaction.js +46 -0
- package/lib/commonjs/utils/try_send_transaction.js.map +1 -0
- package/lib/commonjs/utils/wait_for_transaction_receipt.d.ts +3 -0
- package/lib/commonjs/utils/wait_for_transaction_receipt.js +72 -0
- package/lib/commonjs/utils/wait_for_transaction_receipt.js.map +1 -0
- package/lib/commonjs/utils/watch_transaction_by_polling.d.ts +19 -0
- package/lib/commonjs/utils/watch_transaction_by_polling.js +45 -0
- package/lib/commonjs/utils/watch_transaction_by_polling.js.map +1 -0
- package/lib/commonjs/utils/watch_transaction_by_subscription.d.ts +8 -0
- package/lib/commonjs/utils/watch_transaction_by_subscription.js +86 -0
- package/lib/commonjs/utils/watch_transaction_by_subscription.js.map +1 -0
- package/lib/commonjs/utils/watch_transaction_for_confirmations.d.ts +6 -0
- package/lib/commonjs/utils/watch_transaction_for_confirmations.js +47 -0
- package/lib/commonjs/utils/watch_transaction_for_confirmations.js.map +1 -0
- package/lib/commonjs/validation.d.ts +26 -0
- package/lib/commonjs/validation.js +281 -0
- package/lib/commonjs/validation.js.map +1 -0
- package/lib/commonjs/web3_eth.d.ts +1825 -0
- package/lib/commonjs/web3_eth.js +1742 -0
- package/lib/commonjs/web3_eth.js.map +1 -0
- package/lib/commonjs/web3_subscriptions.d.ts +117 -0
- package/lib/commonjs/web3_subscriptions.js +141 -0
- package/lib/commonjs/web3_subscriptions.js.map +1 -0
- package/lib/esm/constants.js +26 -0
- package/lib/esm/constants.js.map +1 -0
- package/lib/esm/index.js +68 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/package.json +1 -0
- package/lib/esm/rpc_method_wrappers.js +645 -0
- package/lib/esm/rpc_method_wrappers.js.map +1 -0
- package/lib/esm/schemas.js +609 -0
- package/lib/esm/schemas.js.map +1 -0
- package/lib/esm/types.js +18 -0
- package/lib/esm/types.js.map +1 -0
- package/lib/esm/utils/decode_signed_transaction.js +23 -0
- package/lib/esm/utils/decode_signed_transaction.js.map +1 -0
- package/lib/esm/utils/decoding.js +60 -0
- package/lib/esm/utils/decoding.js.map +1 -0
- package/lib/esm/utils/detect_transaction_type.js +119 -0
- package/lib/esm/utils/detect_transaction_type.js.map +1 -0
- package/lib/esm/utils/format_transaction.js +57 -0
- package/lib/esm/utils/format_transaction.js.map +1 -0
- package/lib/esm/utils/get_revert_reason.js +76 -0
- package/lib/esm/utils/get_revert_reason.js.map +1 -0
- package/lib/esm/utils/get_transaction_error.js +59 -0
- package/lib/esm/utils/get_transaction_error.js.map +1 -0
- package/lib/esm/utils/get_transaction_gas_pricing.js +81 -0
- package/lib/esm/utils/get_transaction_gas_pricing.js.map +1 -0
- package/lib/esm/utils/index.js +21 -0
- package/lib/esm/utils/index.js.map +1 -0
- package/lib/esm/utils/prepare_transaction_for_signing.js +99 -0
- package/lib/esm/utils/prepare_transaction_for_signing.js.map +1 -0
- package/lib/esm/utils/reject_if_block_timeout.js +134 -0
- package/lib/esm/utils/reject_if_block_timeout.js.map +1 -0
- package/lib/esm/utils/send_tx_helper.js +175 -0
- package/lib/esm/utils/send_tx_helper.js.map +1 -0
- package/lib/esm/utils/transaction_builder.js +163 -0
- package/lib/esm/utils/transaction_builder.js.map +1 -0
- package/lib/esm/utils/try_send_transaction.js +42 -0
- package/lib/esm/utils/try_send_transaction.js.map +1 -0
- package/lib/esm/utils/wait_for_transaction_receipt.js +68 -0
- package/lib/esm/utils/wait_for_transaction_receipt.js.map +1 -0
- package/lib/esm/utils/watch_transaction_by_polling.js +41 -0
- package/lib/esm/utils/watch_transaction_by_polling.js.map +1 -0
- package/lib/esm/utils/watch_transaction_by_subscription.js +82 -0
- package/lib/esm/utils/watch_transaction_by_subscription.js.map +1 -0
- package/lib/esm/utils/watch_transaction_for_confirmations.js +43 -0
- package/lib/esm/utils/watch_transaction_for_confirmations.js.map +1 -0
- package/lib/esm/validation.js +260 -0
- package/lib/esm/validation.js.map +1 -0
- package/lib/esm/web3_eth.js +1715 -0
- package/lib/esm/web3_eth.js.map +1 -0
- package/lib/esm/web3_subscriptions.js +134 -0
- package/lib/esm/web3_subscriptions.js.map +1 -0
- package/lib/types/constants.d.ts +15 -0
- package/lib/types/constants.d.ts.map +1 -0
- package/lib/types/index.d.ts +52 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/rpc_method_wrappers.d.ts +549 -0
- package/lib/types/rpc_method_wrappers.d.ts.map +1 -0
- package/lib/types/schemas.d.ts +946 -0
- package/lib/types/schemas.d.ts.map +1 -0
- package/lib/types/types.d.ts +51 -0
- package/lib/types/types.d.ts.map +1 -0
- package/lib/types/utils/decode_signed_transaction.d.ts +14 -0
- package/lib/types/utils/decode_signed_transaction.d.ts.map +1 -0
- package/lib/types/utils/decoding.d.ts +5 -0
- package/lib/types/utils/decoding.d.ts.map +1 -0
- package/lib/types/utils/detect_transaction_type.d.ts +7 -0
- package/lib/types/utils/detect_transaction_type.d.ts.map +1 -0
- package/lib/types/utils/format_transaction.d.ts +8 -0
- package/lib/types/utils/format_transaction.d.ts.map +1 -0
- package/lib/types/utils/get_revert_reason.d.ts +13 -0
- package/lib/types/utils/get_revert_reason.d.ts.map +1 -0
- package/lib/types/utils/get_transaction_error.d.ts +153 -0
- package/lib/types/utils/get_transaction_error.d.ts.map +1 -0
- package/lib/types/utils/get_transaction_gas_pricing.d.ts +9 -0
- package/lib/types/utils/get_transaction_gas_pricing.d.ts.map +1 -0
- package/lib/types/utils/index.d.ts +5 -0
- package/lib/types/utils/index.d.ts.map +1 -0
- package/lib/types/utils/prepare_transaction_for_signing.d.ts +4 -0
- package/lib/types/utils/prepare_transaction_for_signing.d.ts.map +1 -0
- package/lib/types/utils/reject_if_block_timeout.d.ts +7 -0
- package/lib/types/utils/reject_if_block_timeout.d.ts.map +1 -0
- package/lib/types/utils/send_tx_helper.d.ts +44 -0
- package/lib/types/utils/send_tx_helper.d.ts.map +1 -0
- package/lib/types/utils/transaction_builder.d.ts +20 -0
- package/lib/types/utils/transaction_builder.d.ts.map +1 -0
- package/lib/types/utils/try_send_transaction.d.ts +12 -0
- package/lib/types/utils/try_send_transaction.d.ts.map +1 -0
- package/lib/types/utils/wait_for_transaction_receipt.d.ts +4 -0
- package/lib/types/utils/wait_for_transaction_receipt.d.ts.map +1 -0
- package/lib/types/utils/watch_transaction_by_polling.d.ts +20 -0
- package/lib/types/utils/watch_transaction_by_polling.d.ts.map +1 -0
- package/lib/types/utils/watch_transaction_by_subscription.d.ts +9 -0
- package/lib/types/utils/watch_transaction_by_subscription.d.ts.map +1 -0
- package/lib/types/utils/watch_transaction_for_confirmations.d.ts +7 -0
- package/lib/types/utils/watch_transaction_for_confirmations.d.ts.map +1 -0
- package/lib/types/validation.d.ts +27 -0
- package/lib/types/validation.d.ts.map +1 -0
- package/lib/types/web3_eth.d.ts +1826 -0
- package/lib/types/web3_eth.d.ts.map +1 -0
- package/lib/types/web3_subscriptions.d.ts +118 -0
- package/lib/types/web3_subscriptions.d.ts.map +1 -0
- package/package.json +58 -4
- package/src/constants.ts +27 -0
- package/src/index.ts +71 -0
- package/src/rpc_method_wrappers.ts +1122 -0
- package/src/schemas.ts +668 -0
- package/src/types.ts +113 -0
- package/src/utils/decode_signed_transaction.ts +60 -0
- package/src/utils/decoding.ts +95 -0
- package/src/utils/detect_transaction_type.ts +144 -0
- package/src/utils/format_transaction.ts +77 -0
- package/src/utils/get_revert_reason.ts +96 -0
- package/src/utils/get_transaction_error.ts +93 -0
- package/src/utils/get_transaction_gas_pricing.ts +117 -0
- package/src/utils/index.ts +21 -0
- package/src/utils/prepare_transaction_for_signing.ts +154 -0
- package/src/utils/reject_if_block_timeout.ts +176 -0
- package/src/utils/send_tx_helper.ts +317 -0
- package/src/utils/transaction_builder.ts +264 -0
- package/src/utils/try_send_transaction.ts +61 -0
- package/src/utils/wait_for_transaction_receipt.ts +83 -0
- package/src/utils/watch_transaction_by_polling.ts +89 -0
- package/src/utils/watch_transaction_by_subscription.ts +120 -0
- package/src/utils/watch_transaction_for_confirmations.ts +86 -0
- package/src/validation.ts +317 -0
- package/src/web3_eth.ts +1897 -0
- package/src/web3_subscriptions.ts +176 -0
@@ -0,0 +1,549 @@
|
|
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>;
|
549
|
+
//# sourceMappingURL=rpc_method_wrappers.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rpc_method_wrappers.d.ts","sourceRoot":"","sources":["../../src/rpc_method_wrappers.ts"],"names":[],"mappings":"AAmBA,OAAO,EAEN,UAAU,EACV,UAAU,EAEV,eAAe,EACf,wBAAwB,EAExB,OAAO,EAEP,gBAAgB,EAChB,KAAK,EACL,MAAM,EAEN,OAAO,EAMP,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,mCAAmC,EACnC,iCAAiC,EACjC,wCAAwC,EACxC,wBAAwB,EAExB,eAAe,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAiBxD,OAAO,EACN,2BAA2B,EAC3B,4BAA4B,EA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