Execute an action
Call an action by providing the action name and the necessary details in the request body.
POST
Parameters
Body
application/jsonAction
The blockchain action to be executed
Signature
Cryptographic signature of the request for authentication and integrity verification
| Status code | Description |
|---|---|
| 200 | The result of the action execution. |
| 400 | Bad request error - the request contains invalid parameters or malformed data |
| 500 | Internal server error - an unexpected error occurred on the server |
cURL
curl -L -X POST \"https://blockv-labs.io/ebus/execute" \-H 'Accept: application/json'
Response
{"action_id": "string","steps": [{"action": "string","error": "Error message"}]}
json
{"type": "object","description": "Result of executing a blockchain action, containing the action ID and execution steps","required": ["action_id","steps"],"properties": {"action_id": {"type": "string","description": "Unique identifier of the executed action"},"steps": {"type": "array","description": "Array of execution steps performed during the action processing","items": {"type": "object","required": ["action"],"properties": {"action": {"type": "string"},"error": {"type": "string","x-go-type-skip-optional-pointer": true},"output": {"type": "object","x-go-type-skip-optional-pointer": true}}}}}}