Output contains information needed to add an output to a transaction. It is added to a template with AddOutput.
| 108 | // Output contains information needed to add an output to a |
| 109 | // transaction. It is added to a template with AddOutput. |
| 110 | type Output struct { |
| 111 | Quorum int `json:"quorum"` |
| 112 | Pubkeys []ed25519.PublicKey `json:"pubkeys"` |
| 113 | Amount int64 `json:"amount"` |
| 114 | AssetID bc.Hash `json:"asset_id"` |
| 115 | Refdata i10rjson.HexBytes `json:"reference_data"` |
| 116 | TokenTags i10rjson.HexBytes `json:"token_tags"` |
| 117 | Index uint64 `json:"index"` |
| 118 | anchor []byte |
| 119 | } |
| 120 | |
| 121 | // Retirement contains information needed to add a retirement to a |
| 122 | // transaction. It is added to a template with AddRetirement. |
nothing calls this directly
no outgoing calls
no test coverage detected