Custom struct types

Some useful structs are implemented by Hexagate, and can be used as any other data source by first importing them with the use statement.

The available custom struct types are

BitcoinTransaction

name
type

txid

bytes

inputs

list<BitcoinInput>

outputs

list<BitcoinOutput>

BitcoinInput

name
type

txid

bytes

vout

integer

script

bytes

witness

list<bytes>

sequence

integer

BitcoinOutput

name
type

amount

integer

script

bytes

BabylonStaking

name
type

stakingOutput

txid

bytes

stakingInfo

StakingInfo

name
type

tag

bytes

version

integer

stakingPublicKey

bytes

finalityProviderPublicKey

bytes

stakingTime

integer

Last updated