helium_py.api.transactions.Transactions

class helium_py.api.transactions.Transactions(host=None, port=None, user_agent=None, base_path=None)[source]

Bases: API

Transactions client class for Helium Blockchain API.

https://docs.helium.com/api/blockchain/transactions/

__init__(host=None, port=None, user_agent=None, base_path=None)

Allow for overriding API details at instantiation.

Methods

__init__([host, port, user_agent, base_path])

Allow for overriding API details at instantiation.

get_transaction(transaction_hash)

Return transaction details for a particular hash.

Attributes

base_path

client

Return a client singleton per API.

host

port

user_agent

property client: Client

Return a client singleton per API.

get_transaction(transaction_hash: str) dict[source]

Return transaction details for a particular hash.

Args:

transaction_hash: The transaction hash to fetch transaction details.