Comparing version 4.8.2-dev.cbcfc18.0 to 4.8.2-dev.e5efe49.0
@@ -394,3 +394,52 @@ import { FormatType, DataFormat, EthExecutionAPI, SignedTransactionInfoAPI, Address, BlockNumberOrTag, Bytes, Filter, Numbers, TransactionReceipt, Transaction, TransactionCall, Web3EthExecutionAPI, TransactionWithFromLocalWalletIndex, TransactionWithToLocalWalletIndex, TransactionWithFromAndToLocalWalletIndex, TransactionForAccessList, Eip712TypedData } from 'web3-types'; | ||
*/ | ||
export declare function getTransactionReceipt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat: ReturnFormat): Promise<TransactionReceipt | undefined>; | ||
export declare function getTransactionReceipt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat: ReturnFormat): Promise<{ | ||
readonly transactionHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly transactionIndex: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly blockHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly blockNumber: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly from: string; | ||
readonly to: string; | ||
readonly cumulativeGasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly gasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly effectiveGasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly contractAddress?: string | undefined; | ||
readonly logs: { | ||
readonly id?: string | undefined; | ||
readonly removed?: boolean | undefined; | ||
readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly address?: string | undefined; | ||
readonly data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly topics?: import("web3-types").ByteTypes[ReturnFormat["bytes"]][] | undefined; | ||
}[]; | ||
readonly logsBloom: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly root: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly status: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
events?: { | ||
[x: string]: { | ||
readonly event: string; | ||
readonly id?: string | undefined; | ||
readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionHash?: string | undefined; | ||
readonly blockHash?: string | undefined; | ||
readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly address: string; | ||
readonly topics: string[]; | ||
readonly data: string; | ||
readonly raw?: { | ||
data: string; | ||
topics: unknown[]; | ||
} | undefined; | ||
readonly returnValues: { | ||
[x: string]: unknown; | ||
}; | ||
readonly signature?: string | undefined; | ||
}; | ||
} | undefined; | ||
} | undefined>; | ||
/** | ||
@@ -397,0 +446,0 @@ * View additional documentations here: {@link Web3Eth.getTransactionCount} |
@@ -342,3 +342,3 @@ "use strict"; | ||
? response | ||
: (0, web3_utils_1.format)(schemas_js_1.transactionReceiptSchema, response, returnFormat !== null && returnFormat !== void 0 ? returnFormat : web3Context.defaultReturnFormat); | ||
: ((0, web3_utils_1.format)(schemas_js_1.transactionReceiptSchema, response, returnFormat !== null && returnFormat !== void 0 ? returnFormat : web3Context.defaultReturnFormat)); | ||
}); | ||
@@ -345,0 +345,0 @@ } |
@@ -321,3 +321,3 @@ /* | ||
? response | ||
: format(transactionReceiptSchema, response, returnFormat !== null && returnFormat !== void 0 ? returnFormat : web3Context.defaultReturnFormat); | ||
: (format(transactionReceiptSchema, response, returnFormat !== null && returnFormat !== void 0 ? returnFormat : web3Context.defaultReturnFormat)); | ||
}); | ||
@@ -324,0 +324,0 @@ } |
@@ -394,3 +394,52 @@ import { FormatType, DataFormat, EthExecutionAPI, SignedTransactionInfoAPI, Address, BlockNumberOrTag, Bytes, Filter, Numbers, TransactionReceipt, Transaction, TransactionCall, Web3EthExecutionAPI, TransactionWithFromLocalWalletIndex, TransactionWithToLocalWalletIndex, TransactionWithFromAndToLocalWalletIndex, TransactionForAccessList, Eip712TypedData } from 'web3-types'; | ||
*/ | ||
export declare function getTransactionReceipt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat: ReturnFormat): Promise<TransactionReceipt | undefined>; | ||
export declare function getTransactionReceipt<ReturnFormat extends DataFormat>(web3Context: Web3Context<EthExecutionAPI>, transactionHash: Bytes, returnFormat: ReturnFormat): Promise<{ | ||
readonly transactionHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly transactionIndex: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly blockHash: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly blockNumber: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly from: string; | ||
readonly to: string; | ||
readonly cumulativeGasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly gasUsed: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly effectiveGasPrice?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly contractAddress?: string | undefined; | ||
readonly logs: { | ||
readonly id?: string | undefined; | ||
readonly removed?: boolean | undefined; | ||
readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly blockHash?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly address?: string | undefined; | ||
readonly data?: import("web3-types").ByteTypes[ReturnFormat["bytes"]] | undefined; | ||
readonly topics?: import("web3-types").ByteTypes[ReturnFormat["bytes"]][] | undefined; | ||
}[]; | ||
readonly logsBloom: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly root: import("web3-types").ByteTypes[ReturnFormat["bytes"]]; | ||
readonly status: import("web3-types").NumberTypes[ReturnFormat["number"]]; | ||
readonly type?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
events?: { | ||
[x: string]: { | ||
readonly event: string; | ||
readonly id?: string | undefined; | ||
readonly logIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionIndex?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly transactionHash?: string | undefined; | ||
readonly blockHash?: string | undefined; | ||
readonly blockNumber?: import("web3-types").NumberTypes[ReturnFormat["number"]] | undefined; | ||
readonly address: string; | ||
readonly topics: string[]; | ||
readonly data: string; | ||
readonly raw?: { | ||
data: string; | ||
topics: unknown[]; | ||
} | undefined; | ||
readonly returnValues: { | ||
[x: string]: unknown; | ||
}; | ||
readonly signature?: string | undefined; | ||
}; | ||
} | undefined; | ||
} | undefined>; | ||
/** | ||
@@ -397,0 +446,0 @@ * View additional documentations here: {@link Web3Eth.getTransactionCount} |
{ | ||
"name": "web3-eth", | ||
"version": "4.8.2-dev.cbcfc18.0+cbcfc18", | ||
"version": "4.8.2-dev.e5efe49.0+e5efe49", | ||
"description": "Web3 module to interact with the Ethereum blockchain and smart contracts.", | ||
@@ -62,18 +62,18 @@ "main": "./lib/commonjs/index.js", | ||
"typescript": "^4.7.4", | ||
"web3-providers-http": "4.1.1-dev.cbcfc18.0+cbcfc18" | ||
"web3-providers-http": "4.1.1-dev.e5efe49.0+e5efe49" | ||
}, | ||
"dependencies": { | ||
"setimmediate": "^1.0.5", | ||
"web3-core": "4.5.1-dev.cbcfc18.0+cbcfc18", | ||
"web3-errors": "1.2.1-dev.cbcfc18.0+cbcfc18", | ||
"web3-eth-abi": "4.2.4-dev.cbcfc18.0+cbcfc18", | ||
"web3-eth-accounts": "4.1.4-dev.cbcfc18.0+cbcfc18", | ||
"web3-net": "4.1.1-dev.cbcfc18.0+cbcfc18", | ||
"web3-providers-ws": "4.0.9-dev.cbcfc18.0+cbcfc18", | ||
"web3-rpc-methods": "1.3.1-dev.cbcfc18.0+cbcfc18", | ||
"web3-types": "1.7.1-dev.cbcfc18.0+cbcfc18", | ||
"web3-utils": "4.3.2-dev.cbcfc18.0+cbcfc18", | ||
"web3-validator": "2.0.7-dev.cbcfc18.0+cbcfc18" | ||
"web3-core": "4.5.1-dev.e5efe49.0+e5efe49", | ||
"web3-errors": "1.2.1-dev.e5efe49.0+e5efe49", | ||
"web3-eth-abi": "4.2.4-dev.e5efe49.0+e5efe49", | ||
"web3-eth-accounts": "4.1.4-dev.e5efe49.0+e5efe49", | ||
"web3-net": "4.1.1-dev.e5efe49.0+e5efe49", | ||
"web3-providers-ws": "4.0.9-dev.e5efe49.0+e5efe49", | ||
"web3-rpc-methods": "1.3.1-dev.e5efe49.0+e5efe49", | ||
"web3-types": "1.7.1-dev.e5efe49.0+e5efe49", | ||
"web3-utils": "4.3.2-dev.e5efe49.0+e5efe49", | ||
"web3-validator": "2.0.7-dev.e5efe49.0+e5efe49" | ||
}, | ||
"gitHead": "cbcfc1878502008349f805a2e82e9263a02b717e" | ||
"gitHead": "e5efe49e689b928e2049ff14c160fe3e5819369f" | ||
} |
@@ -524,3 +524,2 @@ /* | ||
} | ||
return isNullish(response) | ||
@@ -532,3 +531,3 @@ ? response | ||
returnFormat ?? web3Context.defaultReturnFormat, | ||
) as TransactionReceipt); | ||
)); | ||
} | ||
@@ -535,0 +534,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1332810
23613