Jump to
Ctrl
+
/

List Transactions by Block Hash UTXOs

GET
/blocks/utxo/{blockchain}/{network}/hash/{blockHash}/transactions

This endpoint will list transactions by an attribute transactionHash. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.

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.

blockHash string Required

Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

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.

limit integer Optional

Defines how many items should be returned in the response per page basis.

Default : 50
offset integer Optional

The starting index of the response items, i.e. where the response should start listing the returned items.

Default : 0

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
limit integer Required

Defines how many items should be returned in the response per page basis.

50
offset integer Required

The starting index of the response items, i.e. where the response should start listing the returned items.

0
total integer Required

Defines the total number of items returned in the response.

100
items array Items (object) Required
id 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.

4340d9463f0a5e3b3bc5844c17af78e20fa141f976f20732de630b0e6e4cd571
locktime integer Required

Represents the time at which a particular transaction can be added to the blockchain.

1781965
size integer Required

Represents the total size of this transaction.

234
version integer Required

Numeric representation of the transaction Represents the transaction version number.

1
fee object Required

Object representation of the transaction fee

amount string Required

Represents the fee amount.

0.00016932
unit string Required

Defines the specific unit of the fee.

ZEC
hash string Required

Represents the same as transactionId for account-based protocols like Ethereum, while it could be different in UTXO-based protocols like Bitcoin. E.g., in UTXO-based protocols hash is different from transactionId for SegWit transactions.

273eac351a2b76bb98196f3b310eabc787758cf157e8abe726250447185956ed
inputs array Items (object) Required

Object Array representation of transaction inputs

addresses array Items (string) Optional
coinbase string Optional

Represents the coinbase hex.

02d3080c4e060000000000002f4e614e
oututIndex integer Required

It refers to the index of the output address of this transaction. The index starts from 0.

1
script object Required
type string Required

String representation of the votype

scripthash
transactionId string Required

Represents the reference transaction identifier.

a2022151256fa5d6d3d282f3c0074456fa247da08bc07df71f8c1d9e76e7d928
value object Optional
amount string Optional

Defines the specific amount.

0.000144
unit string Optional

String representation of the input value unit

ZEC
witnesses array Items (string) Required
outputIndex integer Required

It refers to the index of the output address of this transaction. The index starts from 0.

1
outputs array Items (object) Required

Object Array representation of transaction outputs

addresses array Items (string) Optional
isSpent boolean Required

Defines whether the transaction output has been spent or not.

true
script object Required
type string Required

String representation of the type

scripthash
value object Optional
amount string Optional

Represents the specific amount.

0.000144
unit string Optional

String representation of the output value unit

ZEC
positionInBlock integer Required

Represents the index position of the transaction in the specific block.

1
recipients array Items (object) Required

Represents a list of recipient addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

address string Required

The address which receives this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one recipient.

mvuvhgT5DUjpQ2LBWQhujiFGDZiDHGdHa7
value object Required
amount string Required

Represents the amount received to this address.

0.00476076
unit string Required

String representation of the recipient unit

ZEC
senders array Items (object) Required

Represents a list of sender addresses with the respective amounts. In account-based protocols like Ethereum there is only one address in this list.

address string Required

Represents the address which sends this transaction. In UTXO-based protocols like Bitcoin there could be several senders while in account-based protocols like Ethereum there is always only one sender.

n3NFmt8ibu1FnUqxexrVg4psg88Sx2PMsv
value object Required
amount string Required

Represents the total amount sent by this address including the fee.

0.00572702
unit string Required

String representation of the senders unit

ZEC
blockchainSpecific object Optional
expiryHeight integer Required

Represents a block height after which the transaction will expire.

1
overwintered boolean Required

"Overwinter" is the network upgrade for the Zcash blockchain.

true
valueBalance object Required
amount string Required

Defines the transaction value balance.

0
versionGroupId string Required

Represents the transaction version group ID.

0x892f2085

Credits Cost : 100 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2024-12-12",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "id": "4340d9463f0a5e3b3bc5844c17af78e20fa141f976f20732de630b0e6e4cd571",
                "locktime": 1781965,
                "size": 234,
                "version": 1,
                "fee": {
                    "amount": "0.00016932",
                    "unit": "ZEC"
                },
                "hash": "273eac351a2b76bb98196f3b310eabc787758cf157e8abe726250447185956ed",
                "inputs": [
                    {
                        "addresses": [
                            "tmGf1r6Bo9HFdssAcFpYPehzcn1QyfurEeH"
                        ],
                        "coinbase": "02d3080c4e060000000000002f4e614e",
                        "oututIndex": 1,
                        "script": {
                            "type": "scripthash"
                        },
                        "transactionId": "a2022151256fa5d6d3d282f3c0074456fa247da08bc07df71f8c1d9e76e7d928",
                        "value": {
                            "amount": "0.000144",
                            "unit": "ZEC"
                        },
                        "witnesses": [
                            "3045022100c11ea5740bcd69f0f68a4914279838014d28923134d18e05c5a5486dfd06cc8c02200dadccec3f07bed0d1040f9e5a155efa5fdd40fc91f92342578d26848da4c6b901"
                        ],
                        "outputIndex": 1
                    }
                ],
                "outputs": [
                    {
                        "addresses": [
                            "t2UNzUUx8mWBCRYPRezvA363EYXyEpHokyi"
                        ],
                        "isSpent": true,
                        "script": {
                            "type": "scripthash"
                        },
                        "value": {
                            "amount": "0.000144",
                            "unit": "ZEC"
                        }
                    }
                ],
                "positionInBlock": 1,
                "recipients": [
                    {
                        "address": "mvuvhgT5DUjpQ2LBWQhujiFGDZiDHGdHa7",
                        "value": {
                            "amount": "0.00476076",
                            "unit": "ZEC"
                        }
                    }
                ],
                "senders": [
                    {
                        "address": "n3NFmt8ibu1FnUqxexrVg4psg88Sx2PMsv",
                        "value": {
                            "amount": "0.00572702",
                            "unit": "ZEC"
                        }
                    }
                ],
                "blockchainSpecific": {
                    "expiryHeight": 1,
                    "overwintered": true,
                    "valueBalance": {
                        "amount": "0"
                    },
                    "versionGroupId": "0x892f2085"
                }
            }
        ]
    }
}