UNPKG

@luffalab/luffa-tron-sdk

Version:

luffa tron ts sdk

16 lines (14 loc) 769 B
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; }; declare const isHexString: (value: string) => boolean; declare const hexToUtf8: (hex: string) => string; declare const normalizeMessageForDisplay: (message: string) => string; export { getChain, getChainIdByName, hexToUtf8, isApproveTx, isHexString, isLuffa, isLuffaMiniProgram, isLuffaMiniProgramWebview, networkMap, normalizeMessageForDisplay };