- Add helper staking operation option functions for onchain billing such as
WithFeeRecipientAddress
andWithRewardSplitterPlanID
.
- Add network constant for
Hoodi
.
- Add support for both execution and consensus layer based unstaking.
- Add user facing examples for all new unstaking scenarios.
- Add
ExecutionLayerWithdrawalsOptionBuilder
andWithExecutionLayerWithdrawals
as an option to allow for native ETH execution layer withdrawals as defined in https://eips.ethereum.org/EIPS/eip-7002. - Add
Hoodi
network support.
- Improved precision of
FromAtomicAmount
andToAtomicAmount
calculations. Fixed an issue where the amount "32006467556000000000" wei was interpreted as "32.006467555999999999" due to lossy floating point math. Updated precision to 128 bits to resolve this.
- Add
WithdrawalCredentials
function to theValidator
resource to help users get the withdrawl credentials for a given validator.
- Add
FeeRecipientAddress
andForwardedFeeRecipientAddress
functions to theValidator
resource to help users get the fee_recipient and forwarded_fee_recipient addresses for a given validator.
- Add
GetPendingClaimableBalance
function to help users get the pending claimable balance for a given address.
- Update auto-generated client code to help relax decoding of server returned jsons to allow new fields to be added without breaking the SDK.
- Add getters for
Validator
object to expose more data to users. - Add test cases for
Validator
object. - Update SDK with latest generated client code.
- Add
WithIntegratorContractAddress
to allow for setting an explicit integrator contract address for Shared ETH staking.
- Better error handling between the SDK and the API.
- Add a
Content
andToAddressID
method toTransaction
.
- Update SDK with latest generated client code.
- Added constants for supported network names
- Added
IsFailedState
andIsCompleteState
methods toStakingOperation
to check if the operation is in a failed or complete state
- Exposed
IsTerminalState
method onStakingOperation
to check if the operation is in a terminal state.
- Fix a bug where correlation id returned from backend wasn't being relayed to the user
- Add FetchStakingOperation to fetch a staking operation by networkID, addressID and stakingOperationID
- Add ReloadStakingOperation to reload a given staking operation with latest data from the backend
- Add Solana signing functionality
- Add and refactor examples.
- Update SDK with latest generated client code.
- StakingRewards's Date field is now a full timestamp
- StakingBalance's Date field is now a full timestamp
- Empty balance values default to 0
- Adds headers to requests with SDK version & language
- Return correlation ID from APIError response
- Allow for use with directly set api key
- Return user facing error type APIError for a server side error
- Add user facing validator statuses
- Fixed a bug where we weren't handling the api returned validators properly resulting in an index out of range error.
- Fixed a bug where we weren't handling the api returned validators properly resulting in an index out of range error.
Initial release of the Coinbase Go SDK
- Support for Staking on External Wallets
- Full support for Shared ETH Staking
- Partial support for Dedicated ETH Staking
- Only stake is supported, unstake will be coming soon
- On networks
holesky
andmainnet
- Support for getting stakeable balances on External Wallets
- Support for Listing Rewards on External Wallets