Publish updates
PUBLISH
Read the ledger’s filtered update stream for the specified contents and filters.
It returns the event types in accordance with the stream contents selected. Also the selection criteria
for individual events depends on the transaction shape chosen./v2/updates- ACS delta: a requesting party must be a stakeholder of an event for it to be included.
- ledger effects: a requesting party must be a witness of an event for it to be included.
Protocol Details
ProtocolWebSocket
Channel/v2/updates
Actionpublish
Operation IDsendV2Updates
Content typeapplication/json
Payloadobject
Inputs
Outputs
Related Schemas
GetUpdatesRequest
GetUpdatesRequest
beginExclusivestringrequiredHistory
Updated
3.5channel description updated; publish description updated; publish required fields added: beginExclusive; publish required fields removed: updateFormat
wscat
wscat
npx wscat \
-c <WEBSOCKET_URL> \
-x '{"beginExclusive": "<integer>"}' \
-w -1
messageapplication/json
message
{
"beginExclusive": "<integer>"
}