Emurgo / cardano-serialization-lib

This is a library, written in Rust, for serialization & deserialization of data structures used in Cardano's Haskell implementation of Alonzo along with useful utility functions.
Other
231 stars 125 forks source link

expected instance of TransactionOutput when calling txBuilder.add_output #593

Closed NicolasEliasArias closed 1 year ago

NicolasEliasArias commented 1 year ago

const output = TransactionOutput.new( Address.from_bech32("addr_test1qre6jxtqka2lvq0x5kc6edh6lcddkqmzfusl848zgumu00hd77w4z0294z2jkc64yl77ys38a0xrzk86cyypq2h4wmysvfgvte"), Value.new(BigNum.from_str("2869059")) ) txBuilder.add_output(output)