Preparing search index...
The search index is not available
Documentation
Documentation
@mysten/graphql-transport
SuiClientGraphQLTransport
Class SuiClientGraphQLTransport
Implements
SuiTransport
Index
Constructors
constructor
Methods
graphql
Query
graphql
Request
request
subscribe
Constructors
constructor
new
SuiClientGraphQLTransport
(
options
:
SuiClientGraphQLTransportOptions
,
)
:
SuiClientGraphQLTransport
Parameters
options
:
SuiClientGraphQLTransportOptions
Returns
SuiClientGraphQLTransport
Methods
graphql
Query
graphqlQuery
<
Result
=
Record
<
string
,
unknown
>
,
Variables
=
Record
<
string
,
unknown
>
,
Data
=
Result
,
>
(
options
:
GraphQLQueryOptions
<
Result
,
Variables
>
,
getData
?:
(
result
:
Result
)
=>
Data
,
)
:
Promise
<
NonNullable
<
Data
>
>
Type Parameters
Result
=
Record
<
string
,
unknown
>
Variables
=
Record
<
string
,
unknown
>
Data
=
Result
Parameters
options
:
GraphQLQueryOptions
<
Result
,
Variables
>
Optional
getData
:
(
result
:
Result
)
=>
Data
Returns
Promise
<
NonNullable
<
Data
>
>
graphql
Request
graphqlRequest
<
Result
=
Record
<
string
,
unknown
>
,
Variables
=
Record
<
string
,
unknown
>
,
>
(
options
:
GraphQLQueryOptions
<
Result
,
Variables
>
,
)
:
Promise
<
Response
>
Type Parameters
Result
=
Record
<
string
,
unknown
>
Variables
=
Record
<
string
,
unknown
>
Parameters
options
:
GraphQLQueryOptions
<
Result
,
Variables
>
Returns
Promise
<
Response
>
request
request
<
T
=
unknown
>
(
input
:
SuiTransportRequestOptions
)
:
Promise
<
T
>
Type Parameters
T
=
unknown
Parameters
input
:
SuiTransportRequestOptions
Returns
Promise
<
T
>
subscribe
subscribe
<
T
=
unknown
>
(
input
:
SuiTransportSubscribeOptions
<
T
>
,
)
:
Promise
<
()
=>
Promise
<
boolean
>
>
Type Parameters
T
=
unknown
Parameters
input
:
SuiTransportSubscribeOptions
<
T
>
Returns
Promise
<
()
=>
Promise
<
boolean
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
graphql
Query
graphql
Request
request
subscribe
Documentation
Loading...