UNPKG

@citizenwallet/sdk

Version:

An sdk to easily work with citizen wallet.

22 lines 772 B
import { CommunityConfig } from "../config"; export declare const getTokenDecimals: (config: CommunityConfig, options?: { tokenAddress?: string; rpcUrl?: string; }) => Promise<bigint | null>; export declare const getTokenName: (config: CommunityConfig, options?: { tokenAddress?: string; rpcUrl?: string; }) => Promise<bigint | null>; export declare const getTokenSymbol: (config: CommunityConfig, options?: { tokenAddress?: string; rpcUrl?: string; }) => Promise<bigint | null>; export declare const getTokenMetadata: (config: CommunityConfig, options?: { tokenAddress?: string; rpcUrl?: string; }) => Promise<{ decimals: bigint | null; name: bigint | null; symbol: bigint | null; } | null>; //# sourceMappingURL=index.d.ts.map