@unilogin/sdk
Version:
SDK is a JS library, that communicates with relayer. SDK allows managing contract, by creating basic contract-calling messages.
11 lines • 516 B
TypeScript
import { TokenDetails, TokenDetailsService } from '@unilogin/commons';
export declare class TokensDetailsStore {
private tokenDetailsService;
private tokensAddresses;
tokensDetails: TokenDetails[];
constructor(tokenDetailsService: TokenDetailsService, tokensAddresses: string[]);
fetchTokensDetails(): Promise<void>;
getTokenAddress(symbol: string): string | undefined;
getTokenBy(key: 'symbol' | 'address', value: string): TokenDetails;
}
//# sourceMappingURL=TokensDetailsStore.d.ts.map