List action logs
Retrieve a paginated list of blockchain action execution logs. This endpoint provides access to detailed information about action processing including status, wallet interactions, batch associations, and execution timestamps. Action logs can be filtered by various criteria including action ID, batch ID, wallet ID, object ID, signer, and status.
GET
Parameters
Query Parameters
Id
Filter resources by their unique identifier
Org_id
Filter resources by the organization they belong to
Limit
How many items to return at one time (max 100)
Next
Pagination token for retrieving the next page of results
Order
Sort order for the results (ascending or descending)
SortBy
Field name to sort the results by
Action_id
Filter logs by action ID
Batch_id
Filter logs by batch ID
Wallet_id
Filter logs by wallet ID
Object_id
Filter logs by object ID
Signer
Filter logs by signer address
Status
Filter logs by execution status
When_created[$gt]
Filter logs created after this date and time
When_created[$lt]
Filter logs created before this date and time
When_created[$gte]
Filter logs created on or after this date and time
When_created[$lte]
Filter logs created on or before this date and time
| Status code | Description |
|---|---|
| 200 | List of action logs |
| 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 \"https://blockv-labs.io/ebus/action-logs?id={id}&org_id={org_id}&limit={limit}&next={next}&order={order}&sortBy={sortBy}&action_id={action_id}&batch_id={batch_id}&wallet_id={wallet_id}&object_id={object_id}&signer={signer}&status={status}&when_created[$gt]={when_created[$gt]}&when_created[$lt]={when_created[$lt]}&when_created[$gte]={when_created[$gte]}&when_created[$lte]={when_created[$lte]}" \-H 'Accept: application/json'
Response
{"action_logs": [{"id": "string","batch_id": "string","wallet_id": "string","action_name": "string","action_alias": "string","params_hash": "string","signer": "string","signature": "string","hash": "string","affected_objects": [{"id": "string","template_id": "string","prev_state_root": "string","next_state_root": "string"}],"status": "pending","fee": "string","version": 0,"when_modified": "2024-01-01T00:00:00Z","when_created": "2024-01-01T00:00:00Z"}],"next": "string"}
json
{"type": "object","description": "Response containing a list of action logs with pagination support","required": ["action_logs"],"properties": {"action_logs": {"type": "array","description": "Array of action log entries returned in the response","items": {"type": "object","required": ["id","params","params_hash","signer","signature","state_root","status","fee","version","when_modified","when_created"],"properties": {"id": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "_id","json": "id"},"x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"},"x-go-type-skip-optional-pointer": true},"batch_id": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "batch_id"},"x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"}},"wallet_id": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "wallet_id"},"x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"},"x-go-type-skip-optional-pointer": true},"action_name": {"type": "string","description": "The name of the action","x-oapi-codegen-extra-tags": {"bson": "action_name"},"x-go-type-skip-optional-pointer": true},"action_alias": {"type": "string","description": "The alias of the action","x-oapi-codegen-extra-tags": {"bson": "action_alias"},"x-go-type-skip-optional-pointer": true},"params": {"type": "array","items": {"type": "object","x-go-type": "any","x-go-type-import": null},"x-oapi-codegen-extra-tags": {"bson": "params"}},"params_hash": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "params_hash"},"x-go-type-skip-optional-pointer": true},"signer": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "signer"}},"signature": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "signature"},"x-go-type-skip-optional-pointer": true},"hash": {"type": "string","x-oapi-codegen-extra-tags": {"bson": "hash"},"x-go-type-skip-optional-pointer": true},"affected_objects": {"type": "array","items": {"type": "object","required": ["id","template_id","next_state_root"],"properties": {"id": {"type": "string","x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"},"x-oapi-codegen-extra-tags": {"bson": "id"}},"template_id": {"type": "string","x-go-type": "id.ID","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/id"},"x-oapi-codegen-extra-tags": {"bson": "template_id"}},"prev_state_root": {"type": "string","description": "The previous state","x-oapi-codegen-extra-tags": {"bson": "prev_state_root"}},"next_state_root": {"type": "string","description": "The new state","x-oapi-codegen-extra-tags": {"bson": "next_state_root"}}}},"x-oapi-codegen-extra-tags": {"bson": "affected_objects"},"x-go-type-skip-optional-pointer": true},"status": {"type": "string","enum": ["pending","completed","failed"],"example": "pending","x-oapi-codegen-extra-tags": {"bson": "status"}},"fee": {"type": "string","x-go-type": "decimal.Decimal","x-go-type-import": {"path": "github.com/vlabsio/smarttoken/pkg/types/decimal"},"x-oapi-codegen-extra-tags": {"bson": "fee"}},"version": {"type": "integer","x-oapi-codegen-extra-tags": {"bson": "version"}},"when_modified": {"type": "string","format": "date-time","x-oapi-codegen-extra-tags": {"bson": "when_modified"}},"when_created": {"type": "string","format": "date-time","x-oapi-codegen-extra-tags": {"bson": "when_created"}}}}},"next": {"type": "string","description": "Pagination token for retrieving the next set of action logs","x-go-type-skip-optional-pointer": true}}}