Jump to
Ctrl
+
/

List HD Wallet (xPub, yPub, zPub) Transactions

GET
/blockchain-data/{blockchain}/{network}/hd/{extendedPublicKey}/transactions

This endpoint will list HD Wallet transactions.

Path Parameters

blockchain string Required

Represents the specific blockchain.

extendedPublicKey string Required

Defines the master public key (xPub) of the account.

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" is a test network.

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.

derivation string Optional

The way how the HD walled derives, for example when the type is ACCOUNT, it derives change and receive addresses while when the type is BIP32 it derives directly.

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.

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

Represents the index position of the transaction in the block.

1
minedInBlockHash string Required

Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.

00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db
minedInBlockHeight integer Required

Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block.

1903849
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.

2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV
amount string Required

Represents the amount received to this address.

0.000144
isMember boolean Required

Defines whether an address is a child address derived from the HD wallet (xPub, yPub, zPub) as boolean.

false
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.

2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1
amount string Required

Represents the amount sent by this address.

0.00873472
isMember boolean Required

Defines whether an address is a child address derived from the HD wallet (xPub, yPub, zPub) as boolean.

true
timestamp integer Required

Defines the exact date/time in Unix Timestamp when this transaction was mined, confirmed or first seen in Mempool, if it is unconfirmed.

1582202940
transactionHash 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.

1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2
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

Defines the amount of the transaction fee.

0.00016932

Credits Cost : 100 Credits for 1 Results

Was this page helpful?
Yes
No
Powered by
Language
URL

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "index": 1,
                "minedInBlockHash": "00000000407f119ecb74b44229228910400aaeb9f4e3b9869955b85a53e9b7db",
                "minedInBlockHeight": 1903849,
                "recipients": [
                    {
                        "address": "2MzakdGTEp8SMWEHKwKM4HYv6uNCBXtHpkV",
                        "amount": "0.000144",
                        "isMember": false
                    }
                ],
                "senders": [
                    {
                        "address": "2N5PcdirZUzKF9bWuGdugNuzcQrCbBudxv1",
                        "amount": "0.00873472",
                        "isMember": true
                    }
                ],
                "timestamp": 1582202940,
                "transactionHash": "1ec73b0f61359927d02376b35993b756b1097cb9a857bec23da4c98c4977d2b2",
                "transactionId": "4b66461bf88b61e1e4326356534c135129defb504c7acb2fd6c92697d79eb250",
                "fee": {
                    "amount": "0.00016932"
                }
            }
        ]
    }
}