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
Public → Get Server Time
AI-generatedSummary
Fetches the current server time from the Coinbase API.
Inputs
- requestOptions — Collection of options for the request, such as batching, SSL certificate handling, proxy configuration, and timeout settings.
- requestOptions.batching — Settings for batching requests.
- requestOptions.batching.batchSize — Number of items per batch to throttle requests (default: 50). Set to -1 to disable batching.
- requestOptions.batching.batchInterval — Interval in milliseconds between batches (default: 1000). Set to 0 to disable.
- requestOptions.allowUnauthorizedCerts — Accepts responses even if SSL certificate validation fails (default: false).
- requestOptions.proxy — HTTP proxy for requests (e.g., http://username:password@myproxy:3128).
- requestOptions.timeout — Maximum wait time in milliseconds for the server to respond before aborting the request (default: 10000).
Output shape
a single record containing the server time
Response includes the current server time from the Coinbase API. Make sure to handle any potential errors due to network issues or invalid configurations.
Examples
Example 1: User wants to check the server time before scheduling further transactions.
Set batchSize to 10 to throttle requests and ensure timely responses.