ic-reactor
Example
GitHub
Preparing search index...
core
classes
CandidAdapter
Class CandidAdapter
Index
Constructors
constructor
Properties
agent
didjs
Canister
Id
unsubscribe
Agent
Methods
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
evaluate
Candid
Definition
fetch
Did
Tojs
parse
Did
To
Js
validate
IDL
Constructors
constructor
new
CandidAdapter
(
__namedParameters
:
types
.
CandidAdapterParameters
,
)
:
CandidAdapter
Parameters
__namedParameters
:
types
.
CandidAdapterParameters
Returns
CandidAdapter
Properties
agent
agent
:
types
.
HttpAgent
didjs
Canister
Id
didjsCanisterId
:
string
unsubscribe
Agent
unsubscribeAgent
:
()
=>
void
= noop
Methods
initialize
Parser
initializeParser
(
module
?:
types
.
ReactorParser
)
:
Promise
<
void
>
Parameters
Optional
module
:
types
.
ReactorParser
Returns
Promise
<
void
>
fetch
Candid
Definition
fetchCandidDefinition
(
canisterId
:
types
.
CanisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
get
Candid
Definition
getCandidDefinition
(
canisterId
:
types
.
CanisterId
,
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
types
.
CandidDefenition
>
get
From
Metadata
getFromMetadata
(
canisterId
:
types
.
CanisterId
)
:
Promise
<
undefined
|
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
undefined
|
string
>
get
From
Tmp
Hack
getFromTmpHack
(
canisterId
:
types
.
CanisterId
)
:
Promise
<
string
>
Parameters
canisterId
:
types
.
CanisterId
Returns
Promise
<
string
>
evaluate
Candid
Definition
evaluateCandidDefinition
(
data
:
string
)
:
Promise
<
types
.
CandidDefenition
>
Parameters
data
:
string
Returns
Promise
<
types
.
CandidDefenition
>
fetch
Did
Tojs
fetchDidTojs
(
candidSource
:
string
,
didjsCanisterId
?:
string
)
:
Promise
<
[
string
]
>
Parameters
candidSource
:
string
Optional
didjsCanisterId
:
string
Returns
Promise
<
[
string
]
>
parse
Did
To
Js
parseDidToJs
(
candidSource
:
string
)
:
string
Parameters
candidSource
:
string
Returns
string
validate
IDL
validateIDL
(
candidSource
:
string
)
:
boolean
Parameters
candidSource
:
string
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
agent
didjs
Canister
Id
unsubscribe
Agent
Methods
initialize
Parser
fetch
Candid
Definition
get
Candid
Definition
get
From
Metadata
get
From
Tmp
Hack
evaluate
Candid
Definition
fetch
Did
Tojs
parse
Did
To
Js
validate
IDL
Example
GitHub
ic-reactor
Loading...