Module: Coinbase::Client

Defined in:
lib/coinbase/client/version.rb,
lib/coinbase/client.rb,
lib/coinbase/client/api_error.rb,
lib/coinbase/client/api_client.rb,
lib/coinbase/client/models/user.rb,
lib/coinbase/client/models/asset.rb,
lib/coinbase/client/models/error.rb,
lib/coinbase/client/models/trade.rb,
lib/coinbase/client/api/stake_api.rb,
lib/coinbase/client/api/users_api.rb,
lib/coinbase/client/configuration.rb,
lib/coinbase/client/models/wallet.rb,
lib/coinbase/client/api/assets_api.rb,
lib/coinbase/client/api/trades_api.rb,
lib/coinbase/client/models/address.rb,
lib/coinbase/client/models/balance.rb,
lib/coinbase/client/models/feature.rb,
lib/coinbase/client/models/network.rb,
lib/coinbase/client/models/webhook.rb,
lib/coinbase/client/api/wallets_api.rb,
lib/coinbase/client/models/transfer.rb,
lib/coinbase/client/api/networks_api.rb,
lib/coinbase/client/api/webhooks_api.rb,
lib/coinbase/client/models/validator.rb,
lib/coinbase/client/api/addresses_api.rb,
lib/coinbase/client/api/transfers_api.rb,
lib/coinbase/client/models/trade_list.rb,
lib/coinbase/client/api/validators_api.rb,
lib/coinbase/client/models/feature_set.rb,
lib/coinbase/client/models/transaction.rb,
lib/coinbase/client/models/wallet_list.rb,
lib/coinbase/client/models/address_list.rb,
lib/coinbase/client/models/webhook_list.rb,
lib/coinbase/client/api/wallet_stake_api.rb,
lib/coinbase/client/models/server_signer.rb,
lib/coinbase/client/models/transfer_list.rb,
lib/coinbase/client/models/contract_event.rb,
lib/coinbase/client/models/sponsored_send.rb,
lib/coinbase/client/models/staking_reward.rb,
lib/coinbase/client/models/validator_list.rb,
lib/coinbase/client/api/server_signers_api.rb,
lib/coinbase/client/models/staking_balance.rb,
lib/coinbase/client/models/staking_context.rb,
lib/coinbase/client/api/contract_events_api.rb,
lib/coinbase/client/models/transaction_type.rb,
lib/coinbase/client/models/validator_status.rb,
lib/coinbase/client/models/payload_signature.rb,
lib/coinbase/client/models/staking_operation.rb,
lib/coinbase/client/models/validator_details.rb,
lib/coinbase/client/models/faucet_transaction.rb,
lib/coinbase/client/models/historical_balance.rb,
lib/coinbase/client/models/network_identifier.rb,
lib/coinbase/client/models/server_signer_list.rb,
lib/coinbase/client/models/webhook_event_type.rb,
lib/coinbase/client/api/external_addresses_api.rb,
lib/coinbase/client/models/contract_event_list.rb,
lib/coinbase/client/models/contract_invocation.rb,
lib/coinbase/client/models/seed_creation_event.rb,
lib/coinbase/client/models/server_signer_event.rb,
lib/coinbase/client/models/transaction_content.rb,
lib/coinbase/client/models/address_balance_list.rb,
lib/coinbase/client/models/create_trade_request.rb,
lib/coinbase/client/models/ethereum_transaction.rb,
lib/coinbase/client/models/webhook_event_filter.rb,
lib/coinbase/client/api/contract_invocations_api.rb,
lib/coinbase/client/models/create_wallet_request.rb,
lib/coinbase/client/models/staking_reward_format.rb,
lib/coinbase/client/models/create_address_request.rb,
lib/coinbase/client/models/create_webhook_request.rb,
lib/coinbase/client/models/payload_signature_list.rb,
lib/coinbase/client/models/update_webhook_request.rb,
lib/coinbase/client/models/broadcast_trade_request.rb,
lib/coinbase/client/models/create_transfer_request.rb,
lib/coinbase/client/models/staking_context_context.rb,
lib/coinbase/client/models/address_transaction_list.rb,
lib/coinbase/client/models/contract_invocation_list.rb,
lib/coinbase/client/models/server_signer_event_list.rb,
lib/coinbase/client/models/signature_creation_event.rb,
lib/coinbase/client/models/staking_reward_usd_value.rb,
lib/coinbase/client/models/server_signer_event_event.rb,
lib/coinbase/client/models/broadcast_transfer_request.rb,
lib/coinbase/client/models/seed_creation_event_result.rb,
lib/coinbase/client/models/staking_operation_metadata.rb,
lib/coinbase/client/models/ethereum_transaction_access.rb,
lib/coinbase/client/models/ethereum_validator_metadata.rb,
lib/coinbase/client/models/get_staking_context_request.rb,
lib/coinbase/client/models/create_server_signer_request.rb,
lib/coinbase/client/models/create_wallet_request_wallet.rb,
lib/coinbase/client/models/fetch_staking_rewards_request.rb,
lib/coinbase/client/models/address_historical_balance_list.rb,
lib/coinbase/client/models/build_staking_operation_request.rb,
lib/coinbase/client/models/signature_creation_event_result.rb,
lib/coinbase/client/models/create_payload_signature_request.rb,
lib/coinbase/client/models/create_staking_operation_request.rb,
lib/coinbase/client/models/ethereum_transaction_access_list.rb,
lib/coinbase/client/models/fetch_staking_rewards200_response.rb,
lib/coinbase/client/models/create_contract_invocation_request.rb,
lib/coinbase/client/models/broadcast_staking_operation_request.rb,
lib/coinbase/client/models/ethereum_transaction_flattened_trace.rb,
lib/coinbase/client/models/broadcast_contract_invocation_request.rb,
lib/coinbase/client/models/signed_voluntary_exit_message_metadata.rb,
lib/coinbase/client/models/fetch_historical_staking_balances200_response.rb

Overview

#Coinbase Platform API

#This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.

The version of the OpenAPI document: 0.0.1-alpha

Generated by: openapi-generator.tech Generator version: 7.7.0

Defined Under Namespace

Modules: ServerSignerEventEvent, StakingOperationMetadata, TransactionContent, ValidatorDetails Classes: Address, AddressBalanceList, AddressHistoricalBalanceList, AddressList, AddressTransactionList, AddressesApi, ApiClient, ApiError, Asset, AssetsApi, Balance, BroadcastContractInvocationRequest, BroadcastStakingOperationRequest, BroadcastTradeRequest, BroadcastTransferRequest, BuildStakingOperationRequest, Configuration, ContractEvent, ContractEventList, ContractEventsApi, ContractInvocation, ContractInvocationList, ContractInvocationsApi, CreateAddressRequest, CreateContractInvocationRequest, CreatePayloadSignatureRequest, CreateServerSignerRequest, CreateStakingOperationRequest, CreateTradeRequest, CreateTransferRequest, CreateWalletRequest, CreateWalletRequestWallet, CreateWebhookRequest, Error, EthereumTransaction, EthereumTransactionAccess, EthereumTransactionAccessList, EthereumTransactionFlattenedTrace, EthereumValidatorMetadata, ExternalAddressesApi, FaucetTransaction, Feature, FeatureSet, FetchHistoricalStakingBalances200Response, FetchStakingRewards200Response, FetchStakingRewardsRequest, GetStakingContextRequest, HistoricalBalance, Network, NetworkIdentifier, NetworksApi, PayloadSignature, PayloadSignatureList, SeedCreationEvent, SeedCreationEventResult, ServerSigner, ServerSignerEvent, ServerSignerEventList, ServerSignerList, ServerSignersApi, SignatureCreationEvent, SignatureCreationEventResult, SignedVoluntaryExitMessageMetadata, SponsoredSend, StakeApi, StakingBalance, StakingContext, StakingContextContext, StakingOperation, StakingReward, StakingRewardFormat, StakingRewardUSDValue, Trade, TradeList, TradesApi, Transaction, TransactionType, Transfer, TransferList, TransfersApi, UpdateWebhookRequest, User, UsersApi, Validator, ValidatorList, ValidatorStatus, ValidatorsApi, Wallet, WalletList, WalletStakeApi, WalletsApi, Webhook, WebhookEventFilter, WebhookEventType, WebhookList, WebhooksApi

Constant Summary collapse

VERSION =
'0.0.1-alpha'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Coinbase::Client.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



127
128
129
130
131
132
133
# File 'lib/coinbase/client.rb', line 127

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end