picasso-sdk
Version:
Picasso sdk for cosmos, ethereum, solana, and polkadot ibc transfer
20 lines • 743 B
TypeScript
import type Web3 from 'web3';
export declare const ethereumTransfer: ({ web3, amount, assetId, originAddress, destinationAddress, channel, minimalDenom, memo, timeout, }: {
web3: Web3;
amount: string;
assetId: string;
originAddress: string;
destinationAddress: string;
channel: number;
minimalDenom: string;
memo?: string;
timeout: number;
}) => Promise<import("web3-core").TransactionReceipt>;
export declare const approveErc20: ({ web3, account, amount, erc20TokenAddress, spenderContract, }: {
web3: Web3;
account: string;
amount: string;
erc20TokenAddress: string;
spenderContract?: string;
}) => Promise<import("web3-core").TransactionReceipt>;
//# sourceMappingURL=methods.d.ts.map