Function cis0Supports

  • Queries a CIS-0 contract for support for a StandardIdentifier.

    Throws

    If the query could not be invoked successfully.

    Returns

    The support result of the query, or undefined if the contract does not support CIS-0.

    Parameters

    • grpcClient: ConcordiumGRPCClient

      The client to be used for the query.

    • contractAddress: ContractAddress

      The address of the contract to query.

    • standardId: string

      The standard identifier to query for support in contract.

    • Optional blockHash: BlockHash

      The hash of the block to query at.

    Returns Promise<SupportResult | undefined>

  • Queries a CIS-0 contract for support for a StandardIdentifier.

    Throws

    If the query could not be invoked successfully.

    Returns

    The support results of the query ordered by the ID's supplied by the ids param, or undefined if the contract does not support CIS-0.

    Parameters

    • grpcClient: ConcordiumGRPCClient

      The client to be used for the query.

    • contractAddress: ContractAddress

      The address of the contract to query.

    • standardIds: string[]

      The standard identifiers to query for support in contract.

    • Optional blockHash: BlockHash

      The hash of the block to query at.

    Returns Promise<SupportResult[] | undefined>

Generated using TypeDoc