Represents a persistent subscription.
The agent id.
The specific agent inputs.
An array of delivery channels.
Optional
Indicates the persistence preference.
The subscription id. Must be unique.
Indicates a public scope.
{ id: "polkadot-transfers", agent: "xcm", args: { origin: "0", senders: "*", destinations: [ "2000", "1000" ], events: "*", }, channels: [ { type: "webhook", url: "https://some.webhook" }, { type: "websocket" } ]} Copy
{ id: "polkadot-transfers", agent: "xcm", args: { origin: "0", senders: "*", destinations: [ "2000", "1000" ], events: "*", }, channels: [ { type: "webhook", url: "https://some.webhook" }, { type: "websocket" } ]}
Represents a persistent subscription.