I just try week06, start PAB service and invoke ‘mint’ endpoint with parameter: policyId/tokenName/walletId/accountAddress .
It minted token successflly, but the left-over Ada was transfer to another address that belong to same wallet id, which is not my expected. What I want is: the left-over Ada transfer back to address of input Utxo.
Can any share a example on how to implement it? Suppose there rule is : only one input Utxo, two output Utxo: one contain minted Token, another contains the left-over Ada .
Thanks