Skip to main content

Usage

Parameters

  • hash_or_id (str): Transaction hash (0x...) or internal database ID
  • bearer_token (str, optional): JWT token. Falls back to api_secret_key if not provided

Return Value

Returns a Transaction object with id, transaction_hash, status, sender_address, destination_address, amount, token, and timestamps.

Example Implementation

Async Version