GetLensPubIndexPairs

API

API
/v2/lens/id_index/pairs

Title

GetLensPubIndexPairs

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

Name
Type
Required
Description

profileIds

int[]

YES

The Lens 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/id_index/pairs' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
    "profileIds": [
      36113
    ]
  }'

Request URL

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

Response

{
  "status": "success",
  "data": {
    "36113": [
      {
        "index": 17,
        "pub_id": "0x8d11-0x01-DA-2e031960",
        "profile_id": 36113,
        "create_at": 1691045400,
        "update_at": 1691045416,
        "state": "Pass"
      }
    ]
  }
}

Last updated