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/api/fund_api.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/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/fund_quote.rb,
lib/coinbase/client/models/trade_list.rb,
lib/coinbase/client/api/reputation_api.rb,
lib/coinbase/client/models/feature_set.rb,
lib/coinbase/client/models/fiat_amount.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/onchain_name.rb,
lib/coinbase/client/models/webhook_list.rb,
lib/coinbase/client/models/crypto_amount.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/fund_operation.rb,
lib/coinbase/client/models/smart_contract.rb,
lib/coinbase/client/models/solidity_value.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/balance_history_api.rb,
lib/coinbase/client/api/contract_events_api.rb,
lib/coinbase/client/api/smart_contracts_api.rb,
lib/coinbase/client/models/transaction_type.rb,
lib/coinbase/client/models/validator_status.rb,
lib/coinbase/client/api/mpc_wallet_stake_api.rb,
lib/coinbase/client/api/onchain_identity_api.rb,
lib/coinbase/client/models/onchain_name_list.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/address_reputation.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/fund_operation_fees.rb,
lib/coinbase/client/models/fund_operation_list.rb,
lib/coinbase/client/models/seed_creation_event.rb,
lib/coinbase/client/models/server_signer_event.rb,
lib/coinbase/client/models/smart_contract_list.rb,
lib/coinbase/client/models/smart_contract_type.rb,
lib/coinbase/client/models/token_transfer_type.rb,
lib/coinbase/client/models/transaction_content.rb,
lib/coinbase/client/api/transaction_history_api.rb,
lib/coinbase/client/models/address_balance_list.rb,
lib/coinbase/client/models/create_trade_request.rb,
lib/coinbase/client/models/erc20_transfer_event.rb,
lib/coinbase/client/models/ethereum_transaction.rb,
lib/coinbase/client/models/nft_contract_options.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/erc721_transfer_event.rb,
lib/coinbase/client/models/read_contract_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/smart_contract_options.rb,
lib/coinbase/client/models/token_contract_options.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/ethereum_token_transfer.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/create_fund_quote_request.rb,
lib/coinbase/client/models/server_signer_event_event.rb,
lib/coinbase/client/models/webhook_event_type_filter.rb,
lib/coinbase/client/models/seed_creation_event_result.rb,
lib/coinbase/client/models/staking_operation_metadata.rb,
lib/coinbase/client/models/address_reputation_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/multi_token_contract_options.rb,
lib/coinbase/client/models/create_fund_operation_request.rb,
lib/coinbase/client/models/create_smart_contract_request.rb,
lib/coinbase/client/models/create_wallet_webhook_request.rb,
lib/coinbase/client/models/deploy_smart_contract_request.rb,
lib/coinbase/client/models/fetch_staking_rewards_request.rb,
lib/coinbase/client/models/smart_contract_activity_event.rb,
lib/coinbase/client/models/update_smart_contract_request.rb,
lib/coinbase/client/models/webhook_wallet_activity_filter.rb,
lib/coinbase/client/models/address_historical_balance_list.rb,
lib/coinbase/client/models/build_staking_operation_request.rb,
lib/coinbase/client/models/register_smart_contract_request.rb,
lib/coinbase/client/models/signature_creation_event_result.rb,
lib/coinbase/client/models/create_external_transfer_request.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_external_transfer_request.rb,
lib/coinbase/client/models/broadcast_staking_operation_request.rb,
lib/coinbase/client/models/webhook_smart_contract_event_filter.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.10.0

Defined Under Namespace

Modules: ServerSignerEventEvent, SmartContractOptions, StakingOperationMetadata, TransactionContent, ValidatorDetails, WebhookEventTypeFilter Classes: Address, AddressBalanceList, AddressHistoricalBalanceList, AddressList, AddressReputation, AddressReputationMetadata, AddressTransactionList, AddressesApi, ApiClient, ApiError, Asset, AssetsApi, Balance, BalanceHistoryApi, BroadcastContractInvocationRequest, BroadcastExternalTransferRequest, BroadcastStakingOperationRequest, BroadcastTradeRequest, BuildStakingOperationRequest, Configuration, ContractEvent, ContractEventList, ContractEventsApi, ContractInvocation, ContractInvocationList, ContractInvocationsApi, CreateAddressRequest, CreateContractInvocationRequest, CreateExternalTransferRequest, CreateFundOperationRequest, CreateFundQuoteRequest, CreatePayloadSignatureRequest, CreateServerSignerRequest, CreateSmartContractRequest, CreateStakingOperationRequest, CreateTradeRequest, CreateTransferRequest, CreateWalletRequest, CreateWalletRequestWallet, CreateWalletWebhookRequest, CreateWebhookRequest, CryptoAmount, DeploySmartContractRequest, ERC20TransferEvent, ERC721TransferEvent, Error, EthereumTokenTransfer, EthereumTransaction, EthereumTransactionAccess, EthereumTransactionAccessList, EthereumTransactionFlattenedTrace, EthereumValidatorMetadata, ExternalAddressesApi, FaucetTransaction, FeatureSet, FetchHistoricalStakingBalances200Response, FetchStakingRewards200Response, FetchStakingRewardsRequest, FiatAmount, FundApi, FundOperation, FundOperationFees, FundOperationList, FundQuote, GetStakingContextRequest, HistoricalBalance, MPCWalletStakeApi, MultiTokenContractOptions, NFTContractOptions, Network, NetworkIdentifier, NetworksApi, OnchainIdentityApi, OnchainName, OnchainNameList, PayloadSignature, PayloadSignatureList, ReadContractRequest, RegisterSmartContractRequest, ReputationApi, SeedCreationEvent, SeedCreationEventResult, ServerSigner, ServerSignerEvent, ServerSignerEventList, ServerSignerList, ServerSignersApi, SignatureCreationEvent, SignatureCreationEventResult, SignedVoluntaryExitMessageMetadata, SmartContract, SmartContractActivityEvent, SmartContractList, SmartContractType, SmartContractsApi, SolidityValue, SponsoredSend, StakeApi, StakingBalance, StakingContext, StakingContextContext, StakingOperation, StakingReward, StakingRewardFormat, StakingRewardUSDValue, TokenContractOptions, TokenTransferType, Trade, TradeList, TradesApi, Transaction, TransactionHistoryApi, TransactionType, Transfer, TransferList, TransfersApi, UpdateSmartContractRequest, UpdateWebhookRequest, User, UsersApi, Validator, ValidatorList, ValidatorStatus, Wallet, WalletList, WalletsApi, Webhook, WebhookEventFilter, WebhookEventType, WebhookList, WebhookSmartContractEventFilter, WebhookWalletActivityFilter, 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.



167
168
169
170
171
172
173
# File 'lib/coinbase/client.rb', line 167

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