Insight API

Accessible through explorer.komodo.services/api and other insight explorers.

Block

Block Index

  • /api/block-index/[:height]
  • /api/block-index/777
  • Returned is: {"blockHash":"039a374f5281b8084a4e364c71d74d8380000661b0c52a0fa462421dba7ecc49"}

Raw Block

Block Summaries

  • Get block summaries by date:
  • /api/blocks?limit=3&blockDate=2017-04-20
  • Returned is: {"blocks":[{"height":285797,"size":1750,"hash":"01200cc5b9f49d76fef8d49c21e400c91cdc2151bc79d46578b7ef1355865669","time":1492732752,"txlength":1,"poolInfo":{}},{"height":285796,"size":1583,"hash":"00003c6d7a327e33156e355be0071a069a2122f5c97a06b98b93f2c059ecc718","time":1492732733,"txlength":1,"poolInfo":{}},{"height":285795,"size":1815,"hash":"0892d0bff204f42b98b1318072971c469241edfe36730fcfb9e85f7ac3d85be0","time":1492732732,"txlength":2,"poolInfo":{}}],"length":3,"pagination":{"next":"2017-04-21","prev":"2017-04-19","currentTs":1492732799,"current":"2017-04-20","isToday":false,"more":true,"moreTs":1492732800}}

Transaction

Address

Address Properties

Unspent Outputs

  • /api/addr/[:addr]/utxo
  • /api/addr/RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x/utxo
  • Returned is: [{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"d5c6419d2eaccb18716adc5691b68c4ad536786ff47bdf764cf386d940b0c98a","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":149,"satoshis":14900000000,"height":809459,"confirmations":404},{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"ce5f7128af2130f6736db854358026ea571832d15006178c44aef657ac55393b","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":285,"satoshis":28500000000,"height":805747,"confirmations":4116},{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"a8d3a9c30a86527a4835122d99c918dc6c9943bcb40b9edf029933828622a076","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":50,"satoshis":5000000000,"height":801142,"confirmations":8721},{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"291dd39cdf69ef1555a1f2c2bd8e853afe871fa44cf44917c5b51865525defcb","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":120,"satoshis":12000000000,"height":798637,"confirmations":11226},{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"d80ea4d2b3dd7cb5b9f916a16fcd9a8bf39a5fa3b99c7ac8bc1a13d9abc5a896","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":60,"satoshis":6000000000,"height":791665,"confirmations":18198},{"address":"RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x","txid":"3ed7347c5b0b38f3b9149041288eab50c63e3afd1e6cbd65009844e51f0fddd6","vout":1,"scriptPubKey":"76a914c28e4cd192c949a19926f0c428b3434dbc855f0188ac","amount":5,"satoshis":500000000,"height":718001,"confirmations":91862}]

Unspent Outputs for Multiple Addresses

Transactions by Block

Transactions by Address

Transactions for Multiple Addresses

  • GET method:
  • /api/addrs/[:addrs]/txs[?from=&to=]
  • /api/addrs/RLQoAcs1RaqW1xfN2NJwoZWW5twexPhuGB,RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x/txs?from=0&to=20
  • POST method:
  • /api/addrs/txs
  • POST params:
  • addrs: RLQoAcs1RaqW1xfN2NJwoZWW5twexPhuGB,RT1uduwTqpuyfzDnzyfxNADTwxstXR7s8x
  • from (optional): 0
  • to (optional): 20
  • noAsm (optional): 1 (will omit script asm from results)
  • noScriptSig (optional): 1 (will omit the scriptSig from all inputs)
  • noSpent (option): 1 (will omit spent information per output)
  • Note: if pagination params are not specified, the result is an array of transactions.

Transaction Broadcasting

  • POST method:
  • /api/tx/send
  • POST params:
  • rawtx: "signed transaction as hex string"
  • ex:
  • rawtx: 01000000017b1eabe0209b1fe794124575ef807057c77ada2138ae4fa8d6c4de0398a14f3f00000000494830450221008949f0cb400094ad2b5eb399d59d01c14d73d8fe6e96df1a7150deb388ab8935022079656090d7f6bac4c9a94e0aad311a4268e082a725f8aeae0573fb12ff866a5f01ffffffff01f0ca052a010000001976a914cbc20a7664f2f69e5355aa427045bc15e7c6c77288ac00000000
  • POST response:
  • {txid: [:txid]}
  • ex:
  • {txid: "4acec6fd027769b6253684c446d368080a340a997c7c4f182520c9fa986fbb0e"}

Blockchain Data Sync Status

Live Network P2P Data Sync Status

Status of the Komodo Network


All of this Insight API information is from : https://github.com/bitpay/insight-api

Back to API