Developer Hub
🔮 For applications
Toolkit
Utils
Endpoints

Usage

import { getPrematchGraphqlEndpoint, getLiveGraphqlEndpoint, getSocketEndpoint, getApiEndpoint } from '@azuro-org/toolkit'
 
const chainId = 100
 
const prematchGraphqlEndpoint = getPrematchGraphqlEndpoint(chainId)
const liveGraphqlEndpoint = getLiveGraphqlEndpoint(chainId)
const socketEndpoint = getSocketEndpoint(chainId)
const apiEndpoint = getApiEndpoint(chainId)

Props

type ChainId =  100 | 137 | 80002 | 88888 | 88882

Return Value

String