2.0.0 • Published 1 year ago

@peter-present/eth-query v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Simple eth and account abstraction query

Installation

npm install @peter-present/eth-query
  • Or if you use yarn
yarn add @peter-present/eth-query

Usage

  • This package supports both eth query and account abstraction query. You can create a eth query object by below command.
const ethQuery = new EthQuery(rpcUrl);
const _balance = await ethQuery.getBalance(address);
  • If you want to interact with account abstraction query, you can create a account abstraction query
const query = new OperationEthQuery(bundleUrl);
const _hash = query.sendUserOperation(userOperation, entryPoint);
2.0.0

1 year ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago