Get Contract

This section describes how you can get the previously contract data.

To use this method, you need an idexo API key that has been upgraded to a customer API key. To upgrade, please contact us. You will need to specify a network, from the following list of supported networks:

  • avalanche

  • bnbchain

  • ethereum

  • fantom

  • polygon

Assuming you have installed the SDK, you can use the following code in your file (instructions on modifying it follows - for more information on how to use it see our Getting Started tutorial):

const ido = require('idexo-sdk')
ido.Utils.getContractAddress(apiKey, network, transactionHash)
.then(res => console.log(res.data))

Last updated