Models for the Ethercast service
These models are delivered to the subscribed webhooks (particularly, Logs and Transactions) and also used in the API
npm install --save @ethercast/model
The exports of @ethercast/model
are:
EthereumTypes
EthercastTypes
You can use the TypeScript interfaces when writing TypeScript code to handle Webhooks or communicate with the API.
The standard draft 6 JSON schemas are useful for a variety of use cases, including validating requests sent to your webhooks.
To use the JSON schemas, you must import one of:
@ethercast/model/ethercast-api-types-schema.json
@ethercast/model/ethereum-types.json
Generated using TypeDoc