A function to find the default RPC endpoint string given a websocket string. https://github.com/standardconnect/xdir/blob/main/src/utils/id.ts#L51
import xdir from 'xdir';const wss = xdir.getClientStringbyName('mainnet') // 'wss://xrplcluster.com'
Generated using TypeDoc
A function to find the default RPC endpoint string given a websocket string. https://github.com/standardconnect/xdir/blob/main/src/utils/id.ts#L51
Example