User events endpoints#384
Conversation
…r-events-endpoints
99bcd79 to
d274680
Compare
keyan-m
left a comment
There was a problem hiding this comment.
Taking a look at examples from effect, it seems a hybrid approach would suit us best. Now that you've trimmed down the payload fields, we can use Schema to avoid all those (body as any) checks.
| txOrderScriptAddress: txOrderAuthValidator.spendScriptAddress, | ||
| mintingPolicy: txOrderAuthValidator.mintScript, | ||
| policyId: txOrderAuthValidator.policyId, | ||
| refundAddress: refundAddress, |
There was a problem hiding this comment.
If this field from TxOrderParams is not LE.Address (which is just an alias for string), fix it there too.
There was a problem hiding this comment.
Sorry, didn't understand that one. This field isn't a string.
There was a problem hiding this comment.
Nvm, I think I got it
Adding |
Closes #379