0

I just want to get list of function names from smart contract abi. Please guide

1

In JavaScript:

let AbiJson = `Your ABI JSON string`

let abi = JSON.parse(AbiJson);

for(let item of abi) {
    if(item.name)
        console.log(item.name);
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.