VerifyLensBid
API
API | /v2/lens/verify_bid |
---|---|
Title | VerifyLensBid |
Description | Momoka is now running for Lens. The user’s publications are possibly sent to the Momoka system or Polygon (the old mechanism). So part of the publications are from the Momoka, and the others are from the Polygon. The data on Momoka and Polygon is separate. So the users cannot comment or mirror using Polygon for the Momoka publications. Suppose the booster wants the curator to comment on or mirror a Momoka publication. The comment or mirror result will be sent to Momoka after the curator accepts the bid. Because Lens does not allow users to comment or mirror Momoka publications using Polygon. Tako will do all the curate works for curators, such as comment, mirror, etc. It will be straightforward if Tako does all the work using Polygon because they all happen in Polygon. But if Tako has to use Momoka, it won’t be easy because Momoka and Polygon are separate. So it would be best to do extra work to verify whether the curate works are done. The curator can claim his reward from the booster bid after verification. |
Authorization | Not required |
Method |
|
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
address | string | YES | The curator’s EVM-compatible address |
index | int | NO | The index of bid |
pubId | string | YES | The id of publication created by the curator |
Parameter Content Type
application/json
Request and Response Example
Request
cURL Code
Request URL
https://api.tako.so/v2/lens/verify_bid
Response
When calling the loanWithSig
method in the contract, you need to pass the signature
and relayer
from the response as parameters to loanWithSig
. Please refer to the contract method for specific details.
The loanWithSig
method in the contract is used to allow a curator to claim their reward when their curation is evaluated as the best after the curation is completed.
Last updated