MCPcopy Create free account
hub / github.com/Bitrue-exchange/libada-go / AddBootstrapWitness

Method AddBootstrapWitness

tx.go:69–72  ·  view source on GitHub ↗

AddBootstrapWitness adds witness for legacy(Byron) address

(k *BootstrapWitness)

Source from the content-addressed store, hash-verified

67
68// AddBootstrapWitness adds witness for legacy(Byron) address
69func (t *Tx) AddBootstrapWitness(k *BootstrapWitness) *Tx {
70 t.Witness.Bootstrap = append(t.Witness.Bootstrap, k)
71 return t
72}
73
74// Bytes returns raw transaction bytes, it can submmit by cardano-graphql
75func (t *Tx) Bytes() []byte {

Callers 1

ExampleNewTxFunction · 0.95

Calls

no outgoing calls

Tested by 1

ExampleNewTxFunction · 0.76