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: /cauldron/contract/count

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

/contract/count/<token>

Get current Cauldron contract count for a specific token.

Example results

Query: /cauldron/contract/count/b79bfc8246b5fc4707e7c7dedcb6619ef1ab91f494a790c20b0f4c422ed95b92

{"active":3,"ended":3}

/contract/volume?<end>

end: unix timestamp for period end (default NOW)

Get volume for all tokens at timestamp.

Example result

Query: /cauldron/contract/volume?end=1688205380

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