v1

latestOpenAPI 3.1.02026-07-24223580832.9 KB
Blocks

Get the Transaction Confirmations

Returns the number of transaction confirmations by a user-defined transaction hash.

get/{protocol}/{network}/tx/{hash}/confirmations

Path parameters

protocolstring required

Protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, optimism, polkadot, polygon, stellar, tezos.

networkstring required

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

hashstring required

The transaction hash.

Response

Transaction confirmations

current_heightinteger

The current block height.

tx_idstring

The transaction hash.

confirmationsinteger

The total transaction confirmations.

Example response

{
  "current_height": 150123,
  "tx_id": "0x123456070D674D44a7F9cb4Ab272bd88fAd004b5",
  "confirmations": 10
}