Prepare: Roll a loan over
gage_prepare_rollPrepare rolling a running loan over: a new loan of the same size on the same pledge repays it in full, and the wallet adds the difference (the old loan's cost and the new fee) or keeps what is over. Returns the next unsigned transaction and a review link; never signs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | The new loan's term in seconds, one gage_capabilities lists; the loan's own term when omitted | |
| engine | No | The engine; the current core when omitted, the loan's own core for a loan in a lend asset | |
| loanId | Yes | ||
| wallet | Yes |