web3-types
Advanced tools
Comparing version 1.0.3-dev.51bc03d.0 to 1.0.3-dev.7d0a91d.0
@@ -115,14 +115,34 @@ import { Bytes, HexString, Numbers } from './primitives_types.js'; | ||
} | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly hash?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly miner?: HexString; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly difficulty?: Numbers; | ||
readonly number?: Numbers; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly timestamp: Numbers; | ||
readonly number?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly nonce?: Numbers; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly author?: Address; | ||
readonly totalDifficulty?: Numbers; | ||
readonly size?: Numbers; | ||
readonly excessDataGas?: Numbers; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly transactions?: TransactionOutput[]; | ||
readonly miner?: HexString; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
@@ -129,0 +149,0 @@ export interface ReceiptInput { |
@@ -115,14 +115,34 @@ import { Bytes, HexString, Numbers } from './primitives_types.js'; | ||
} | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly hash?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly miner?: HexString; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly difficulty?: Numbers; | ||
readonly number?: Numbers; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly timestamp: Numbers; | ||
readonly number?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly nonce?: Numbers; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly author?: Address; | ||
readonly totalDifficulty?: Numbers; | ||
readonly size?: Numbers; | ||
readonly excessDataGas?: Numbers; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly transactions?: TransactionOutput[]; | ||
readonly miner?: HexString; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
@@ -129,0 +149,0 @@ export interface ReceiptInput { |
{ | ||
"name": "web3-types", | ||
"version": "1.0.3-dev.51bc03d.0+51bc03d", | ||
"version": "1.0.3-dev.7d0a91d.0+7d0a91d", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "51bc03dd15dbb9619e77b81c474ab251f9afcfec" | ||
"gitHead": "7d0a91d7011d5fd08f4d72193bd799fec2e30f2f" | ||
} |
@@ -147,14 +147,38 @@ /* | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly hash?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly miner?: HexString; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly difficulty?: Numbers; | ||
readonly number?: Numbers; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly timestamp: Numbers; | ||
readonly number?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly nonce?: Numbers; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
// These fields are returned when the RPC client is Nethermind, | ||
// but aren't available in other clients such as Geth | ||
readonly author?: Address; | ||
readonly totalDifficulty?: Numbers; | ||
readonly size?: Numbers; | ||
readonly excessDataGas?: Numbers; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly transactions?: TransactionOutput[]; | ||
readonly miner?: HexString; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
@@ -161,0 +185,0 @@ |
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 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
261059
4722