The entry point https://etherui.net/api/v1/{methodName}
For understanding authorization mechanic, please learn https://github.com/kahmali/meteor-restivus#default-authentication
- smartcontract/:network/:address/:func()
Api for getting data from Smart contract
- smartcontractnewui(address, contract_name, abi, arguments)
Api for a creating new smart contract UI
- balance/:network/:address()
Api for getting a balance by an address
Api for getting data from Smart contract
Kind: global function
Summary:
Api for getting data from Smart contract
Authrequired: no
Urlparam: String :network - Ethereum network name, for example "mainnet"
Urlparam: String :address - Smart contract address
Urlparam: String :address - Static function name
Example
GET
curl https://etherui.net/api/v1/smartcontract/mainnet/0x27bf1f282ee96cdb4bb921c961fe081f397e03e4/name -X GETApi for a creating new smart contract UI
Kind: global function
Summary:
Api for a creating new smart contract UI
You can send abi with an address to create new UI
Authrequired: yes
| Param | Type | Description |
|---|---|---|
| address | String |
Smart contract address |
| contract_name | String |
Smart contract name |
| abi | String |
Smart contract abi |
| arguments | String |
Smart contract arguments in JSON format |
Example
POST
curl https://etherui.net/api/v1/smartcontractnewui -X POST -H "X-Auth-Token: f2KpRW7KeN9aPmjSZ" -H "X-User-Id: fbdpsNf4oHiX79vMJ" -d "address=0x27bf1f282ee96cdb4bb921c961fe081f397e03e4&contract_name=ESCBToken&abi={}&arguments=[123,\"My String\",[\"0x0\",\"0x1\",\"0x2\"]]"Api for getting a balance by an address
Kind: global function
Summary:
Api for getting a balance by an address
Authrequired: no
Paramurl: String :network - Ethereum network name, for example "mainnet"
Paramurl: String :address - Smart contract address
Example
GET
curl https://etherui.net/api/v1/balance/mainnet/0x93f36930f94fbb5afc5fb506d3f7abb9179a4e4e -X GET© Viktorov Konstantin and contributors https://etherui.net