export const getChainProperties = async (url: string) =>
  fetch(url, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      id: 1,
      jsonrpc: '2.0',
      method: 'system_properties',
    }),
  })
    .then((response) => response.json())
    .then(({ result }) => result);
