web3-types
Advanced tools
Comparing version 1.5.1-dev.5341c3a.0 to 1.5.1-dev.578ebb6.0
@@ -102,2 +102,8 @@ 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 BlockOutput { | ||
@@ -115,27 +121,39 @@ readonly gasLimit: bigint | number; | ||
readonly parentHash?: HexString32Bytes; | ||
} | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly blobGasUsed?: bigint | number; | ||
readonly excessBlobGas?: bigint | number; | ||
readonly extraData?: Bytes; | ||
readonly hash?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly nonce?: bigint | number; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly miner?: HexString; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly baseFeePerGas?: Numbers; | ||
readonly blobGasUsed?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly number?: Numbers; | ||
readonly excessBlobGas?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly timestamp: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly hash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly miner?: HexString; | ||
readonly nonce?: Numbers; | ||
readonly number?: Numbers; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly timestamp: Numbers; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly author?: Address; | ||
@@ -142,0 +160,0 @@ readonly totalDifficulty?: Numbers; |
@@ -102,2 +102,8 @@ 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 BlockOutput { | ||
@@ -115,27 +121,39 @@ readonly gasLimit: bigint | number; | ||
readonly parentHash?: HexString32Bytes; | ||
} | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly blobGasUsed?: bigint | number; | ||
readonly excessBlobGas?: bigint | number; | ||
readonly extraData?: Bytes; | ||
readonly hash?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly nonce?: bigint | number; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly miner?: HexString; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
export interface BlockHeaderOutput { | ||
readonly baseFeePerGas?: Numbers; | ||
readonly blobGasUsed?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly number?: Numbers; | ||
readonly excessBlobGas?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly timestamp: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly hash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly miner?: HexString; | ||
readonly nonce?: Numbers; | ||
readonly number?: Numbers; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly timestamp: Numbers; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly author?: Address; | ||
@@ -142,0 +160,0 @@ readonly totalDifficulty?: Numbers; |
{ | ||
"name": "web3-types", | ||
"version": "1.5.1-dev.5341c3a.0+5341c3a", | ||
"version": "1.5.1-dev.578ebb6.0+578ebb6", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "5341c3ab30aee24f678fc155d3e41483e3f5e68f" | ||
"gitHead": "578ebb69f0c16a5fc742c214d11b79e3d777ea04" | ||
} |
@@ -133,5 +133,12 @@ /* | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
} | ||
export interface BlockOutput { | ||
readonly gasLimit: bigint | number; | ||
readonly gasUsed: bigint | number; | ||
readonly gasLimit: bigint | number; | ||
readonly gasUsed: bigint | number; | ||
readonly size: bigint | number; | ||
@@ -146,40 +153,53 @@ readonly timestamp: bigint | number; | ||
readonly parentHash?: HexString32Bytes; | ||
} | ||
export interface Withdrawals { | ||
readonly index: Numbers; | ||
readonly validatorIndex: Numbers; | ||
readonly address: Address; | ||
readonly amount: Numbers; | ||
// Added properties | ||
readonly blobGasUsed?: bigint | number; | ||
readonly excessBlobGas?: bigint | number; | ||
readonly extraData?: Bytes; | ||
readonly hash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly nonce?: bigint | number; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
readonly mixHash?: HexString32Bytes; | ||
readonly uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
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 extraData?: Bytes; | ||
readonly nonce?: Numbers; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly baseFeePerGas?: Numbers; | ||
readonly blobGasUsed?: Numbers; | ||
readonly difficulty?: Numbers; | ||
readonly excessBlobGas?: Numbers; | ||
readonly extraData?: Bytes; | ||
readonly gasLimit: Numbers; | ||
readonly gasUsed: Numbers; | ||
readonly hash?: HexString32Bytes; | ||
readonly logsBloom?: Bytes; | ||
readonly miner?: HexString; | ||
readonly nonce?: Numbers; | ||
readonly number?: Numbers; | ||
readonly parentBeaconBlockRoot?: HexString32Bytes; | ||
readonly parentHash?: HexString32Bytes; | ||
readonly receiptsRoot?: HexString32Bytes; | ||
readonly sha3Uncles: HexString32Bytes[]; | ||
readonly stateRoot?: HexString32Bytes; | ||
readonly timestamp: Numbers; | ||
readonly transactionsRoot?: HexString32Bytes; | ||
readonly withdrawalsRoot?: HexString32Bytes; | ||
// 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 uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
// 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 uncles?: Uncles; | ||
readonly withdrawals?: Withdrawals[]; | ||
} | ||
@@ -186,0 +206,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
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
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
299574
5530