Preparing search index...
The search index is not available
Documentation
Documentation
@hackbg/fadroma
fadroma
Scrt
SecretJS
Query
ComputeQuerier
Class ComputeQuerier
Hierarchy
ComputeQuerier
Snip20Querier
Snip721Querier
Index
Constructors
constructor
Properties
code
Hash
Cache
encryption?
url
Methods
address
By
Label
code
code
Hash
By
Code
Id
code
Hash
By
Contract
Address
codes
contract
Info
contracts
By
Code
Id
label
By
Address
query
Contract
Constructors
constructor
new
Compute
Querier
(
url
,
encryption
?
)
:
ComputeQuerier
Parameters
url
:
string
Optional
encryption
:
EncryptionUtils
Returns
ComputeQuerier
Properties
Private
code
Hash
Cache
code
Hash
Cache
:
Map
<
string
|
number
,
string
>
= ...
Private
Optional
encryption
encryption
?:
EncryptionUtils
Private
url
url
:
string
Methods
address
By
Label
address
By
Label
(
req
,
headers
?
)
:
Promise
<
QueryContractAddressResponse
>
Parameters
req
:
QueryByLabelRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryContractAddressResponse
>
code
code
(
req
,
headers
?
)
:
Promise
<
QueryCodeResponse
>
Parameters
req
:
QueryByCodeIdRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryCodeResponse
>
code
Hash
By
Code
Id
code
Hash
By
Code
Id
(
req
,
headers
?
)
:
Promise
<
QueryCodeHashResponse
>
Parameters
req
:
QueryByCodeIdRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryCodeHashResponse
>
code
Hash
By
Contract
Address
code
Hash
By
Contract
Address
(
req
,
headers
?
)
:
Promise
<
QueryCodeHashResponse
>
Parameters
req
:
QueryByContractAddressRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryCodeHashResponse
>
codes
codes
(
req
,
headers
?
)
:
Promise
<
QueryCodesResponse
>
Parameters
req
:
Empty
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryCodesResponse
>
contract
Info
contract
Info
(
req
,
headers
?
)
:
Promise
<
QueryContractInfoResponse
>
Parameters
req
:
QueryByContractAddressRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryContractInfoResponse
>
contracts
By
Code
Id
contracts
By
Code
Id
(
req
,
headers
?
)
:
Promise
<
QueryContractsByCodeIdResponse
>
Parameters
req
:
QueryByCodeIdRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryContractsByCodeIdResponse
>
label
By
Address
label
By
Address
(
req
,
headers
?
)
:
Promise
<
QueryContractLabelResponse
>
Parameters
req
:
QueryByContractAddressRequest
Optional
headers
:
HeadersInit
Returns
Promise
<
QueryContractLabelResponse
>
query
Contract
query
Contract
<
T
,
R
>
(
__namedParameters
,
headers
?
)
:
Promise
<
R
>
Query a Secret Contract. May return a string on error.
Type Parameters
T
extends
object
R
extends
unknown
Parameters
__namedParameters
:
QueryContractRequest
<
T
>
Optional
headers
:
HeadersInit
Returns
Promise
<
R
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
code
Hash
Cache
encryption
url
address
By
Label
code
code
Hash
By
Code
Id
code
Hash
By
Contract
Address
codes
contract
Info
contracts
By
Code
Id
label
By
Address
query
Contract
Documentation
@fadroma/agent
@hackbg/fadroma
Generated using
TypeDoc
Query a Secret Contract. May return a string on error.