Skip to main content
GET
Returns the bot’s activity, read from its own contract events: liquidations through it, the refunds it paid, funding, withdrawals, and the owner’s changes to its settings. Entries come newest first, and the deployment is appended as the last entry. Each call first reads new events from the chain, at most once every 20 seconds per bot. An event appears once its block is six blocks deep. One read covers at most 200,000 blocks and 400 events, so a bot with a long gap catches up over several calls. When the chain cannot be read, the call still answers from the events already stored. There is no offset. The newest 200 events are the furthest back this endpoint reaches.

Path Parameters

string
required
Bot ID.

Query Parameters

integer
default:"50"
Events to return, 1 to 200. A value outside that range, or not an integer, returns VALIDATION_ERROR. The deployment entry comes on top, so a response can hold limit + 1 entries.

Response Fields

object

Entry types

Error Codes