MCPcopy Index your code
hub / github.com/coinbase/coinbase-sdk-go

github.com/coinbase/coinbase-sdk-go @v0.0.28

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.28 ↗ · + Follow
4,832 symbols 7,989 edges 203 files 2,849 documented · 59%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Coinbase Go SDK

The Coinbase Go SDK enables the simple integration of crypto into your app. By calling Coinbase's Platform APIs, the SDK allows you to create Go representations of crypto addresses and stake with those addresses.

The SDK supports various verbs on End-User-custodied Wallets across multiple networks, as documented here.

CDP SDK v0 is a pre-alpha release, which means that the APIs and SDK methods are subject to change. We will continuously release updates to support new capabilities and improve the developer experience.

Documentation

Requirements

The Coinbase server-side SDK requires Go version 1.21 or higher. To view your currently installed versions of Go, run the following from the command-line:

go version

Installation

Install the latest version:

You can install the SDK as follows

go install github.com/coinbase/coinbase-sdk-go

Extension points exported contracts — how you extend this code

MappedNullable (Interface)
(no doc) [117 implementers]
gen/client/utils.go
Signable (Interface)
(no doc) [4 implementers]
pkg/coinbase/transaction.go
StakeAPI (Interface)
(no doc) [1 implementers]
gen/client/api_stake.go
StakingBalanceOption (FuncType)
StakingBalanceOption allows for the passing of custom options to the staking balance
pkg/coinbase/staking_context_balances.go
AssetsAPI (Interface)
(no doc) [1 implementers]
gen/client/api_assets.go
StakingOperationOption (FuncType)
StakingOperationOption allows for the passing of custom options to the staking operation, like `mode` or `withdrawal_add
pkg/coinbase/staking_operation.go
MPCWalletStakeAPI (Interface)
(no doc)
gen/client/api_mpc_wallet_stake.go
WaitOption (FuncType)
WaitOption allows for the passing of custom options to the wait function.
pkg/coinbase/staking_operation.go

Core symbols most depended-on inside this repo

IsNil
called by 720
gen/client/utils.go
Get
called by 255
gen/client/utils.go
Error
called by 242
gen/client/client.go
decode
called by 161
gen/client/client.go
parameterValueToString
called by 141
gen/client/client.go
ServerURLWithContext
called by 81
gen/client/configuration.go
selectHeaderContentType
called by 81
gen/client/client.go
selectHeaderAccept
called by 81
gen/client/client.go

Shape

Method 3,724
Function 545
Struct 385
TypeAlias 150
Interface 23
FuncType 5

Languages

Go100%

Modules by API surface

gen/client/model_ethereum_transaction.go93 symbols
gen/client/model_ethereum_transaction_flattened_trace.go91 symbols
gen/client/model_smart_contract_activity_event.go87 symbols
gen/client/utils.go77 symbols
gen/client/model_erc721_transfer_event.go67 symbols
gen/client/model_erc20_transfer_event.go67 symbols
gen/client/model_transfer.go66 symbols
gen/client/api_addresses.go64 symbols
gen/client/api_stake.go57 symbols
gen/client/api_smart_contracts.go57 symbols
gen/client/model_smart_contract.go56 symbols
gen/client/api_external_addresses.go56 symbols

For agents

$ claude mcp add coinbase-sdk-go \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page