Jump to
Ctrl
+
/

Get Transaction Details By Transaction ID

GET
/blockchain-data/{blockchain}/{network}/transactions/{transactionId}

Through this endpoint customers can obtain details about a transaction by the transaction's unique identifier. In UTXO-based protocols like BTC there are attributes such as transactionId and transaction hash. They still could be different. In protocols like Ethereum there is only one unique value and it's hash.

Path Parameters

blockchain string Required

Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.

network string Required

Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks.

transactionId string Required

Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain.

Query Parameters

context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

Response Schema

apiVersion string Required

Specifies the version of the API that incorporates this endpoint.

2023-04-25
requestId string Required

Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

601c1710034ed6d407996b30
context string Optional

In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

yourExampleString
data object Required
item object Required
index string Required

Numeric representation of the transaction index

1
isConfirmed boolean Required

Boolean representation of if the transaction is mined

true
minedInBlockHash string Required

String representation of the block hash

00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db
minedInBlockHeight string Required

Numeric representation of the block height

1939750
recipients array Items (object) Required

Object representation of the sender

address string Required

String representation of the recipient address

0x2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV
amount string Required

String representation of the amount

0.000144
senders array Items (object) Required

Object representation of the sender

address string Required

String representation of the sender address

0x2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1
amount string Required

String representation of the amount

0.00873472
timestamp integer Required

Numeric representation of the timestamp in seconds since epoch

1582202940
transactionHash string Required

String representation of the transaction hash

0x1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2
transactionId string Required

Represents the unique identifier of a transaction, i.e. it could be transactionId in UTXO-based protocols like Bitcoin, and transaction hash in Ethereum blockchain.

4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250
fee object Required
amount string Required

String representation of the transaction fee value

0.00016932
unit string Required
BTC
unit string Required

String representation of the transacted amount

ETH
blockchainSpecific Required

Credits Cost : 500 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "index": "1",
            "isConfirmed": true,
            "minedInBlockHash": "00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db",
            "minedInBlockHeight": "1939750",
            "recipients": [
                {
                    "address": "0x2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV",
                    "amount": "0.000144"
                }
            ],
            "senders": [
                {
                    "address": "0x2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1",
                    "amount": "0.00873472"
                }
            ],
            "timestamp": 1582202940,
            "transactionHash": "0x1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2",
            "transactionId": "4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250",
            "fee": {
                "amount": "0.00016932",
                "unit": "BTC"
            },
            "unit": "ETH",
            "blockchainSpecific": ""
        }
    }
}