GET /transaction/{transaction_id}

Получение информации о транзакции по её ID.

  • Параметры:

    • transaction_id (str): ID транзакции.

  • Ответ:

    • 200 OK

      {
        "transaction_id": "tx123",
        "transaction_string": "162000000012",
        "difficulty": 2
      }
    • 404 Not Found

      {
        "error": "Transaction not found"
      }

Last updated