Skip to main content

Questions tagged [api-design]

API design is the process of determining and exposing a set of consistent method signatures, return values, and documentation intended for use by other developers to allow programmatic access to data.

Filter by
Sorted by
Tagged with
15 votes
4 answers
15k views

How to add a file to IPFS using the API?

I have tried some APIs of IPFS like cat, ls. But I am not able to add the file using API. As there is no proper documentation of IPFS API calls. How can I add a file on IPFS using API?
BlockA's user avatar
  • 857
2 votes
1 answer
1k views

Etherscan API no decimals separator

I am using Etherscan API to retrieve certain erc20 token balance on given ETH address and get a number like 62910000000 without decimals separator. In fact the proper balance is 6291000.0000. How to ...
Jacek Dudzic's user avatar
0 votes
1 answer
838 views

Error: Uncaught [TypeError: Cannot read property 'ContractName' of undefined]

I am trying to get source of open source verified contracts and write into a file at my local folder. I could write only one file (of first address) but for the rest i am facing captioned error. ...
Amir Ali's user avatar
  • 447