Skip to content

Commit 4ffb3c9

Browse files
author
Damien LACHAUME / PALO-IT
committed
docs: enhance wasm library developer guide
1 parent ee35032 commit 4ffb3c9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/website/root/manual/developer-docs/nodes/mithril-client-library-wasm.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,23 @@ let valid_stake_distribution_message = await client.verify_message_match_certifi
114114
console.log("valid_stake_distribution_message:", valid_stake_distribution_message);
115115
```
116116

117-
If the aggregator signs **CardanoTransactions** _(as of 2023-02-19 only the sanchonet aggregator signs them)_, you can add the code below to the previous example:
117+
If the aggregator signs **CardanoTransactions**, you can add the code below to the previous example:
118+
119+
:::tip
120+
121+
You can verify that the aggregator signs **CardanoTransactions** by running the command below:
122+
123+
```bash
124+
wget -q -O - YOUR_AGGREGATOR_ENDPOINT | jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])'
125+
```
126+
127+
For example with the aggregator on `testing-sanchonet` Mithril network:
128+
129+
```bash
130+
wget -q -O - https://aggregator.testing-sanchonet.api.mithril.network/aggregator | jq '.capabilities.signed_entity_types | contains(["CardanoTransactions"])'
131+
```
132+
133+
:::
118134

119135
```js
120136
const proof = await client.unstable.get_cardano_transaction_proofs(["CARDANO_TRANSACTION_HASH_1", "CARDANO_TRANSACTION_HASH_2"]);

0 commit comments

Comments
 (0)