We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like these two functions could have been combined into one that returns an optional OutputDatum:
OutputDatum
declare export class TransactionOutput { ... /** * @returns {DataHash | void} */ data_hash(): DataHash | void; /** * @returns {PlutusData | void} */ plutus_data(): PlutusData | void;
OutputDatum definition for context:
declare export class OutputDatum { free(): void; /** * @param {DataHash} data_hash * @returns {OutputDatum} */ static new_data_hash(data_hash: DataHash): OutputDatum; /** * @param {PlutusData} data * @returns {OutputDatum} */ static new_data(data: PlutusData): OutputDatum; /** * @returns {DataHash | void} */ data_hash(): DataHash | void; /** * @returns {PlutusData | void} */ data(): PlutusData | void; }
The text was updated successfully, but these errors were encountered:
Hi @klntsky ! It's good point but it leads API breaking changes, we might consider it but it's not priority now.
Sorry, something went wrong.
No branches or pull requests
Looks like these two functions could have been combined into one that returns an optional
OutputDatum
:OutputDatum
definition for context:The text was updated successfully, but these errors were encountered: