Jump to
Ctrl
+
/

Get Transaction Details By Transaction Hash UTXOs

GET
/transactions/utxo/{blockchain}/{network}/{transactionHash}

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.

transactionHash string Required

String identifier of the transaction

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.

2024-12-12
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
id string Required

String representation of the transaction identifier (txid)

isConfirmed boolean Required

Boolean representation of if the transaction is mined

true
locktime integer Required

Numeric representation of the transaction locktime

1234567890
size integer Required

Numeric representation of the transaction size

123
version integer Required

Numeric representation of the transaction version

1
fee object Required

Object representation of the transaction fee

amount string Required

String representation of the fee value

0.00016932
unit string Required

String representation of the fee unit

ZEC
hash string Required

String representation of the weight

295e563cbc9d8965695a16d3b1a62a56224c61c01ef0886e25f58a91704f81b5
inputs array Items (object) Required

Object Array representation of transaction inputs

addresses array Items (string) Optional
coinbase string Optional

String representation of the coinbase hex

outputIndex integer Required

Numeric representation of the vout

1
script object Required
type string Required

String representation of the votype

pubkeyhash
transactionId string Required

String representation of the txid

4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250
value object Optional
amount string Optional

String representation of the amount

0.000144
unit string Optional
ZEC
witnesses array Items (string) Optional
outputs array Items (object) Required

Object Array representation of transaction outputs

addresses array Items (string) Optional
isSpent boolean Required

Boolean representation of is the transaction output spent

true
script object Required
type string Required

String representation of the type

pubkeyhash
value object Optional
amount string Optional

String representation of the amount

0.000144
unit string Optional
ZEC
positionInBlock integer Required

Numeric representation of the transaction index

123
recipients array Items (object) Required

Object Array representation of transaction receivers

address string Required

String representation of the receiver address

value object Required
amount string Required

String representation of the amount

0.000144
unit string Optional
ZEC
addresses string Required

String representation of the receiver address

t1ZR1TsMeiiAbBKiRH9kFNnVPZoSya3et5s
senders array Items (object) Required

Object Array representation of transaction senders

address string Required

String array representation of the sender address

value object Required
amount string Required

String representation of the amount

0.00873472
unit string Optional
ZEC
addresses string Required

String array representation of the sender address

t1QBnApxL66n3wd2CEF7SRsU9Fqd2C2GD4k
timestamp integer Required

Numeric representation of the timestamp in seconds since epoch

1582202940
minedInBlock object Required
hash string Required

String representation of the block hash

00000000003f595096f536e70e7dcbc901e64e6d9fc85603194f15035e7a36b9
height integer Required

Numeric representation of the block height

1939750
blockchainSpecific object Optional
expiryHeight integer Required

Numeric representation of the transaction block height expiration

123
overwintered boolean Required
true
valueBalance object Required
amount string Required

String representation of the transaction value balance

0.123
unit string Optional
ZEC
versionGroupId string Required

String representation of the transaction version group id

0b892f2085

Credits Cost : 500 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-12-12",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "id": "",
            "isConfirmed": true,
            "locktime": 1234567890,
            "size": 123,
            "version": 1,
            "fee": {
                "amount": "0.00016932",
                "unit": "ZEC"
            },
            "hash": "295e563cbc9d8965695a16d3b1a62a56224c61c01ef0886e25f58a91704f81b5",
            "inputs": [
                {
                    "addresses": [
                        "t2UNzUUx8mWBCRYPRezvA363EYXyEpHokyi"
                    ],
                    "coinbase": "",
                    "outputIndex": 1,
                    "script": {
                        "type": "pubkeyhash"
                    },
                    "transactionId": "4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250",
                    "value": {
                        "amount": "0.000144",
                        "unit": "ZEC"
                    },
                    "witnesses": [
                        "3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901"
                    ]
                }
            ],
            "outputs": [
                {
                    "addresses": [
                        "t1fh5m9GirsQnQqpj7PAJKDpKq6iyWtsj4r"
                    ],
                    "isSpent": true,
                    "script": {
                        "type": "pubkeyhash"
                    },
                    "value": {
                        "amount": "0.000144",
                        "unit": "ZEC"
                    }
                }
            ],
            "positionInBlock": 123,
            "recipients": [
                {
                    "address": "",
                    "value": {
                        "amount": "0.000144",
                        "unit": "ZEC"
                    },
                    "addresses": "t1ZR1TsMeiiAbBKiRH9kFNnVPZoSya3et5s"
                }
            ],
            "senders": [
                {
                    "address": "",
                    "value": {
                        "amount": "0.00873472",
                        "unit": "ZEC"
                    },
                    "addresses": "t1QBnApxL66n3wd2CEF7SRsU9Fqd2C2GD4k"
                }
            ],
            "timestamp": 1582202940,
            "minedInBlock": {
                "hash": "00000000003f595096f536e70e7dcbc901e64e6d9fc85603194f15035e7a36b9",
                "height": 1939750
            },
            "blockchainSpecific": {
                "expiryHeight": 123,
                "overwintered": true,
                "valueBalance": {
                    "amount": "0.123",
                    "unit": "ZEC"
                },
                "versionGroupId": "0b892f2085"
            }
        }
    }
}