Skip to content

/contract

/contract/count

Get Cauldron contract count.

Active contracts are liquidity pools that are active. Ended contracts are liquidity pools that have been withdrawn.

Example result

Query: /contract/count

    {"active":487,"ended":2781}

/contract/volume?<end>

end: unix timestamp for period end (default NOW)

Get volume at timestamp.

Example result

Query: /contract/volume?end=1688205380

    [
        {
          "one_day_sats": 635306922,
          "thirty_days_sats": 635306922,
          "token_id": "b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92",
          "total_sats": 635306922
        }
    ]