Contract address finder

[apis/nftport/v0/Contract address finder]


Finds a contract address based on the hash of the transaction that deployed the contract. Retrieve a deployed contract: https://docs.nftport.xyz/docs/nftport/?search=retrieve-a-deployed-contract


Keywords: web3, blockchain, crypto, nft, smart contract, deploy, ethereum, polygon, rinkeby

Input ports

  • transaction_hash: string

    Receives the hash for the transaction that deployed the smart contract. Reference: https://docs.nftport.xyz/docs/nftport/?search=retrieve-a-deployed-contract#Path-Parameters

  • params:

    {"api_key": string, optional "chain": ("rinkeby" or "polygon" or "ethereum")}

    Reference: https://docs.nftport.xyz/docs/nftport/?search=retrieve-a-deployed-contract#Query-Parameters Default chain value: "polygon"

Output ports

  • data:

    {
      "response": "OK",
      "chain": ("polygon" or "rinkeby" or "ethereum"),
      "contract_address": string,
      "transaction_hash": string
    }

    Sends the details of the contract that was deployed in the specified transaction. Reference: https://docs.nftport.xyz/docs/nftport/?search=retrieve-a-deployed-contract#response-body

  • response:

    {"status": number, "headers": {string: any}, "body": string}

    Sends the original response.

  • error: {"error": string, "details": any}

Last updated