gage_prepare_cancel · Prepare: Cancel a listing
may change things: you confirm before it runsPrepare cancelling a loan still waiting for funding and taking its collateral back. Returns the next unsigned transaction and a review link; never signs.
Input schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"loanId": {
"type": "string",
"pattern": "^\\d{1,78}$"
},
"engine": {
"description": "The engine; the current core when omitted, the loan's own core for a loan in a lend asset",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"required": [
"wallet",
"loanId"
],
"additionalProperties": false
}