Actions51
- Accounts Actions
- Products Actions
- Orders Actions
- Portfolio Actions
- List Portfolios
- Create Portfolio
- Move Portfolio Funds
- Get Portfolio Breakdown
- Delete Portfolio
- Edit Portfolio
- Get Futures Balance Summary
- Get Intraday Margin Setting
- Set Intraday Margin Setting
- Get Current Margin Window
- List Futures Positions
- Get Futures Position
- Schedule Futures Sweep
- List Futures Sweeps
- Cancel Pending Futures Sweep
- Allocate Portfolio
- Get Perpetuals Portfolio Summary
- List Perpetuals Positions
- Get Perpetuals Position
- Get Portfolios Balances
- Opt Inor Outof Multi Asset Collateral
- Fees Actions
- Converts Actions
- Public Actions
- Payment Methods Actions
- Data Actions
Portfolio → Opt Inor Outof Multi Asset Collateral
AI-generatedSummary
Opt in or out of multi-asset collateral for a portfolio on Coinbase.
Inputs
- requestOptions (required) — Options for the request, including batching, SSL handling, proxy configuration, and timeout settings.
- requestOptions.batching — Configuration for batching requests, such as the number of items per batch and the interval between batches.
- requestOptions.batching.batchSize — Number of items to process in each batch, -1 to disable batching, 0 treated as 1.
- requestOptions.batching.batchInterval — Interval in milliseconds between each batch of requests, 0 to disable.
- requestOptions.allowUnauthorizedCerts — True to ignore SSL certificate validation issues.
- requestOptions.proxy — HTTP proxy to use for the requests.
- requestOptions.timeout — Timeout in milliseconds for waiting for response headers before aborting the request.
Output shape
a success or failure response based on the operation
The operation may return a confirmation message about the opt-in or opt-out status.
Examples
Example 1: Opting-in to multi-asset collateral with batching enabled.
Set batchSize to 10 and batchInterval to 1000 ms, allowing up to 10 items per second.
Example 2: Opting-out of multi-asset collateral without batching and allowing unauthorized SSL certificates.
Set allowUnauthorizedCerts to true and leave batching disabled.