@bitte-ai/agent-sdk
Version:
Agent SDK for Bitte Protocol
18 lines • 658 B
TypeScript
import type { MetaTransaction } from "@bitte-ai/types";
import { type Address } from "viem";
type WrappedAsset = {
address: Address;
symbol: string;
scanUrl: string;
decimals: number;
};
export declare function validateWethInput(params: URLSearchParams): {
chainId: number;
amount: bigint;
nativeAsset: WrappedAsset;
};
export declare const unwrapMetaTransaction: (chainId: number, amount: bigint) => MetaTransaction;
export declare const wrapMetaTransaction: (chainId: number, amount: bigint) => MetaTransaction;
export declare function getNativeAsset(chainId: number): WrappedAsset;
export {};
//# sourceMappingURL=weth.d.ts.map