Base - Mint hNFT on CryptoRank

Curated by

CryptoRank.io

ID Type

EVM ADDRESS

Cred Type

REST

Last Update Time

06/10/2024, 13:10:21

Method

GET

Endpoint

https://api.basescan.org/***

Expression

function(resp) {
    if (resp.result != null && resp.result.length > 0) {
        const responseContainsFunctionAndTo = resp.result.some(item => 
            item.functionName === "mint(string _name)" && 
            item.to === "0x80f1483f117c8eb82748f707d4447fad30086d30"
        );
        return responseContainsFunctionAndTo ? 1 : 0;
    }
    return 0;
}