Function fromId

  • Create a Lock instance from a lock id by querying the node.

    Returns

    A lock client instance backed by the fetched on-chain state.

    Parameters

    • grpc: ConcordiumGRPCClient

      The gRPC client used to query the lock.

    • lockId: LockId

      The identifier of the lock to fetch.

    Returns Promise<Lock>

Generated using TypeDoc