@bcpros/crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
46 lines • 1.23 kB
TypeScript
import { ethers } from 'ethers';
import { Key } from '../../derivation';
export declare class ETHTxProvider {
chain: string;
constructor(chain?: string);
create(params: {
recipients: Array<{
address: string;
amount: string;
}>;
nonce: number;
gasPrice?: number;
data: string;
gasLimit: number;
network: string;
chainId?: number;
contractAddress?: string;
maxGasFee?: number;
priorityGasFee?: number;
txType?: number;
}): string;
_valueToString(value: any): any;
getMultiSendContract(tokenContractAddress: string): import("node_modules/web3-eth-contract/types").Contract;
getPriorityFeeMinimum(chainId: number): any;
getChainId(network: string): any;
getSignatureObject(params: {
tx: string;
key: Key;
}): ethers.Signature;
getSignature(params: {
tx: string;
key: Key;
}): string;
getHash(params: {
tx: string;
}): string;
applySignature(params: {
tx: string;
signature: any;
}): any;
sign(params: {
tx: string;
key: Key;
}): any;
}
//# sourceMappingURL=index.d.ts.map