logo
The SDK holds a JSON object which has all chains that are supported by Peanut Protocol.
plain text
const chainDetails: IChainDetail[] = peanut.CHAIN_DETAILS
This JSON has the following type:
plain text
interface IChainDetail { name: string; chain: string; icon: { url: string; format: string; }; rpc: string[]; features: { name: string; }[]; faucets: any[]; nativeCurrency: { name: string; symbol: string; decimals: number; }; infoURL: string; shortName: string; chainId: string; networkId: number; slip44: number; explorers: { name: string; url: string; standard: string; icon?: string; }[]; mainnet: boolean; }
Share