π€ΉLaunchpad
This document aims to allow external developers to integrate with Mito's Launchpad from within their dApps. We will only show the message examples, how will you integrate them within your dApp is your own choice. Documentation on broadcasting the transactions containing these messages can be found here.
Query
Fetch Launchpad Details
import { IndexerGrpcMitoApi } from '@injectivelabs/sdk-ts'
const MITO_API_ENDPOINT = 'https://k8s.mainnet.mito.grpc-web.injective.network' /** for mainnet */
const mitoApi = new IndexerGrpcMitoApi(MITO_API_ENDPOINT)
const address = 'inj1..'
const LAUNCHPAD_CONTRACT_ADDRESS = 'inj1..'
const { ido: launchpad } = await mitoApi.fetchIDO({
contractAddress: LAUNCHPAD_CONTRACT_ADDRESS,
accountAddress: address
})
console.log(launchpad)Transactions
Subscribe to Launchpad
Claim Launchpad Subscription
Last updated