crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
29 lines • 854 B
TypeScript
import { ETHTxProvider } from '../eth';
export declare class ERC20TxProvider extends ETHTxProvider {
getERC20Contract(tokenContractAddress: string): import("node_modules/web3-eth-contract/types").Contract;
create(params: {
recipients: Array<{
address: string;
amount: string;
}>;
nonce: number;
gasPrice?: number;
data: string;
gasLimit: number;
tokenAddress: string;
network: string;
chainId?: number;
contractAddress?: string;
maxGasFee?: number;
priorityGasFee?: number;
}): string;
encodeData(params: {
recipients: Array<{
address: string;
amount: string;
}>;
tokenAddress: string;
contractAddress?: string;
}): any;
}
//# sourceMappingURL=index.d.ts.map