Initializes the Coinbase SDK.
The constructor options.
as of v0.5.0, use configure
or configureFromJson
instead.
If the configuration is invalid.
If not able to create JWT token.
Static
apiStatic
apiThe CDP API key Private Key.
Static
assetsThe list of supported assets.
Static
defaultThe default page limit for list methods.
Static
networksThe map of supported networks to network ID. Generated from the OpenAPI spec.
Readonly
ArbitrumReadonly
ArbitrumReadonly
BaseReadonly
BaseReadonly
BitcoinReadonly
EthereumReadonly
EthereumReadonly
EthereumReadonly
NearReadonly
NearReadonly
PolygonReadonly
SolanaReadonly
SolanaCoinbase.networks.BaseMainnet
Static
useWhether to use a server signer or not.
Static
configureConfigures the Coinbase SDK with the provided options.
The configuration options.
A new instance of the Coinbase SDK.
Static
configureReads the API key and private key from a JSON file and initializes the Coinbase SDK.
The configuration options.
A new instance of the Coinbase SDK.
If the file does not exist or the configuration values are missing/invalid.
If the configuration is invalid.
If not able to create JWT token.
Static
normalizeStatic
to
The Coinbase SDK.