Preparing search index...
The search index is not available
Documentation
Documentation
@fadroma/scrt
SecretJS
Query
ComputeQuerier
Class ComputeQuerier
Hierarchy (
view full
)
ComputeQuerier
SecretJS
.
Snip20Querier
SecretJS
.
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
?
)
:
SecretJS
.
Query
.
ComputeQuerier
Parameters
url
:
string
Optional
encryption
:
SecretJS
.
EncryptionUtils
Returns
SecretJS
.
Query
.
ComputeQuerier
Properties
Private
code
Hash
Cache
code
Hash
Cache
:
Map
<
string
|
number
,
string
>
= ...
Private
Optional
encryption
encryption
?:
SecretJS
.
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
:
SecretJS
.
Query
.
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
scrt
cw
oci
create
compile
devnet
@hackbg
ganesha
ensuite
cmds
conf
file
logs
oops
port
repo
CosmJS-ESM Documentation
SecretJS-ESM Docs
Loading...
Generated using
TypeDoc
Query a Secret Contract. May return a string on error.