Closed harrysolovay closed 1 year ago
Closes #635 Closes #1131 Closes #1133 Closes #1134
Allows for simpler selection of specific event types.
const transferEvents = await chain .transfer({ /* ... */ }) .signed(signature({ sender })) .sent() .finalizedEvents("Balances", "Transfer") .run()
And errors.
const errors = await chain .transfer({ /* ... */ }) .signed(signature({ sender })) .sent() .finalizedErrors() .run()
Put them together...
const sent = chain .transfer({ /* ... */ }) .signed(signature({ sender })) .sent() const [transferEvents, errors] = await Rune .tuple([ sent.finalizedEvents("Balances", "Transfer"), sent.finalizedErrors(), ]) .run()
Closes #635 Closes #1131 Closes #1133 Closes #1134
Allows for simpler selection of specific event types.
And errors.
Put them together...