Skip to main content
The operation type for signing is "set_auto_lend_disabled".

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredUser’s wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5J3mBbAH…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”disabled”boolean or nulloptionalSet to true to disable auto-lending, false to enable, or null to clear (return to default)true
”agent_wallet”stringoptionalAgent wallet address8zFqj1Kp…
“expiry_window”integeroptionalSignature expiry in milliseconds10000

Response

  • Status 200: Successfully updated auto-lending setting
  • Status 400: Invalid request parameters
  • Status 401: Unauthorized access
  • Status 500: Internal server error

Code Example (Python)