Hierarchy (view full)

Constructors

Methods

  • Parameters

    • __namedParameters: {
          auth: Auth;
          contract: SecretContract;
          owner: string;
      }
      • auth: Auth
      • contract: SecretContract
      • owner: string

    Returns Promise<Snip721GetTokensResponse>

  • Parameters

    • __namedParameters: {
          auth: Auth;
          contract: SecretContract;
          token_id: string;
      }
      • auth: Auth
      • contract: SecretContract
      • token_id: string

    Returns Promise<GetTokenInfoResponse>

  • Parameters

    • req: QueryByLabelRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryContractAddressResponse>

  • Parameters

    • req: QueryByCodeIdRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryCodeResponse>

  • Parameters

    • req: QueryByCodeIdRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryCodeHashResponse>

  • Parameters

    • req: QueryByContractAddressRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryCodeHashResponse>

  • Parameters

    • req: Empty
    • Optional headers: HeadersInit

    Returns Promise<QueryCodesResponse>

  • Parameters

    • req: QueryByContractAddressRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryContractInfoResponse>

  • Parameters

    • req: QueryByCodeIdRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryContractsByCodeIdResponse>

  • Parameters

    • req: QueryByContractAddressRequest
    • Optional headers: HeadersInit

    Returns Promise<QueryContractLabelResponse>

  • Query a Secret Contract. May return a string on error.

    Type Parameters

    • T extends object

    • R extends unknown

    Parameters

    Returns Promise<R>

Generated using TypeDoc