Bitcoin Forum
July 07, 2024, 04:38:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Block Explorer API -> integrate it on your website/app (DUCK, LEAF, REDD)  (Read 849 times)
btcltcdigger (OP)
Hero Member
*****
Offline Offline

Activity: 2044
Merit: 757


To boldly go where no rabbit has gone before...


View Profile
February 11, 2014, 03:43:20 PM
Last edit: February 12, 2014, 12:41:40 PM by btcltcdigger
 #1

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&param1=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
Zzzack
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 11, 2014, 03:43:58 PM
 #2

yay?

Producer
btcltcdigger (OP)
Hero Member
*****
Offline Offline

Activity: 2044
Merit: 757


To boldly go where no rabbit has gone before...


View Profile
February 11, 2014, 03:49:12 PM
 #3

I love your enthusiasm =)
btcltcdigger (OP)
Hero Member
*****
Offline Offline

Activity: 2044
Merit: 757


To boldly go where no rabbit has gone before...


View Profile
February 12, 2014, 12:42:02 PM
 #4

Updated the API with new wallets

Added
CAGE
KARMA
REDD
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!