ex_blockchain v0.1.0 ExBlockchain.Blockchain

Wrapper around the Blockchain Data API See: https://blockchain.info/api/blockchain_api

Summary

Functions

Retrieves an address by hash

Retrieves a block by index or hash

Retrieves a transaction by index or hash

Functions

address(id)

Retrieves an address by hash

Example

address = ExBlockchain.Blockchain.address("1HS9RLmKvJ7D1ZYgfPExJZQZA1DMU3DEVd")
block(id)

Retrieves a block by index or hash

Example

block = ExBlockchain.Blockchain.block("000000000000000016f9a2c3e0f4c1245ff24856a79c34806969f5084f410680")
tx(id)

Retrieves a transaction by index or hash

Example

tx = ExBlockchain.Blockchain.tx("d4af240386cdacab4ca666d178afc88280b620ae308ae8d2585e9ab8fc664a94")