Coinbase CDP icon

Coinbase CDP

Interact with Coinbase CDP Advanced Trade API

Fees → Get Transactions Summary

AI-generated

Summary

Get a summary of transaction fees from Coinbase CDP API.

Inputs

  • requestOptions (required) — Options for handling the request, including batching settings, SSL handling, proxy settings, and timeout duration.
  • requestOptions.batching.batchSize — Number of items to process per batch. Set -1 to disable batching.
  • requestOptions.batching.batchInterval — Time in milliseconds between batches; set to 0 for no interval.
  • requestOptions.allowUnauthorizedCerts — Allow requests to proceed even if SSL certificate validation fails.
  • requestOptions.proxy — Proxy server details for the request.
  • requestOptions.timeout — Timeout duration in milliseconds for server response before aborting.

Output shape

a summary of transaction fees

The output will include the fee information associated with transactions. Ensure to configure request options as needed for your workflow.

Examples

Example 1: Fetching fees for multiple transactions under certain conditions

Set batchSize to 10 to process transactions in batches, with a batchInterval of 1000ms.

Example 2: Requesting fee information without SSL verification

Set allowUnauthorizedCerts to true while configuring timeout for 5 seconds.

Discussion