@bitte-ai/agent-sdk
Version:
Agent SDK for Bitte Protocol
17 lines • 728 B
TypeScript
import { PublicClient } from "viem";
import { type Address } from "viem";
import type { MetaTransaction } from "@bitte-ai/types";
import type { TokenInfo } 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