Author

Topic: Block Explorer API -> integrate it on your website/app (DUCK, LEAF, REDD) (Read 873 times)

hero member
Activity: 2086
Merit: 761
To boldly go where no rabbit has gone before...
Updated the API with new wallets

Added
CAGE
KARMA
REDD
hero member
Activity: 2086
Merit: 761
To boldly go where no rabbit has gone before...
I love your enthusiasm =)
full member
Activity: 168
Merit: 100
hero member
Activity: 2086
Merit: 761
To boldly go where no rabbit has gone before...
Block explorer api has been released!
Now everyone can integrate this blockchain to their application/website.

Api is located here: http://cryptotrends.info/api/

Here's an example of use:
Code:
  http://cryptotrends.info/api/index.php?coin=DUCK&user=a&pass=b&method=getinfo¶m1=null

Parameters:
- coin
- user
- pass
- method
- param1

Details:
- coin
    - chose what block chain you want to access
    - supported cryptos:
Code:

CAGE
LEAF
REDD
KARMA
DUCK


- user & pass
    - currently aren't used, but plan to use them for some other api calls (online wallet, etc...)

- method
    - method being called

- param1
    - additional parameter used in some calls

- available methods
Code:

   getinfo - show info about the coin
   getnetworkhashps - shows total network hashrate (H/s)
   getrawtransaction - show details about a transaction ( requires param1 to be transaction hash )
   getblock - show details about the block ( requires param1 to be block hash )
   getblockhash - show details about the block ( requires param1 to be block index)
   validateaddress - validates if address is correct format ( requires param1 to be address )


Output will be in a JSON forma, easily readable to anybody.
Code:

   {"version":80600,"protocolversion":70001,"walletversion":60000,"balance":0,"blocks":1470,"timeoffset":-1,"connections":17,"proxy":"","difficulty":8.95398695,"testnet":false,"keypoololdest":1392116887,"keypoolsize":101,"paytxfee":0,"errors":""}




This API is free for use, and if you need any help about setting it up, or have suggestions on what to add, send me a PM.
In short time, i'll add an api for LEAF, REDD, CAGE. Any other suggestions?

Any tips are welcome:

BTC: 1B6LErbRd3VVk7wUWKMe7K3sKfaj7PnQer
DUCK: dbTmfJnH7fVPUgEQgLpnFn5fHtqyE51Zfv
ĐOGE: DGNajgc6eTgbeSZfySrAqKBx154xWELz78
Jump to: