Event

Event

POST https://api.dsp.io/event

The event handler is used between DSPs to signal events that need to be handled without the use of the blockchain, otherwise DSPs can receive events from demux.

Request Body

Name
Type
Description

receiver

string

receiver of action, dappservices contract

method

string

usage/usagex depending if provisioning chain or not

account

string

contract event related to

data

object

data of event, usage report

event

object

event

meta

object

blockchain metadata

replay

boolean

whether event is intended to be a replay or an actual event between DSPs

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

Example event can be found here

Last updated