Custom struct types
BitcoinTransaction
name
type
use BitcoinTransaction, BitcoinInput, BitcoinOutput from hexagate;
source tx: BitcoinTransaction = BitcoinTransaction {
txid: bytes(0x7e24a32bc41ec7baaf1ed0248fcc3df94193b423182ded58382243f481ad4d83),
inputs: list(
BitcoinInput {
txid: bytes(0x94d5de52b05983bfdf37453b0900997f2dfa29385108fa267f50babd6b947e05),
vout: 1,
script: bytes(0x483045022100a94d4a4f42a2f7bc9b666c25484b3fe35b9453510e37ad18f00c7dfba9485593022041abc9d85ebe6e36294301f81d2e9d518eeabcc01c1270a3dc7b045647a3e2be012103a0bf98751944031b1a39f6747bd76e16aebf4e5510eb0b2f4586deb9e3cb1472)
}
),
outputs: list(
BitcoinOutput {
amount: 0,
script: bytes(0x6a2e4abc1eaa85624320d496edf3bd6fbef81bfd6f564773bac7e075c67f692dd2b20fdd35fb04319a59a2ba7a305d90),
},
BitcoinOutput {
amount: 112005,
script: bytes(0x76a91448bae10f20e66300eb385b3a498f5bfa94ba7e6588ac),
}
)
};
BitcoinInput
name
type
use BitcoinInput from hexagate;
source input: BitcoinInput = BitcoinInput {
txid: bytes(0x94d5de52b05983bfdf37453b0900997f2dfa29385108fa267f50babd6b947e05),
vout: 1,
script: bytes(0x483045022100a94d4a4f42a2f7bc9b666c25484b3fe35b9453510e37ad18f00c7dfba9485593022041abc9d85ebe6e36294301f81d2e9d518eeabcc01c1270a3dc7b045647a3e2be012103a0bf98751944031b1a39f6747bd76e16aebf4e5510eb0b2f4586deb9e3cb1472),
witness: list(),
sequence: 4294967295,
};BitcoinOutput
name
type
use BitcoinOutput from hexagate;
source output: BitcoinOutput = BitcoinOutput {
amount: 0,
script: bytes(0x6a2e4abc1eaa85624320d496edf3bd6fbef81bfd6f564773bac7e075c67f692dd2b20fdd35fb04319a59a2ba7a305d90),
};BabylonStaking
name
type
StakingInfo
name
type
Last updated