Skip to main content

Interface: IotaGraphQLClientOptions<Queries>

Type Parameters

Queries extends Record<string, GraphQLDocument>

Properties

url

url: string


fetch()?

optional fetch: (input, init?) => Promise<Response>(input, init?) => Promise<Response>

MDN Reference

Parameters

input: URL | RequestInfo

init?: RequestInit

Returns

Promise<Response>

Parameters

input: string | URL | Request

init?: RequestInit

Returns

Promise<Response>


headers?

optional headers: Record<string, string>


queries?

optional queries: Queries