Skip to content

Commit

Permalink
tweak: node-dusk-http-wss
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Feb 21, 2025
1 parent 44c0459 commit 795bc1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions sources/blockchain/node-dusk-http-wss.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Exemple de réponse :
Exemple de réponse :

```{literalinclude} snippets/node-dusk-http-wss.sh
:lines: 53-76
:lines: 53-75
:language: json
```

Expand All @@ -101,7 +101,7 @@ Exemple de réponse :
Exemple de réponse :

```{literalinclude} snippets/node-dusk-http-wss.sh
:lines: 86-104
:lines: 86-103
:language: json
```

Expand Down
4 changes: 2 additions & 2 deletions sources/blockchain/snippets/node-dusk-http-wss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ curl 'https://nodes.dusk.network/on/graphql/query' --json \
cat << 'EOF'
{
"blocks": [
// (...)
{
"header": {
"generatorBlsPubkey": "24e5SaodhsLnTpHW...",
Expand All @@ -77,6 +76,7 @@ cat << 'EOF'
EOF



# Same as above, but get a JSON serialization of transactions data
curl 'https://nodes.dusk.network/on/graphql/query' --json \
'fragment TransactionInfo on SpentTransaction { tx { json } }
Expand All @@ -85,7 +85,6 @@ curl 'https://nodes.dusk.network/on/graphql/query' --json \
cat << 'EOF'
{
"blocks": [
// (...)
{
"header": {
"generatorBlsPubkey": "24e5SaodhsLnTpHW...",
Expand All @@ -103,6 +102,7 @@ cat << 'EOF'
]
}
EOF

cat << 'EOF'
{
"call": {
Expand Down
4 changes: 2 additions & 2 deletions sources/en/blockchain/node-dusk-http-wss.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Output example:
Output example:

```{literalinclude} ../../blockchain/snippets/node-dusk-http-wss.sh
:lines: 53-76
:lines: 53-75
:language: json
```

Expand All @@ -96,7 +96,7 @@ Output example:
Output example:

```{literalinclude} ../../blockchain/snippets/node-dusk-http-wss.sh
:lines: 86-104
:lines: 86-103
:language: json
```

Expand Down

0 comments on commit 795bc1b

Please sign in to comment.