The API key ID
Examples: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' 'organizations/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/apiKeys/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
The API key secret
Examples: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==' (Edwards key (Ed25519)) '-----BEGIN EC PRIVATE KEY-----\n...\n...\n...==\n-----END EC PRIVATE KEY-----\n' (EC key (ES256))
Optional
expiresOptional expiration time in seconds (defaults to 120)
The host for the request (e.g. 'api.cdp.coinbase.com')
The HTTP method for the request (e.g. 'GET', 'POST')
The path for the request (e.g. '/platform/v1/wallets')
JwtOptions contains configuration for JWT generation.
This interface holds all necessary parameters for generating a JWT token for authenticating with Coinbase's REST APIs. It supports both EC (ES256) and Ed25519 (EdDSA) keys.