Method: Coinbase::Wallet#unstake

Defined in:
lib/coinbase/wallet.rb

#unstakeCoinbase::StakingOperation

Unstakes the given amount of the given Asset on the default address.

Parameters:

  • amount (Integer, Float, BigDecimal)

    The amount of the Asset to unstake.

  • asset_id (Symbol)

    The ID of the Asset to unstake.

  • mode (Symbol)

    (Optional) The staking mode. Defaults to :default.

  • options (Hash)

    (Optional) Additional options for the unstaking operation.

Returns:



# File 'lib/coinbase/wallet.rb', line 180