@admin-jigsaw/jigsaw-sdk
Version:
Returns predefined data for Jigsaw platform and exposes functionality to retrieve the necessary data
9 lines (8 loc) • 436 B
TypeScript
import { Address } from "viem";
/**
* Returns the protocol name based on the provided strategy address.
* @param {Address} stratAddress - The strategy address to look up.
* @param {number} chainId - The chain ID to get the correct constants.
* @returns {string | null} - The corresponding protocol name or null if not found.
*/
export declare function getProtocolByStrategy(stratAddress: Address, chainId?: number): string | null;