Calls a plugin method.
AuthorizationBearer <token>
In: header
Path Parameters
plugin_idstring
The unique identifier of the plugin
paramsunknown
Plugin parameters
Response Body
curl -X POST "https://loading/api/v1/plugins/string/call" \ -H "Content-Type: application/json" \ -d '{ "params": null }'
{
"data": "done!",
"error": null,
"metadata": {
"logs": [
{
"level": "info",
"message": "Plugin started..."
}
],
"traces": [
{
"method": "sendTransaction",
"relayerId": "sepolia-example",
"requestId": "6c1f336f-3030-4f90-bd99-ada190a1235b"
}
]
},
"success": true
}
{
"data": {
"code": "VALIDATION_FAILED",
"details": {
"field": "email"
}
},
"error": "Validation failed",
"metadata": {
"logs": [
{
"level": "error",
"message": "Validation failed for field: email"
}
]
},
"success": false
}
{
"data": null,
"error": "Unauthorized",
"success": false
}
{
"data": null,
"error": "Plugin with ID plugin_id not found",
"success": false
}
{
"data": null,
"error": "Too Many Requests",
"success": false
}
{
"data": null,
"error": "Internal Server Error",
"success": false
}