Example
GitHub
Preparing search index...
The search index is not available
ic-reactor
ic-reactor
react
types
CandidAdapter
Class CandidAdapter
Hierarchy (
view full
)
CandidAdapter
CandidAdapterContextType
Index
Constructors
constructor
Properties
agent
didjs
Canister
Id
parser
Module?
unsubscribe
Agent
get
Default
Did
Js
Id
Methods
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
dynamic
Eval
Js
fetch
Did
Tojs
parse
Did
To
Js
validateIDL
Constructors
constructor
new
Candid
Adapter
(
__namedParameters
)
:
types
.
CandidAdapter
Parameters
__namedParameters
:
types
.
CandidAdapterParameters
Returns
types
.
CandidAdapter
Properties
agent
agent
:
types
.
HttpAgent
didjs
Canister
Id
didjs
Canister
Id
:
string
Private
Optional
parser
Module
parser
Module
?:
any
unsubscribe
Agent
unsubscribe
Agent
:
(
(
)
=>
void
)
Type declaration
(
)
:
void
Returns
void
Private
get
Default
Did
Js
Id
get
Default
Did
Js
Id
:
any
Methods
initialize
Parser
initialize
Parser
(
module
?
)
:
Promise
<
void
>
Parameters
Optional
module
:
types
.
ReactorParser
Returns
Promise
<
void
>
fetch
Candid
Definition
fetch
Candid
Definition
(
canisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
get
Candid
Definition
get
Candid
Definition
(
canisterId
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
types
.
CandidDefenition
>
get
From
Metadata
get
From
Metadata
(
canisterId
)
:
Promise
<
undefined
|
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
undefined
|
string
>
get
From
Tmp
Hack
get
From
Tmp
Hack
(
canisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
dynamic
Eval
Js
dynamic
Eval
Js
(
data
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
data
:
string
Returns
Promise
<
types
.
CandidDefenition
>
fetch
Did
Tojs
fetch
Did
Tojs
(
candidSource
,
didjsCanisterId
?
)
:
Promise
<
[
string
]
>
Parameters
candidSource
:
string
Optional
didjsCanisterId
:
string
Returns
Promise
<
[
string
]
>
parse
Did
To
Js
parse
Did
To
Js
(
candidSource
)
:
string
Parameters
candidSource
:
string
Returns
string
validateIDL
validateIDL
(
candidSource
)
:
boolean
Parameters
candidSource
:
string
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
agent
didjs
Canister
Id
parser
Module
unsubscribe
Agent
get
Default
Did
Js
Id
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
dynamic
Eval
Js
fetch
Did
Tojs
parse
Did
To
Js
validateIDL
ic-reactor
Loading...