# Help Issue

**URL:** <https://forum.canton.network/t/help-issue/4516>\
**Category:** App Development\
**Tags:** features and bugs, canton\
**Created:** [May 12, 2022, 3:03pm UTC](https://forum.canton.network/t/help-issue/4516 "2022-05-12T15:03:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean\_Safar1](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jean_safar1/32/2860_2.png) [@Jean\_Safar1](https://forum.canton.network/u/Jean_Safar1)\
**Post date:** [May 12, 2022, 3:03pm UTC](https://forum.canton.network/t/help-issue/4516/1 "2022-05-12T15:03:27Z")

</div>

Running daml-sdk 2.1.1 I connect the canton console to it and I look at participant 0

## **Then I ask for the help on it:** @ participants.all(0).help Top-level Commands

config - Return participant config  
help - Help for specific commands (use help() or help(“method”) for more information)  
id - Yields the globally unique id of this participant. Throws an exception, if the id has not yet been allocated (e.g., the participant has not yet been started).  
is\_initialized - Check if the local instance is running and is fully initialized  
is\_running - Check if the local instance is running  
start - Start the instance  
stop - Stop the instance

## Certificates

certs - Manage your certificates

## Command Groups

dars - Manage DAR packages  
db - Database related operations  
domains - Manage domain connections  
health - Health and diagnostic related commands  
keys - Manage public and secret keys  
packages - Manage raw Daml-LF packages  
parties - Inspect and manage parties  
replication - Manage participant replication  
resources - Functionality for managing resources  
topology - Topology management related commands

**Id Works**  
@ participants.all(0).id  
res2: ParticipantId = PAR::sandbox::122097cb2d68…

But when I call the is\_running method on it, it gives me an error:  
@ participants.all(0).is\_running  
cmd8.sc:1: value is\_running is not a member of com.digitalasset.canton.console.ParticipantReference  
val res8 = participants.all(0).is\_running

Should the help indicate that is\_running is available?

Then I use the completion:  
@ participants.all(0).  
InstanceId consoleEnvironment keys pretty productElementNames toLf  
Status copy ledger\_api prettyInfix productIterator toProtoPrimitive  
StringOperators customParam name prettyNode productPrefix topology  
adHocPrettyInstance dars packages prettyOfClass pruning transfer  
adminParty discard param prettyOfObject resources typeClassInstance  
canEqual domains paramIfDefined prettyOfParam self uid  
certs filterString paramIfNonEmpty prettyOfString show unnamedParam  
clear\_cache health paramIfTrue productArity showType unnamedParamIfDefined  
code help paramWithoutValue productElement testing unnamedParamIfNonEmpty  
config id parties productElementName toLengthLimitedString

But when I call InstanceId I also get an error.  
@ participants.all(0).InstanceId  
cmd8.sc:1: value InstanceId is not a member of com.digitalasset.canton.console.ParticipantReference  
val res8 = participants.all(0).InstanceId

commands such as status, config etc… seem to work ok! Is it due to being the sandbox? Why is there a different help than what the completion shows?

---

<div class="post-metadata">

**Author:** ![Phoebe\_Nichols](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/phoebe_nichols/32/454_2.png) [@Phoebe\_Nichols](https://forum.canton.network/u/Phoebe_Nichols)\
**Post date:** [May 13, 2022, 12:59pm UTC](https://forum.canton.network/t/help-issue/4516/2 "2022-05-13T12:59:15Z")

</div>

`participants.all` gives all participants, including both local and remote participants. This means you can only use commands that exist for both local and remote participants.

The command `is_running` only exists for local participants, so the following will work

```haskell
@ participants.local(0).is_running
res7: Boolean = true

```

The `InstanceId` that you’re seeing is a type rather than being a value. So you could use it like this:

```haskell
@ type MyType = participant1.InstanceId
defined type MyType
@ ParticipantId("hello").isInstanceOf[MyType]
res12: Boolean = true

```

Let me know if there are any further questions,  
Phoebe

---

<div class="post-metadata">

**Author:** ![Jean\_Safar1](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/jean_safar1/32/2860_2.png) [@Jean\_Safar1](https://forum.canton.network/u/Jean_Safar1)\
**Post date:** [May 13, 2022, 1:52pm UTC](https://forum.canton.network/t/help-issue/4516/3 "2022-05-13T13:52:29Z")

</div>

Thanks a lot!  
I think then that the help and tab should be consistent with what can be applied contextually!
