Preparing search index...
The search index is not available
Documentation
Documentation
@hackbg/fadroma
fadroma
Scrt
SecretJS
Snip721Querier
Class Snip721Querier
Hierarchy
ComputeQuerier
Snip721Querier
Index
Constructors
constructor
Methods
Get
Owned
Tokens
Get
Token
Info
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
Snip721
Querier
(
url
,
encryption
?
)
:
Snip721Querier
Parameters
url
:
string
Optional
encryption
:
EncryptionUtils
Returns
Snip721Querier
Methods
Get
Owned
Tokens
Get
Owned
Tokens
(
__namedParameters
)
:
Promise
<
Snip721GetTokensResponse
>
Parameters
__namedParameters
:
{
auth
:
Auth
;
contract
:
SecretContract
;
owner
:
string
;
}
auth
:
Auth
contract
:
SecretContract
owner
:
string
Returns
Promise
<
Snip721GetTokensResponse
>
Get
Token
Info
Get
Token
Info
(
__namedParameters
)
:
Promise
<
GetTokenInfoResponse
>
Parameters
__namedParameters
:
{
auth
:
Auth
;
contract
:
SecretContract
;
token_id
:
string
;
}
auth
:
Auth
contract
:
SecretContract
token_
id
:
string
Returns
Promise
<
GetTokenInfoResponse
>
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
Get
Owned
Tokens
Get
Token
Info
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.