Transactions

Get transaction by ID

Retrieves details of a specific transaction by its transaction ID (txId) for the specified cryptocurrency.

get/cryptos/{cryptoCode}/transactions/{txId}

Path parameters

cryptoCodestring required

The cryptocurrency code (e.g., 'BTC').

txIdstring required

The transaction ID to retrieve.

Query parameters

includeTransactionboolean

Optional. If set to true, the response will include the raw transaction data in hexadecimal format (transaction field). Default is false.

Response

Transaction details retrieved successfully.

blockHashstring

The hash of the block containing this transaction. Will be null if the transaction is unconfirmed.

confirmationsinteger required

Number of confirmations the transaction has.

heightinteger

The block height. Will be null if the transaction is unconfirmed.

transactionIdstring required

The transaction ID.

transactionstring

Raw transaction in hex format. Included only if includeTransaction is true.

timestampinteger

Transaction timestamp.

balanceChangeinteger

Net balance change for the wallet due to this transaction.

replaceableboolean

true if the transaction can be replaced (the transaction has RBF activated, is unconfirmed, and is not an intermediate transaction in a chain of unconfirmed transactions).

replacingstring nullable

If present, indicates the transaction ID that this transaction is replacing via RBF.

replacedBystring nullable

If present, indicates the transaction ID that replaced this transaction via RBF.

Example response

{
  "inputs": [
    {
      "transactionId": "e3c0c6c0e0a0f8e0d0e0b0a0c0b0a0d0e0f0c0b0a0e0d0c0b0a0d0e0f0c0b0a0",
      "index": 1,
      "scriptPubKey": "76a91489abcdefabbaabbaabbaabbaabbaabbaabbaabba88ac",
      "value": 100000000,
      "address": "1BoatSLRHtKNngkdXEeobR76b53LETtpyT"
    }
  ]
}

Changes