synapsecns/sanguine

View on GitHub
packages/synapse-interface/slices/api/slice.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createApi } from '@reduxjs/toolkit/query/react'
import { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'

const SCRIBE_URL: string = 'https://explorer.omnirpc.io/graphql'

export const api = createApi({
  baseQuery: graphqlRequestBaseQuery({
    url: SCRIBE_URL,
  }),
  endpoints: () => ({}),
})