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
Sui
Client
GraphQLTransport
(
options
)
:
SuiClientGraphQLTransport
Parameters
options
:
SuiClientGraphQLTransportOptions
Returns
SuiClientGraphQLTransport
Methods
graphql
Query
graphql
Query
<
Result
,
Variables
,
Data
>
(
options
,
getData
?
)
:
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
)
(
result
)
:
Data
Parameters
result
:
Result
Returns
Data
Returns
Promise
<
NonNullable
<
Data
>
>
graphql
Request
graphql
Request
<
Result
,
Variables
>
(
options
)
:
Promise
<
Response
>
Type Parameters
Result
=
Record
<
string
,
unknown
>
Variables
=
Record
<
string
,
unknown
>
Parameters
options
:
GraphQLQueryOptions
<
Result
,
Variables
>
Returns
Promise
<
Response
>
request
request
<
T
>
(
input
)
:
Promise
<
T
>
Type Parameters
T
=
unknown
Parameters
input
:
SuiTransportRequestOptions
Returns
Promise
<
T
>
subscribe
subscribe
<
T
>
(
input
)
:
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...