@accret/api-client
Version:
A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs
16 lines • 932 B
TypeScript
import { EvmChain, type GetTokenMetadataResponseAdapter as EvmGetTokenMetadataResponseAdapter } from "@moralisweb3/common-evm-utils";
import { TokenInfo } from "@shyft-to/js";
/**
* @description Fetches the metadata for EVM tokens using Moralis SDK.
* @param tokenAddresses Array of token addresses to fetch metadata for.
* @param network The EVM chain to fetch metadata from.
* @returns The token metadata for the specified addresses.
*/
export declare function getEVMTokenMetadata(tokenAddresses: string[], network: EvmChain): Promise<EvmGetTokenMetadataResponseAdapter>;
/**
* @description Fetches the metadata for a Solana token using Moralis SDK.
* @param tokenAddress The address of the Solana token to fetch metadata for.
* @returns The token metadata for the specified address.
*/
export declare function getSolanaTokenMetadata(tokenAddress: string): Promise<TokenInfo>;
//# sourceMappingURL=token-metadata.d.ts.map