getOpenCurationIdIndexPairs

API

API/v2/lens/open_curation/id_index/pairs

Title

getOpenCurationIdIndexPairs

Description

Retrieve the bid of the curation that has ended and is waiting for the curator to claim the reward

Authorization

Not required

Method

POST

Request Parameters

NameTypeRequiredDescription

profileIds

int[]

YES

The profile id list of the curators

Parameter Content Type

application/json

Request and Response Example

Request

cURL Code

curl -X 'POST' \
  'https://api.tako.so/v2/lens/open_curation/id_index/pairs' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "profileIds": [
      180
    ]
  }'

Request URL

https://api.tako.so/v2/lens/open_curation/id_index/pairs

Response

{
  "status": "success",
  "data": {
    "180": [
      {
        "index": 17,
        "pub_id": "0xb4-0x08-DA-67cfa258",
        "profile_id": 180,
        "create_at": 1700708961,
        "update_at": 1700708961,
        "state": "Pending"
      }
    ]
  }
}

Last updated