UNPKG

micro-sol-signer

Version:

Create, sign & decode Solana transactions with minimum deps

16 lines 543 B
import * as sol from './index.ts'; export type TokenInfo = { symbol: string; decimals: number; price?: number; }; export type TokenList = Record<string, TokenInfo>; export declare function hintInstruction(instruction: sol.Instruction, tl?: TokenList): string | undefined; export declare const COMMON_TOKENS: TokenList; export declare function tokenFromSymbol(symbol: string, tokens?: TokenList): { contract: string; symbol: string; decimals: number; price?: number; } | undefined; //# sourceMappingURL=hint.d.ts.map