0

I make python bots for smart contracts, but I'm not too much of an expert.

What I usually do is download the ABI from the block explorers. However, what if I want to call a function from any random contract address without having its ABI?

I want to make a way to generate the ABI for the function - where I know what's the name of the function, and what would be the inputs.

1 Answer 1

0
  • I suggest you to first take a look at this answer to get familiar with the ABI concept.
  • After reading that, you could use etherscan's api to do the job.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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