Welcome to Coinbase Wallet API v2: Secure Crypto Management for Developers

·

Overview

The Coinbase Wallet API v2 empowers developers to seamlessly create, manage, and interact with cryptocurrency accounts through a robust infrastructure that handles private key security and complex blockchain operations. Accessible via the CDP SDK or REST endpoints, this API simplifies secure transaction signing while enabling advanced features like token swaps and multi-chain support.

👉 Explore Coinbase's developer tools

Key Features at a Glance

Featurev1 Wallet APIv2 Wallet API
Security ModelDeveloper-managed keysAWS Nitro Enclave TEE
AuthenticationPer-account secretsUnified wallet secret
Network SupportEVM-onlyEVM + Solana
Smart AccountsEIP-4337 compliant
Gas ManagementManualSponsorship enabled
Viem IntegrationFull compatibility

Secure Key Management Architecture

Trusted Execution Environment (TEE)

Private keys are secured within an isolated AWS Nitro Enclave, ensuring cryptographic operations occur in a hardware-protected environment inaccessible to external parties—including Coinbase itself.

Simplified Authentication

Multi-Chain Capabilities

Expanded Network Support

Smart Account Features

Through EIP-4337 implementation, developers gain access to:

  1. Transaction batching: Combine multiple operations
  2. Gas sponsorship: Offload user gas costs
  3. Permission controls: Granular spending rules

👉 Master smart account implementation

Developer Experience Enhancements

Viem Compatibility

Integrate EVM accounts directly with the popular Viem library using custom account adapters, enabling familiar workflows with enhanced security.

CDP-Managed Swaps

Execute token swaps through Coinbase's liquidity network while maintaining custody of assets. The API combines:

Frequently Asked Questions

Q: How does key rotation affect existing accounts?
A: Rotating your wallet secret immediately invalidates the previous credential while maintaining access to all existing accounts.

Q: Can I use my own node with the Wallet API?
A: Yes, while CDP provides managed infrastructure, you maintain flexibility to connect custom nodes.

Q: What's the difference between EIP-4337 and traditional accounts?
A: Smart accounts enable batched transactions, meta-transactions, and programmable spending rules via account abstraction.

Support Resources

Recommended Next Steps

  1. Quickstart Guide
  2. Security Deep Dive
  3. API Reference Documentation