Skip to content

Commit

Permalink
Update packages/web3/src/types.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Altabba <24407834+Muhammad-Altabba@users.noreply.github.com>
  • Loading branch information
electroluxcode and Muhammad-Altabba committed Jan 29, 2024
1 parent 8ea5735 commit 54e229c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web3/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export interface Web3EthInterface extends Eth {
accounts: {
create: () => Web3Account;
privateKeyToAccount: (privateKey: Uint8Array | string) => Web3Account;
privateKeyToAddress: (privateKey: Uint8Array | string) => string;
privateKeyToPublicKey: (privateKey: Uint8Array | string,isCompressed:boolean) => string;
parseAndValidatePrivateKey:(data: Uint8Array | string,ignoreLength?:boolean) => Uint8Array;
privateKeyToAddress: (privateKey: Bytes) => string;
privateKeyToPublicKey: (privateKey: Bytes, isCompressed: boolean) => string;
parseAndValidatePrivateKey:(data: Bytes, ignoreLength?: boolean) => Uint8Array;
signTransaction: (
transaction: Transaction,
privateKey: Bytes,
Expand Down

0 comments on commit 54e229c

Please sign in to comment.