curatorStatus()

SDKcuratorStatus()

Description

Check the curation status of a bid

Nature

Method of Class

Parameters

NameTypeDescription

index

number

The index of bid

profileId

number

The curator’s Lens profile id

Example Code

import { CONSTANT, TakoOpenCuration } from 'tako-open-curation'

const tako = new TakoOpenCuration(CONSTANT.Network.TESTNET)
const lensOpenCuration = tako.lensOpenCuration

const result = await lensOpenCuration.curatorStatus(26, 72)

Example Returns

{ 
  description: 'in-progress',
  index: 27,
  profileId: 189,
  status: 3
}
{
  description: 'no register info found',
  index: 1,
  profileId: 71,
  status: 0
}
{
  description: 'unregistered',
  index: 27,
  profileId: 186,
  status: 4
}

Last updated