CONTRACT_HISTORY

Get paginated contract event history

Returns paginated contract events ordered by block number (most recent first). Filter by one or more contract addresses (comma-separated) and an event name. Each row is a colon-delimited string: timestamp:operationType:veeAmount:itemAmount:transactionId:unitPrice. unitPrice is VEE per item, derived from the swap amounts.

get/v2/contract_history

Request

  • Base URL: https://api.zee-verse.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.zee-verse.com/v2/contract_history
  • Auth: none required

Query parameters

contractsstring required

Comma-separated contract addresses to fetch history for

Example:0x0000000000000000000000000000000000000000,0x1111111111111111111111111111111111111111
eventstring required

Event name to filter by

Example:Swap
pageinteger
Example:1
limitinteger

Items per page

Example:50

Response

Contract history events

datastring[] required

Colon-delimited event strings, one per row. Format: timestamp:operationType:price:quantity:transactionId. operationType is 0 (buy) or 1 (sell).

Example response

{
  "data": [
    "1717000000:0:20.00:1:0xabc1234567890"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.