@bcpros/crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
43 lines • 1.11 kB
TypeScript
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;
}): string;
getMultiSendContract(tokenContractAddress: string): import("web3-eth-contract").Contract;
getPriorityFeeMinimum(chainId: number): any;
getChainId(network: string): any;
getSignatureObject(params: {
tx: string;
key: Key;
}): any;
getSignature(params: {
tx: string;
key: Key;
}): string;
getHash(params: {
tx: string;
}): string;
applySignature(params: {
tx: string;
signature: any;
}): string;
sign(params: {
tx: string;
key: Key;
}): string;
}
//# sourceMappingURL=index.d.ts.map