UNPKG

@bit-gpt/h402

Version:

BitGPT's 402 open protocol for blockchain-native payments

8 lines 335 B
/** * Get the number of decimals for a token * For native SOL, returns 9 * For SPL tokens, fetches the mint info */ export declare function getTokenDecimals(tokenAddress: string): Promise<number>; export declare function getTokenSymbol(tokenAddress: string): Promise<string | undefined>; //# sourceMappingURL=tokenMetadata.d.ts.map