UNPKG

@bitte-ai/agent-sdk

Version:

Agent SDK for Bitte Protocol

16 lines 689 B
import { PublicClient } from "viem"; import { type Address } from "viem"; import type { TokenInfo, MetaTransaction } from "./types"; export declare function erc20Transfer(params: { token: Address; to: Address; amount: bigint; }): MetaTransaction; export declare function erc20Approve(params: { token: Address; spender: Address; amount?: bigint; }): MetaTransaction; export declare function checkAllowance(chainId: number, owner: Address, token: Address, spender: Address, client?: PublicClient): Promise<bigint>; export declare function getTokenInfo(chainId: number, address?: Address, client?: PublicClient): Promise<TokenInfo>; //# sourceMappingURL=erc20.d.ts.map