@luffalab/luffa-tron-sdk
Version:
luffa tron ts sdk
13 lines (11 loc) • 541 B
text/typescript
declare const isLuffa: () => boolean;
declare const isLuffaMiniProgramWebview: () => boolean;
declare const isLuffaMiniProgram: () => boolean;
declare const networkMap: Partial<Record<string, string>>;
declare const getChain: (chainId: string) => string;
declare const getChainIdByName: (chainName: string) => number | undefined;
declare const isApproveTx: (tx: any) => {
isApprove: boolean;
spender: string;
};
export { getChain, getChainIdByName, isApproveTx, isLuffa, isLuffaMiniProgram, isLuffaMiniProgramWebview, networkMap };