# Is the D disclosure type specific to submitMulti?

**URL:** <https://forum.canton.network/t/is-the-d-disclosure-type-specific-to-submitmulti/2220>\
**Category:** App Development\
**Created:** [March 7, 2021, 12:00pm UTC](https://forum.canton.network/t/is-the-d-disclosure-type-specific-to-submitmulti/2220 "2021-03-07T12:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [March 7, 2021, 12:00pm UTC](https://forum.canton.network/t/is-the-d-disclosure-type-specific-to-submitmulti/2220/1 "2021-03-07T12:00:53Z")

</div>

The `D` disclosure type is new for `submitMulti`?

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/0/0097a1855afb69ddc30b67a04f4bda4f5624d629.png)

I might be mistaken, but I don’t remember we had this earlier. I remember `S` for Signatory, `O` for observer, `W` for Witness.

Without `submitMulti` we have this kind of disclosure, without the `D` for Alice in contract `T`:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/6/652a30476bb0e31ebba1b5556285452a4f704ed7.png)

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [March 7, 2021, 6:51pm UTC](https://forum.canton.network/t/is-the-d-disclosure-type-specific-to-submitmulti/2220/2 "2021-03-07T18:51:41Z")

</div>

The `W` disclosure type is not specific to `submitMulti`. The [documentation](https://docs.daml.com/daml/daml-studio.html#scenario-and-daml-script-results) has a brief summary:

> The party sees the contract because they have been divulged the contract, e.g., because they witnessed an exercise that resulted in a `fetch` of this contract.

With a tiny modification to the example from [Can I fetch a contract visible to another party with submitMulti? - #4](https://discuss.daml.com/t/can-i-fetch-a-contract-visible-to-another-party-with-submitmulti/2217/4), we can reproduce the same disclosure: Bob can access the fetch choice directly since the contract is visible to him. Alice is a signatory on `TFetch` so she will witness the exercise and thereby also witness the fetch of the contract.

```haskell
module Main where

import Daml.Script

template T
  with
    p : Party
  where
    signatory p

template FetchTpl
  with
    p1 : Party
    p2 : Party
  where
    signatory p1
    observer p2
    nonconsuming choice Fetch : T
      with
        cid : ContractId T
      controller p2
      do fetch cid

test = do
  alice <- allocateParty "Alice"
  bob <- allocateParty "Bob"
  fetchCid <- submit alice $ createCmd (FetchTpl alice bob)
  tCid <- submit bob $ createCmd (T bob)
  submit bob $ exerciseCmd fetchCid (Fetch tCid)
  pure ()

```

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [March 8, 2021, 2:40pm UTC](https://forum.canton.network/t/is-the-d-disclosure-type-specific-to-submitmulti/2220/3 "2021-03-08T14:40:06Z")

</div>

Thank you!
