GetLensBidsIgnored

API

API/v2/lens/get_bids_ignored

Title

GetLensBidsIgnored

Description

Get the bids which ignored by the curator.

Authorization

Not required

Method

POST

Request Parameters

NameTypeRequiredDescription

profileIds

int[]

YES

The Lens profile id list of the bidders

bidType

string[]

NO

"Post", "Mirror", "Comment", "QuotedPublication" If the bidType is not included in the request parameters, all data will be queried.

limit

int

NO

The number of bids displayed per page, default to 10

offset

int

NO

Specify the number of rows to be skipped from the beginning of the query result. For example, offsett 5 means that the first 5 rows of the query result will be skipped.

sort

string

NO

Can sort by "bid_amount", "create_at", "update_at", default to "bid_amount"

sortType

string

NO

“desc” or “asc”, default to “desc”. Arrange in ascending or descending order.

Parameter Content Type

application/json

Request and Response Example

Request

cURL Code

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

Request URL

https://api.tako.so/v2/lens/get_bids_ignored

Response

{
  "status": "success",
  "data": {
    "bids": [
      {
        "id": 18729,
        "index": 70,
        "platform_type": "polygon",
        "content_uri": "",
        "bid_token": "0x0000000000000000000000000000000000000000",
        "bid_address": "0xCe41cdCCA1849CaD58DaACc6005B1990Be04e1F0",
        "bid_amount": 1000000000000,
        "bid_expires": 1691012582,
        "to_profiles": [
          36113
        ],
        "curator_profile_id": 0,
        "curator_pub_id": "0x00",
        "state": "Pending",
        "bid_type": "Mirror",
        "block_number": 0,
        "others": {
          "pubIdPointed": 2,
          "profileIdPointed": 36112
        },
        "events": {
          "addBidEvent": {
            "state": "Pending",
            "tx_hash": "0xfef79bb3082eed54df52319cac60563bd7430d4c165f9927bcd362d33862e9f7",
            "event_name": "addBidEvent",
            "block_number": 38553832,
            "block_timestamp": 1690969382
          }
        },
        "create_at": 1690969382,
        "update_at": 1690969382,
        "is_ignored": false
      }
    ],
    "total": 1
  }
}

Last updated