Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [api-design]

The tag has no usage guidance.

0
votes
0answers
18 views

Event handling through Api [duplicate]

This is my sample Contract which contains the event contract Partner{ event alert(string msg); struct partnerDetails { address pubKey; //Key bytes32 partnerName; } mapping (address =&...
2
votes
0answers
40 views

Why RPC-like instead of RESTful?

I wonder why for Ethereum Web3 API (and for Bitcoind as well) the choice for the remote API has been on RPC style instead of RESTful. In principle REST is driven by data models while RPC is driven by ...
1
vote
1answer
179 views

Show an event with nodejs

in my Smart Contract I have a function such that it fires an event at the end of its code. function sendTran(arguments) public { *code* emit Event(argument 1,argument 3,argument 3,...
0
votes
1answer
82 views

How can I check the provider status ? if testRPC connected or not?

I have a problem with using : web3.net.listening The case when I am connected to the testRPC is working and it returns me TRUE. But the case I am not connected it returns me INTERNAL SERVER ERROR. I ...
0
votes
1answer
277 views

Is there any API available to get transaction history from rinkeby test network?

I want to show this transaction history on my website? Is there any API available for this? Contract URL: https://rinkeby.etherscan.io/address/0x104a1fc33d88a3ee8beaf3a61309758174e82b93
0
votes
1answer
232 views

How can I execute deployed contract functions using API?

Can you please provide me some demo example how can I access contract functions from a PHP Web Application/Mobile application? For example, if I want to transfer contract funds/ether to owner account ...
0
votes
2answers
338 views

PHP and wordpress

i am WordPress and php developer. i am working on the plugin development for ethereum. i does't find the sdk or api for the php or JavaScript. can you please guide me for the API documentation for the ...
2
votes
3answers
3k views

API in Node.js for Solidity smart contract

How to make API for Ethereum smart contract in Node.js? Can anyone send good examples? Is it even a standard way to make API in Node.js so it can interact with any interface because most examples I ...
1
vote
0answers
60 views

Wrapper for Jaxx

I would like to build android or iOS application that can send and receive data with contract. I can simply use JAXX, which can let me send 'data' to the contract. But the only problem is that I have ...
11
votes
1answer
12k views

What's the point of IBAN addresses? [duplicate]

I've been reading through web3.js's API documentation and come across transactions using IBAN numbers. They appear to be alphanumerical values generated from the public address. What is their role ...
4
votes
0answers
348 views

How to create my own wallet and own blockchain explorer?

I'm running my own private/permissioned ethereum blockchain via geth on Ubuntu. How can i interact with my blockchain to visualize accounts, blocks, transactions etc...? I've tried a lot of tutorials ...
9
votes
2answers
4k 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?
2
votes
2answers
667 views

Can I write API endpoints with Truffle?

Does anybody knows how to write an API inside a Truffle application?