Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion docs/sdk-and-tools/rest-api/ws-subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ main().catch(console.error);

```json
{
"status": "success",
"pool": [
{
"txHash": "0b0cd3932689c6853e50ccc0f49feeb9c5f2a68858cbd213fd0825dd4bc0632b",
Expand All @@ -258,7 +259,39 @@ main().catch(console.error);
"type": "Transaction"
}
],
"poolCount": 1902
"poolCount": 1902
}
```

#### Update fields

| Field | Type | Description |
|-----------|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| status | `"success" \| "tooLarge" \| "internalServerError"` | `success` when `pool` holds the transactions, `tooLarge` when the pool is too large to be sent, `internalServerError` when the pool could not be read. |
| pool | array \| null | The transactions in the pool for the requested page and type. `null` when `status` is not `success`. |
| poolCount | number \| null | The number of transactions in the pool for the requested type. When `status` is not `success`, the total count of the pool, regardless of `type`, or `null` when it could not be counted either. |

#### Pool too large

When the pool is too large to be read, the update carries no transactions, only the total count of the pool. Clients should show that the pool is too large to be displayed instead of the list.

```json
{
"status": "tooLarge",
"pool": null,
"poolCount": 58213
}
```

#### Pool unavailable

When the pool could not be read for any other reason, the update carries no transactions, only the total count of the pool, or `null` when it could not be counted either.

```json
{
"status": "internalServerError",
"pool": null,
"poolCount": 58213
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ npm start -- ./wallet.pem --guardian erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zp
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start -- ./wallet.pem erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ npm start -- ./wallet.pem erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ npm start -- ./wallet.pem 7
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ npm start -- ./wallet.pem
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ npm run build
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ the same.
"@multiversx/sdk-dapp": "5.7.1",
"@multiversx/sdk-dapp-ui": "0.1.24",
"@multiversx/sdk-dapp-utils": "3.1.0",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"next": "15.5.24",
"protobufjs": "7.6.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ npm run dev
"@multiversx/sdk-dapp": "5.7.1",
"@multiversx/sdk-dapp-ui": "0.1.24",
"@multiversx/sdk-dapp-utils": "3.1.0",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"next": "15.5.24",
"protobufjs": "7.6.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ to get HTTPS on the Vite dev server.
"@multiversx/sdk-dapp": "5.7.1",
"@multiversx/sdk-dapp-ui": "0.1.24",
"@multiversx/sdk-dapp-utils": "3.1.0",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5",
"react": "18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ npm start
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ npm start -- ./wallet.pem CookbookNFT CNFT
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ npm start -- ./wallet.pem CookbookSFT CSFT
},
"dependencies": {
"@multiversx/sdk-core": "15.4.1",
"axios": "1.18.1",
"axios": "1.20.0",
"bignumber.js": "9.3.1",
"protobufjs": "7.6.5"
},
Expand Down
Loading
Loading