Constructors
constructor
- new ComputeQuerier(url, encryption?): Query.ComputeQuerier
Methods
addressByLabel
- addressByLabel(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>
codeHashByCodeId
- codeHashByCodeId(req, headers?): Promise<QueryCodeHashResponse>
Parameters
req: QueryByCodeIdRequest
Optional
headers: HeadersInit
Returns Promise<QueryCodeHashResponse>
codeHashByContractAddress
- codeHashByContractAddress(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>
contractInfo
- contractInfo(req, headers?): Promise<QueryContractInfoResponse>
Parameters
req: QueryByContractAddressRequest
Optional
headers: HeadersInit
Returns Promise<QueryContractInfoResponse>
contractsByCodeId
- contractsByCodeId(req, headers?): Promise<QueryContractsByCodeIdResponse>
Parameters
req: QueryByCodeIdRequest
Optional
headers: HeadersInit
Returns Promise<QueryContractsByCodeIdResponse>
labelByAddress
- labelByAddress(req, headers?): Promise<QueryContractLabelResponse>
Parameters
req: QueryByContractAddressRequest
Optional
headers: HeadersInit
Returns Promise<QueryContractLabelResponse>
queryContract
- queryContract<T, R>(__namedParameters, headers?): Promise<R>
Type Parameters
T extends object
R extends unknown
Parameters
Optional
headers: HeadersInit
Returns Promise<R>
Query a Secret Contract. May return a string on error.