private/cancel_all_vault_requests
Changed onSubmits a signed cancel action that drains all of the caller's pending deposit and withdraw requests for a given vault and posts the corresponding on-chain operation. Input is the vault subaccount; any subaccount the caller owns may sign. Requires the user-cancel permission.
Request
- Base URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Fields common to every signed vault action. They appear alongside each endpoint's action-specific parameters in the same request object.
0x-prefixed hex of the 65-byte EOA signature.
20-byte Ethereum address as a 0x-prefixed lowercase hex string.
The subaccount the action is signed on; which subaccount applies depends on the specific method — see that method's reference.
Response
Success
Returned by cancel_all_vault_requests: identifiers to track the on-chain VaultCancel operation plus the ids of the wallet's pending requests that were cancelled.
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info