takoHubInfo()

SDKtakoHubInfo()

Description

Get contract of Tako Protocol

Nature

Method of Class

Example Code

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

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

const hub = await lensOpenCuration.takoHubInfo()

Example Returns

{
  chain: 'mumbai',
  chain_id: 80001,
  contract: '0xC158A4319BC125e315120DbDfBEa8b8343aa3234'
}

Last updated