Transaction Info
Get Info about a Transaction
[GET]
explorer.hydrachain.org/api
/tx/
[transaction ID]
Gives you information about the specified transaction ID.
Example #1 - Coin Transaction ID
id: ecfd2078e1cbb2b8e2e794b63cc3b21e473ca5e484a902f9f8998f779a102932
hash: ecfd2078e1cbb2b8e2e794b63cc3b21e473ca5e484a902f9f8998f779a102932
version: 2
lockTime: 103558
blockHash: 661467d3867669210e30dcbc57f4866aee1126f60cf9aace2d099185ecb306c1
inputs: {
prevTxId: 3307ec4826690d8c3d254fc9e5abec7ab5a2b96a2b5f444d64a6fea570ab00a6
outputIndex: 11
value: 575492934386
address: HGiK5pRa1Dq5ErJF5EgHbw4rbNnYJonynH
scriptSig: {
type: pubkeyhash
hex: 47304402206c9ebdd9c5b9647bf49275d2d59ed74c178986cabe9aaa6830d5033a61fb40e902207263ad2b60ed00b29793844a64958559a8833b45a52e792f937e0efe118d96680121031160f170588881ee4c37da341f53c8a00a98f7a80df923407dfd33f9f713b8cb
asm: 304402206c9ebdd9c5b9647bf49275d2d59ed74c178986cabe9aaa6830d5033a61fb40e902207263ad2b60ed00b29793844a64958559a8833b45a52e792f937e0efe118d9668[ALL] 031160f170588881ee4c37da341f53c8a00a98f7a80df923407dfd33f9f713b8cb
}
sequence: 4294967294
}
outputs: {
value: 1515631000
address: H6u7TnWhHdpBQYKoy1u4PSs7D4KHmvackZ
scriptPubKey: {
type: pubkeyhash
hex: 76a9140428615cb2e47481a7698a8d5e8b6b53cc9e965a88ac
asm: OP_DUP OP_HASH160 0428615cb2e47481a7698a8d5e8b6b53cc9e965a OP_EQUALVERIFY OP_CHECKSIG
}
spentTxId: ebc809e5d16dc7d780699b5e8158980fa862074a77ef61b81ba19486fc4052c5
spentIndex: 0
}
isCoinbase: false
isCoinstake: false
blockHeight: 103560
confirmations: 1170
timestamp: 1619025360
inputValue: 2103017813248
outputValue: 2102879477723
refundValue: 0
fees: 138335525
size: 1358
weight: 5432
Metric
Explanation
Level
ID
Gives you the ID of the block (same as hash)
Easy
Hash
Gives you the hash of the block (same as ID)
Easy
Version
Returns the version of the chain
Easy
LockTime
Easy
BlockHash
Gives you the hash of the block the transaction was included in
Easy
Inputs
Gives you an overview of the input UTXOs
Medium
Outputs
Gives you an overview of the output UTXOs
Medium
IsCoinbase
Returns "True" if the type of the transaction is coinbase
Easy
IsCoinstake
Returns "True" if the type of the transaction is coinstake
Easy
BlockHeight
Gives you the block number at which the transaction was processed
Easy
Confirmations
Gives you the number of blocks confirmed since the transaction
Easy
Timestamp
Gives you the timestamp in Unix format. Which is the number of seconds that passed since January 1st, 1970 at UTC
Easy
InputValue
Gives you the total amount of HYDRA included in the input UTXOs with 8 decimals
Easy
OutputValue
Gives you the total amount of HYDRA included in the output UTXOs with 8 decimals
Easy
RefundValue
Is not used as part of this API. Will return 0
Easy
Fees
Gives you the total fee paid for the transaction
Medium
Size
Gives you the transaction size in byte
Easy
Weight
Gives you the transaction size in byte after processing
Medium
Example #2 - Token Transaction ID
id: c1bf6c4e6985170628286b02b9e0a01769b476343a4ebea8959b04b2c77b4c4d
hash: c1bf6c4e6985170628286b02b9e0a01769b476343a4ebea8959b04b2c77b4c4d
version: 2
lockTime: 0
blockHash: ddba3f38c61fc6a0e87f0f6e732a690875820c49d7e9a0ec1f6c4978ef3dddb3
inputs: {
prevTxId: 827214742b2753857eb7faf84fee367a32af7598c881f36181652dcd0ec4288f
outputIndex: 0
value: 38228348
address: HAXaX81D4CTYXwwxkvP622reRnLhTsNrzV
scriptSig:{
type: pubkeyhash
hex: 4730440220207943e5a929b047ea9c8a98c734a1dac9ee49ee4ecf7cac18ef1d87410004dc0220266bcb9171ed111c61031d5f2a17ed8f72fa36b8c16809e66310e2076c8b097101210283a232422676ba342fcd0af06527c9c23f2f13ca0e4917f810fc862e72011ace
asm: 30440220207943e5a929b047ea9c8a98c734a1dac9ee49ee4ecf7cac18ef1d87410004dc0220266bcb9171ed111c61031d5f2a17ed8f72fa36b8c16809e66310e2076c8b0971[ALL] 0283a232422676ba342fcd0af06527c9c23f2f13ca0e4917f810fc862e72011ace
}
sequence: 4294967295
}
outputs: {
value: 24770588
address: HAXaX81D4CTYXwwxkvP622reRnLhTsNrzV
scriptPubKey: {
type: pubkeyhash
hex: 76a9142bf6519b4237ff7e06b843156fe59118104ba60888ac
asm: OP_DUP OP_HASH160 2bf6519b4237ff7e06b843156fe59118104ba608 OP_EQUALVERIFY OP_CHECKSIG
}
value: 0
address: EPxsEPN1azkSjs8XWowFJgqptj5XCEN6VF
addressHex: 4ab26aaa1803daa638910d71075c06386e391147
scriptPubKey: {
type: evm_call
hex: 0104035c8e0044a9059cbb00000000000000000000000069882977c62526688d6e64af8f576af593b22c0e0000000000000000000000000000000000000000000000000000000ca05c2180144ab26aaa1803daa638910d71075c06386e391147c2
asm: 4 36444 a9059cbb00000000000000000000000069882977c62526688d6e64af8f576af593b22c0e0000000000000000000000000000000000000000000000000000000ca05c2180 4ab26aaa1803daa638910d71075c06386e391147 OP_CALL
}
receipt: {
sender: HAXaX81D4CTYXwwxkvP622reRnLhTsNrzV
gasUsed: 36444
contractAddress: EPxsEPN1azkSjs8XWowFJgqptj5XCEN6VF
contractAddressHex: 4ab26aaa1803daa638910d71075c06386e391147
excepted: None
exceptedMessage: ""
logs: {
address: EPxsEPN1azkSjs8XWowFJgqptj5XCEN6VF
addressHex: 4ab26aaa1803daa638910d71075c06386e391147
topics: ["ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","0000000000000000000000002bf6519b4237ff7e06b843156fe59118104ba608","00000000000000000000000069882977c62526688d6e64af8f576af593b22c0e"]
data: "0000000000000000000000000000000000000000000000000000000ca05c2180"
}
}
}
isCoinbase: false
isCoinstake: false
blockHeight: 104760
confirmations: 20
timestamp: 1619178784
inputValue: 38228348
outputValue: 24770588
refundValue: 0
fees: 13457760
size: 297
weight: 1188
hrc20TokenTransfers: {
address: EPxsEPN1azkSjs8XWowFJgqptj5XCEN6VF
addressHex: 4ab26aaa1803daa638910d71075c06386e391147
name: LockTrip
symbol: LOC
decimals: 8
from: HAXaX81D4CTYXwwxkvP622reRnLhTsNrzV
to: HG98TBoLFtSnvVAJQEaMxkppfCxNxSdwiW
value:54230000000
}
Metric
Explanation
Level
ID
Gives you the ID of the block (same as hash)
Easy
Hash
Gives you the hash of the block (same as ID)
Easy
Version
Returns the version of the chain
Easy
LockTime
Easy
BlockHash
Gives you the hash of the block the transaction was included in
Easy
Inputs
Gives you an overview of the input UTXOs
Easy
Outputs
Gives you an overview of the output UTXOs
Easy
IsCoinbase
Returns "True" if the type of the transaction is coinbase
Easy
IsCoinstake
Returns "True" if the type of the transaction is coinstake
Easy
BlockHeight
Gives you the block number at which the transaction was processed
Easy
Confirmations
Gives you the number of blocks confirmed since the transaction
Easy
Timestamp
Gives you the timestamp in Unix format. Which is the number of seconds that passed since January 1st, 1970 at UTC
Easy
InputValue
Gives you the total amount of HYDRA included in the input UTXOs with 8 decimals
Easy
OutputValue
Gives you the total amount of HYDRA included in the output UTXOs with 8 decimals
Easy
RefundValue
Is not used as part of this API. Will return 0
Easy
Fees
Gives you the total fee paid for the transaction
Medium
Size
Gives you the transaction size in byte
Easy
Weight
Gives you the transaction size in byte after processing
Medium
Hrc20TokenTransfers
Gives you an overview about the token transfer event
Easy
Get Raw Transaction
[GET]
explorer.hydrachain.org/api
/raw-tx/
[transaction ID]
02000000018f28c40ecd2d658161f381c89875af327a36ee4ff8fab77e8553272b74147282000000006a4730440220207943e5a929b047ea9c8a98c734a1dac9ee49ee4ecf7cac18ef1d87410004dc0220266bcb9171ed111c61031d5f2a17ed8f72fa36b8c16809e66310e2076c8b097101210283a232422676ba342fcd0af06527c9c23f2f13ca0e4917f810fc862e72011aceffffffff021cf87901000000001976a9142bf6519b4237ff7e06b843156fe59118104ba60888ac0000000000000000610104035c8e0044a9059cbb00000000000000000000000069882977c62526688d6e64af8f576af593b22c0e0000000000000000000000000000000000000000000000000000000ca05c2180144ab26aaa1803daa638910d71075c06386e391147c200000000
This API returns you the transaction in raw format
Last updated