Jump to
Ctrl
+
/

Get Wallet Transaction Details By Transaction ID

GET
/wallet-as-a-service/wallets/{blockchain}/{network}/transactions/{transactionId}

Through this endpoint users can obtain Wallet transaction information by providing a transactionId. Customers can receive information only for a transaction that has been made from their own wallet.

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
isConfirmed boolean Required

Represents the state of the transaction whether it is confirmed or not confirmed.

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

3cba25201927d4c67d6f572822d6b57e9955ee3200f925943c50004b83820698
index integer Required

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

21
minedInBlockHash string Optional

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.

000000000000001c619036716b67784fbf6c72c43e9e8a140ca882a4f67180ef
minedInBlockHeight integer Optional

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.

2427497
recipients array Items (object) Required

Object Array representation of transaction receivers

address string Optional

String representation of the receiver address

tb1q7xnacwu6nzamkggg6nzedr4jux8t7u9f3ltvus
amount string Optional

String representation of the amount

0.01745343
senders array Items (object) Required

String representation of the transaction from address

address string Optional

String array representation of the sender address

tb1qq6qq5kynmzsvt9m6e56qd6xd4zd48xzcjwuyt3
amount string Optional

String representation of the amount

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

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

3cba25201927d4c67d6f572822d6b57e9955ee3200f925943c50004b83820698
fee object Required
amount string Required

When isConfirmed is True - Defines the amount of the transaction fee When isConfirmed is False - For ETH-based blockchains this attribute represents the max fee value.

0.00003812
unit string Required

Represents the unit of the fee.

BTC
blockchainSpecific Required

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": {
        "item": {
            "isConfirmed": true,
            "transactionId": "3cba25201927d4c67d6f572822d6b57e9955ee3200f925943c50004b83820698",
            "index": 21,
            "minedInBlockHash": "000000000000001c619036716b67784fbf6c72c43e9e8a140ca882a4f67180ef",
            "minedInBlockHeight": 2427497,
            "recipients": [
                {
                    "address": "tb1q7xnacwu6nzamkggg6nzedr4jux8t7u9f3ltvus",
                    "amount": "0.01745343"
                }
            ],
            "senders": [
                {
                    "address": "tb1qq6qq5kynmzsvt9m6e56qd6xd4zd48xzcjwuyt3",
                    "amount": "0.01822484"
                }
            ],
            "timestamp": 1680694323,
            "transactionHash": "3cba25201927d4c67d6f572822d6b57e9955ee3200f925943c50004b83820698",
            "fee": {
                "amount": "0.00003812",
                "unit": "BTC"
            },
            "blockchainSpecific": ""
        }
    }
}