Socket
Socket
Sign inDemoInstall

web3-rpc-methods

Package Overview
Dependencies
3
Maintainers
5
Versions
264
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1-dev.ed2781f.0 to 1.2.1-dev.f216540.0

2

lib/commonjs/eth_rpc_methods.d.ts

@@ -25,3 +25,3 @@ import { Web3RequestManager } from 'web3-core';

export declare function call(requestManager: Web3RequestManager, transaction: TransactionCallAPI, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function estimateGas(requestManager: Web3RequestManager, transaction: Partial<TransactionWithSenderAPI>, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function estimateGas<TransactionType = TransactionWithSenderAPI>(requestManager: Web3RequestManager, transaction: Partial<TransactionType>, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function getBlockByHash(requestManager: Web3RequestManager, blockHash: HexString32Bytes, hydrated: boolean): Promise<import("web3-types").BlockAPI>;

@@ -28,0 +28,0 @@ export declare function getBlockByNumber(requestManager: Web3RequestManager, blockNumber: BlockNumberOrTag, hydrated: boolean): Promise<import("web3-types").BlockAPI>;

@@ -25,3 +25,3 @@ import { Web3RequestManager } from 'web3-core';

export declare function call(requestManager: Web3RequestManager, transaction: TransactionCallAPI, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function estimateGas(requestManager: Web3RequestManager, transaction: Partial<TransactionWithSenderAPI>, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function estimateGas<TransactionType = TransactionWithSenderAPI>(requestManager: Web3RequestManager, transaction: Partial<TransactionType>, blockNumber: BlockNumberOrTag): Promise<string>;
export declare function getBlockByHash(requestManager: Web3RequestManager, blockHash: HexString32Bytes, hydrated: boolean): Promise<import("web3-types").BlockAPI>;

@@ -28,0 +28,0 @@ export declare function getBlockByNumber(requestManager: Web3RequestManager, blockNumber: BlockNumberOrTag, hydrated: boolean): Promise<import("web3-types").BlockAPI>;

{
"name": "web3-rpc-methods",
"version": "1.2.1-dev.ed2781f.0+ed2781f",
"version": "1.2.1-dev.f216540.0+f216540",
"description": "Ethereum RPC methods for Web3 4.x.x",

@@ -33,3 +33,3 @@ "main": "./lib/commonjs/index.js",

"build:check": "node -e \"require('./lib')\"",
"lint": "eslint --ext .js,.ts .",
"lint": "eslint --cache --cache-strategy content --ext .ts .",
"lint:fix": "eslint --fix --ext .js,.ts .",

@@ -60,7 +60,7 @@ "format": "prettier --write '**/*'",

"dependencies": {
"web3-core": "4.3.3-dev.ed2781f.0+ed2781f",
"web3-types": "1.6.1-dev.ed2781f.0+ed2781f",
"web3-validator": "2.0.6-dev.ed2781f.0+ed2781f"
"web3-core": "4.3.3-dev.f216540.0+f216540",
"web3-types": "1.6.1-dev.f216540.0+f216540",
"web3-validator": "2.0.6-dev.f216540.0+f216540"
},
"gitHead": "ed2781f3756162ac2ece03a1b5b026f3b4e24401"
"gitHead": "f216540e4fd8af19bfc1ec86afbc26076a6769f4"
}

@@ -267,5 +267,5 @@ /*

// TODO Not sure how to best validate Partial<TransactionWithSender>
export async function estimateGas(
export async function estimateGas<TransactionType = TransactionWithSenderAPI>(
requestManager: Web3RequestManager,
transaction: Partial<TransactionWithSenderAPI>,
transaction: Partial<TransactionType>,
blockNumber: BlockNumberOrTag,

@@ -272,0 +272,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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc