Versions in this module Expand all Collapse all v0 v0.6.0 Jan 2, 2024 Changes in this version + type Client interface + LatestBlock func(context.Context) (pack.U64, error) + Output func(context.Context, Outpoint) (Output, pack.U64, error) + SubmitTx func(context.Context, Tx) error + TxSenders func(context.Context, pack.Bytes) ([]pack.String, error) + UnspentOutput func(context.Context, Outpoint) (Output, pack.U64, error) + type Input struct + SigScript pack.Bytes + type Outpoint struct + Hash pack.Bytes + Index pack.U32 + type Output struct + PubKeyScript pack.Bytes + Value pack.U256 + type Recipient struct + To address.Address + Value pack.U256 + type Tx interface + Hash func() (pack.Bytes, error) + Inputs func() ([]Input, error) + Outputs func() ([]Output, error) + Serialize func() (pack.Bytes, error) + Sighashes func() ([]pack.Bytes32, error) + Sign func([]pack.Bytes65, pack.Bytes) error + type TxBuilder interface + BuildTx func([]Input, []Recipient) (Tx, error)