private/mint_vault_shares
Changed onCurator-only endpoint that settles a pending deposit request by signing a mint approval at a quoted share price (USD per share). Takes the request id and the user's deposit-action hash, mints the corresponding shares, and returns the settlement result. Requires the curator mint-and-burn 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 32-byte user deposit-action hash.
Composite vault request id: (vault_subaccount_id, wallet, vault_nonce)
Useful as a stable dedup key across off-chain and on-chain vault events.
Quoted share price in USD per share, as a decimal string (e.g. "1.02").
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 mint_vault_shares / burn_vault_shares: identifiers to track the on-chain MintShares / BurnShares settlement.
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