Events
Create a new event.
Changed onCreate a new event.
post/v1/events
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v1/events
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"name": "Event Name",
"contract": "con_6f6c9067-89fa-4fc8-ac72-c242a268c584",
"functionArgs": [
"arg1",
"arg2"
],
"functionName": "functionName",
"developerAccount": "dev_6f6c9067-89fa-4fc8-ac72-c242a268c584",
"chainId": 80001,
"numberOfBlocks": 10
}Response
Event created.
Changes
- info
added the new
funding.session.updatedenum value to the request property
- info
- info
the security scope
events:writewas added to the endpoint's security schemesk - info
added the new
solana_transaction.broadcastenum value to the request property - info
added the new
solana_transaction.failedenum value to the request property - info
added the new
solana_transaction.successfulenum value to the request property
- info