From 4352c77e3ab4c66ea5bcf69e0dbd1bf7aadd7594 Mon Sep 17 00:00:00 2001 From: rohan-agarwal-coinbase Date: Thu, 26 Sep 2024 13:58:47 -0400 Subject: [PATCH] Release v0.7.0 (#205) --- .gitignore | 1 + CHANGELOG.md | 7 + docs/Coinbase.html | 2 +- docs/Coinbase/Client.html | 24 +- docs/Coinbase/Client/AddressesApi.html | 18 +- docs/Coinbase/Client/ApiClient.html | 308 +- docs/Coinbase/Client/AssetsApi.html | 2 +- docs/Coinbase/Client/BalanceHistoryApi.html | 788 ++ docs/Coinbase/Client/ContractEventsApi.html | 10 +- docs/Coinbase/Client/ContractInvocation.html | 406 +- .../Client/ContractInvocationsApi.html | 8 +- .../CreateContractInvocationRequest.html | 330 +- .../Client/CreateSmartContractRequest.html | 1905 +++ .../EnumAttributeValidator.html | 453 + .../Client/CreateWalletWebhookRequest.html | 1881 +++ .../Coinbase/Client/CreateWebhookRequest.html | 252 +- .../EnumAttributeValidator.html | 32 +- .../Client/DeploySmartContractRequest.html | 1797 +++ docs/Coinbase/Client/ERC20TransferEvent.html | 2802 ++++ docs/Coinbase/Client/ERC721TransferEvent.html | 2802 ++++ docs/Coinbase/Client/Error.html | 328 +- .../Coinbase/Client/ExternalAddressesApi.html | 1102 +- .../Client/MultiTokenContractOptions.html | 1808 +++ docs/Coinbase/Client/NFTContractOptions.html | 2004 +++ docs/Coinbase/Client/NetworkIdentifier.html | 36 +- docs/Coinbase/Client/NetworksApi.html | 2 +- docs/Coinbase/Client/ServerSignersApi.html | 12 +- docs/Coinbase/Client/SmartContract.html | 2602 ++++ .../SmartContract/EnumAttributeValidator.html | 453 + docs/Coinbase/Client/SmartContractList.html | 1997 +++ .../Coinbase/Client/SmartContractOptions.html | 339 + docs/Coinbase/Client/SmartContractType.html | 442 + docs/Coinbase/Client/SmartContractsApi.html | 1915 +++ docs/Coinbase/Client/StakeApi.html | 118 +- docs/Coinbase/Client/StakingBalance.html | 6 +- docs/Coinbase/Client/StakingReward.html | 6 +- .../Coinbase/Client/TokenContractOptions.html | 2004 +++ docs/Coinbase/Client/TradesApi.html | 8 +- .../Client/TransactionHistoryApi.html | 744 ++ docs/Coinbase/Client/TransfersApi.html | 8 +- .../Coinbase/Client/UpdateWebhookRequest.html | 244 +- docs/Coinbase/Client/UsersApi.html | 2 +- docs/Coinbase/Client/ValidatorsApi.html | 4 +- docs/Coinbase/Client/WalletStakeApi.html | 6 +- docs/Coinbase/Client/WalletsApi.html | 10 +- docs/Coinbase/Client/Webhook.html | 336 +- .../Webhook/EnumAttributeValidator.html | 32 +- docs/Coinbase/Client/WebhookEventFilter.html | 8 +- docs/Coinbase/Client/WebhookEventType.html | 25 +- .../Client/WebhookEventTypeFilter.html | 335 + .../Client/WebhookWalletActivityFilter.html | 1882 +++ docs/Coinbase/Client/WebhooksApi.html | 853 +- docs/Coinbase/ContractInvocation.html | 451 +- docs/Coinbase/SmartContract.html | 1932 ++- docs/Coinbase/Transaction.html | 45 +- docs/Coinbase/Transfer.html | 6 +- docs/Coinbase/Wallet.html | 1002 +- docs/Coinbase/WalletAddress.html | 699 +- docs/Coinbase/Webhook.html | 157 +- docs/_index.html | 268 +- docs/class_list.html | 2 +- docs/method_list.html | 10804 ++++++++++------ lib/coinbase/address.rb | 6 +- lib/coinbase/address/wallet_address.rb | 44 + lib/coinbase/client.rb | 2 + .../client/api/external_addresses_api.rb | 79 - .../client/api/transaction_history_api.rb | 101 + lib/coinbase/client/api/webhooks_api.rb | 74 +- .../models/create_wallet_webhook_request.rb | 232 + lib/coinbase/client/models/feature.rb | 43 - .../models/multi_token_contract_options.rb | 223 + .../client/models/network_identifier.rb | 3 +- .../client/models/nft_contract_options.rb | 25 +- .../client/models/smart_contract_options.rb | 1 + .../client/models/smart_contract_type.rb | 3 +- lib/coinbase/smart_contract.rb | 54 + lib/coinbase/version.rb | 2 +- lib/coinbase/wallet.rb | 36 +- lib/coinbase/webhook.rb | 10 +- spec/factories/smart_contract.rb | 16 +- spec/factories/webhook.rb | 13 +- .../shared_examples/address_transactions.rb | 8 +- .../coinbase/address/wallet_address_spec.rb | 237 + spec/unit/coinbase/smart_contract_spec.rb | 126 + spec/unit/coinbase/wallet_spec.rb | 116 + 85 files changed, 42705 insertions(+), 7614 deletions(-) create mode 100644 docs/Coinbase/Client/BalanceHistoryApi.html create mode 100644 docs/Coinbase/Client/CreateSmartContractRequest.html create mode 100644 docs/Coinbase/Client/CreateSmartContractRequest/EnumAttributeValidator.html create mode 100644 docs/Coinbase/Client/CreateWalletWebhookRequest.html create mode 100644 docs/Coinbase/Client/DeploySmartContractRequest.html create mode 100644 docs/Coinbase/Client/ERC20TransferEvent.html create mode 100644 docs/Coinbase/Client/ERC721TransferEvent.html create mode 100644 docs/Coinbase/Client/MultiTokenContractOptions.html create mode 100644 docs/Coinbase/Client/NFTContractOptions.html create mode 100644 docs/Coinbase/Client/SmartContract.html create mode 100644 docs/Coinbase/Client/SmartContract/EnumAttributeValidator.html create mode 100644 docs/Coinbase/Client/SmartContractList.html create mode 100644 docs/Coinbase/Client/SmartContractOptions.html create mode 100644 docs/Coinbase/Client/SmartContractType.html create mode 100644 docs/Coinbase/Client/SmartContractsApi.html create mode 100644 docs/Coinbase/Client/TokenContractOptions.html create mode 100644 docs/Coinbase/Client/TransactionHistoryApi.html create mode 100644 docs/Coinbase/Client/WebhookEventTypeFilter.html create mode 100644 docs/Coinbase/Client/WebhookWalletActivityFilter.html create mode 100644 lib/coinbase/client/api/transaction_history_api.rb create mode 100644 lib/coinbase/client/models/create_wallet_webhook_request.rb delete mode 100644 lib/coinbase/client/models/feature.rb create mode 100644 lib/coinbase/client/models/multi_token_contract_options.rb diff --git a/.gitignore b/.gitignore index bae78fe5..2d2c5737 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ Gemfile.lock .yardoc lib/**/.DS_Store .idea +.vscode/ .DS_Store seeds.json coverage diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b0db625..035ea969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [0.7.0] - 2024-09-26 + +### Added +- Add `deploy_nft` support for deploying ERC721 contracts from MPC / dev-managed wallets. +- Add `deploy_multi_token` support for deploying ERC1155 contracts from MPC / dev-managed wallets. +- Add `createWebhook` method to `Wallet` to deploy a wallet activity webhook, updated `Webhook` class to disallow users from specifying webhook signature. Webhook signature is now generated by the API. + ## [0.6.0] - 2024-09-18 ### Added diff --git a/docs/Coinbase.html b/docs/Coinbase.html index e7ef1103..e310825a 100644 --- a/docs/Coinbase.html +++ b/docs/Coinbase.html @@ -149,7 +149,7 @@

VERSION =
-
'0.3.0'
+
'0.6.0'
GWEI_DECIMALS =
diff --git a/docs/Coinbase/Client.html b/docs/Coinbase/Client.html index b453696e..87323648 100644 --- a/docs/Coinbase/Client.html +++ b/docs/Coinbase/Client.html @@ -79,7 +79,7 @@
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
+ 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/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/smart_contract.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/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/smart_contract_list.rb,
lib/coinbase/client/models/smart_contract_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/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/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/webhook_event_type_filter.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/multi_token_contract_options.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/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/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
@@ -94,7 +94,7 @@

Overview

The version of the OpenAPI document: 0.0.1-alpha

-

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

+

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

@@ -106,11 +106,11 @@

Overview

- Modules: ServerSignerEventEvent, StakingOperationMetadata, TransactionContent, ValidatorDetails + Modules: ServerSignerEventEvent, SmartContractOptions, StakingOperationMetadata, TransactionContent, ValidatorDetails, WebhookEventTypeFilter - 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 + Classes: Address, AddressBalanceList, AddressHistoricalBalanceList, AddressList, AddressTransactionList, AddressesApi, ApiClient, ApiError, Asset, AssetsApi, Balance, BalanceHistoryApi, BroadcastContractInvocationRequest, BroadcastStakingOperationRequest, BroadcastTradeRequest, BroadcastTransferRequest, BuildStakingOperationRequest, Configuration, ContractEvent, ContractEventList, ContractEventsApi, ContractInvocation, ContractInvocationList, ContractInvocationsApi, CreateAddressRequest, CreateContractInvocationRequest, CreatePayloadSignatureRequest, CreateServerSignerRequest, CreateSmartContractRequest, CreateStakingOperationRequest, CreateTradeRequest, CreateTransferRequest, CreateWalletRequest, CreateWalletRequestWallet, CreateWalletWebhookRequest, CreateWebhookRequest, DeploySmartContractRequest, ERC20TransferEvent, ERC721TransferEvent, Error, EthereumTransaction, EthereumTransactionAccess, EthereumTransactionAccessList, EthereumTransactionFlattenedTrace, EthereumValidatorMetadata, ExternalAddressesApi, FaucetTransaction, FeatureSet, FetchHistoricalStakingBalances200Response, FetchStakingRewards200Response, FetchStakingRewardsRequest, GetStakingContextRequest, HistoricalBalance, MultiTokenContractOptions, NFTContractOptions, Network, NetworkIdentifier, NetworksApi, PayloadSignature, PayloadSignatureList, SeedCreationEvent, SeedCreationEventResult, ServerSigner, ServerSignerEvent, ServerSignerEventList, ServerSignerList, ServerSignersApi, SignatureCreationEvent, SignatureCreationEventResult, SignedVoluntaryExitMessageMetadata, SmartContract, SmartContractList, SmartContractType, SmartContractsApi, SponsoredSend, StakeApi, StakingBalance, StakingContext, StakingContextContext, StakingOperation, StakingReward, StakingRewardFormat, StakingRewardUSDValue, TokenContractOptions, Trade, TradeList, TradesApi, Transaction, TransactionHistoryApi, TransactionType, Transfer, TransferList, TransfersApi, UpdateWebhookRequest, User, UsersApi, Validator, ValidatorList, ValidatorStatus, ValidatorsApi, Wallet, WalletList, WalletStakeApi, WalletsApi, Webhook, WebhookEventFilter, WebhookEventType, WebhookList, WebhookWalletActivityFilter, WebhooksApi

@@ -212,16 +212,16 @@

 
 
-127
-128
-129
-130
-131
-132
-133
+143 +144 +145 +146 +147 +148 +149 -
# File 'lib/coinbase/client.rb', line 127
+      
# File 'lib/coinbase/client.rb', line 143
 
 def configure
   if block_given?
diff --git a/docs/Coinbase/Client/AddressesApi.html b/docs/Coinbase/Client/AddressesApi.html
index 9aa2a65c..23a3c8e4 100644
--- a/docs/Coinbase/Client/AddressesApi.html
+++ b/docs/Coinbase/Client/AddressesApi.html
@@ -995,7 +995,7 @@ 

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1368,7 +1368,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -2051,7 +2051,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -2410,7 +2410,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -2791,7 +2791,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -3156,7 +3156,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -3565,7 +3565,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/ApiClient.html b/docs/Coinbase/Client/ApiClient.html index 98b08ecb..31cdfea8 100644 --- a/docs/Coinbase/Client/ApiClient.html +++ b/docs/Coinbase/Client/ApiClient.html @@ -1027,18 +1027,18 @@

 
 
-233
-234
-235
-236
-237
-238
 239
 240
-241
+241 +242 +243 +244 +245 +246 +247

-
# File 'lib/coinbase/client/api_client.rb', line 233
+      
# File 'lib/coinbase/client/api_client.rb', line 239
 
 def basic_auth(conn)
   if config.username && config.password
@@ -1100,12 +1100,6 @@ 

 
 
-413
-414
-415
-416
-417
-418
 419
 420
 421
@@ -1116,10 +1110,16 @@ 

426 427 428 -429

+429 +430 +431 +432 +433 +434 +435

-
# File 'lib/coinbase/client/api_client.rb', line 413
+      
# File 'lib/coinbase/client/api_client.rb', line 419
 
 def build_collection_param(param, collection_format)
   case collection_format
@@ -1158,18 +1158,18 @@ 

 
 
-213
-214
-215
-216
-217
-218
 219
 220
-221
+221 +222 +223 +224 +225 +226 +227

-
# File 'lib/coinbase/client/api_client.rb', line 213
+      
# File 'lib/coinbase/client/api_client.rb', line 219
 
 def build_connection
   Faraday.new(url: config.base_url, ssl: ssl_options, proxy: config.proxy) do |conn|
@@ -1581,14 +1581,14 @@ 

 
 
-334
-335
-336
-337
-338
+340 +341 +342 +343 +344

-
# File 'lib/coinbase/client/api_client.rb', line 334
+      
# File 'lib/coinbase/client/api_client.rb', line 340
 
 def build_request_url(path, opts = {})
   # Add leading and trailing slashes to path
@@ -1746,12 +1746,12 @@ 

 
 
-198
-199
-200
+204 +205 +206

-
# File 'lib/coinbase/client/api_client.rb', line 198
+      
# File 'lib/coinbase/client/api_client.rb', line 204
 
 def connection(opts)
   opts[:header_params]['Content-Type'] == 'multipart/form-data' ? connection_multipart : connection_regular
@@ -1776,15 +1776,15 @@ 

 
 
-202
-203
-204
-205
-206
-207
+208 +209 +210 +211 +212 +213

-
# File 'lib/coinbase/client/api_client.rb', line 202
+      
# File 'lib/coinbase/client/api_client.rb', line 208
 
 def connection_multipart
   @connection_multipart ||= build_connection do |conn|
@@ -1812,12 +1812,12 @@ 

 
 
-209
-210
-211
+215 +216 +217

-
# File 'lib/coinbase/client/api_client.rb', line 209
+      
# File 'lib/coinbase/client/api_client.rb', line 215
 
 def connection_regular
   @connection_regular ||= build_connection
@@ -1907,12 +1907,6 @@ 

 
 
-288
-289
-290
-291
-292
-293
 294
 295
 296
@@ -1942,10 +1936,16 @@ 

320 321 322 -323

+323 +324 +325 +326 +327 +328 +329

-
# File 'lib/coinbase/client/api_client.rb', line 288
+      
# File 'lib/coinbase/client/api_client.rb', line 294
 
 def convert_to_type(data, return_type)
   return nil if data.nil?
@@ -2050,12 +2050,6 @@ 

 
 
-259
-260
-261
-262
-263
-264
 265
 266
 267
@@ -2073,10 +2067,16 @@ 

279 280 281 -282

+282 +283 +284 +285 +286 +287 +288

-
# File 'lib/coinbase/client/api_client.rb', line 259
+      
# File 'lib/coinbase/client/api_client.rb', line 265
 
 def deserialize(response, return_type)
   body = response.body
@@ -2122,7 +2122,6 @@ 

 
 
-170
 171
 172
 173
@@ -2148,37 +2147,48 @@ 

193 194 195 -196

+196 +197 +198 +199 +200 +201 +202

-
# File 'lib/coinbase/client/api_client.rb', line 170
+      
# File 'lib/coinbase/client/api_client.rb', line 171
 
 def deserialize_file(response, stream)
-  body = response.body
-  if @config.return_binary_data == true
-    # return byte stream
-    encoding = body.encoding
-    stream.join.force_encoding(encoding)
+  body     = response.body
+  encoding = body.encoding
+
+  # reconstruct content
+  content = stream.join
+  content = content.unpack('m').join if response.headers['Content-Transfer-Encoding'] == 'binary'
+  content = content.force_encoding(encoding)
+
+  # return byte stream
+  return content if @config.return_binary_data == true
+
+  # return file instead of binary data
+  content_disposition = response.headers['Content-Disposition']
+  if content_disposition && content_disposition =~ /filename=/i
+    filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
+    prefix = sanitize_filename(filename)
   else
-    # return file instead of binary data
-    content_disposition = response.headers['Content-Disposition']
-    if content_disposition && content_disposition =~ /filename=/i
-      filename = content_disposition[/filename=['"]?([^'"\s]+)['"]?/, 1]
-      prefix = sanitize_filename(filename)
-    else
-      prefix = 'download-'
-    end
-    prefix = prefix + '-' unless prefix.end_with?('-')
-    encoding = body.encoding
-    tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
-    tempfile.write(stream.join.force_encoding(encoding))
-    tempfile.close
-    config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
-                        "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
-                        "will be deleted automatically with GC. It's also recommended to delete the temp file "\
-                        "explicitly with `tempfile.delete`"
-    tempfile
+    prefix = 'download-'
   end
+  prefix = prefix + '-' unless prefix.end_with?('-')
+
+  tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding: encoding)
+  tempfile.write(content)
+  tempfile.close
+
+  config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
+                      "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
+                      "will be deleted automatically with GC. It's also recommended to delete the temp file "\
+                      "explicitly with `tempfile.delete`"
+  tempfile
 end
@@ -2208,7 +2218,8 @@

165 166 167 -168

+168 +169
# File 'lib/coinbase/client/api_client.rb', line 160
@@ -2220,6 +2231,7 @@ 

request.options.on_data = Proc.new do |chunk, overall_received_bytes| stream << chunk end + stream end

@@ -2297,12 +2309,12 @@

 
 
-251
-252
-253
+257 +258 +259

-
# File 'lib/coinbase/client/api_client.rb', line 251
+      
# File 'lib/coinbase/client/api_client.rb', line 257
 
 def json_mime?(mime)
   (mime == '*/*') || !(mime =~ /^Application\/.*json(?!p)(;.*)?/i).nil?
@@ -2376,16 +2388,16 @@ 

 
 
-403
-404
-405
-406
-407
-408
-409
+409 +410 +411 +412 +413 +414 +415

-
# File 'lib/coinbase/client/api_client.rb', line 403
+      
# File 'lib/coinbase/client/api_client.rb', line 409
 
 def object_to_hash(obj)
   if obj.respond_to?(:to_hash)
@@ -2463,19 +2475,19 @@ 

 
 
-389
-390
-391
-392
-393
-394
 395
 396
 397
-398
+398 +399 +400 +401 +402 +403 +404

-
# File 'lib/coinbase/client/api_client.rb', line 389
+      
# File 'lib/coinbase/client/api_client.rb', line 395
 
 def object_to_http_body(model)
   return model if model.nil? || model.is_a?(String)
@@ -2556,12 +2568,12 @@ 

 
 
-330
-331
-332
+336 +337 +338

-
# File 'lib/coinbase/client/api_client.rb', line 330
+      
# File 'lib/coinbase/client/api_client.rb', line 336
 
 def sanitize_filename(filename)
   filename.split(/[\/\\]/).last
@@ -2635,15 +2647,15 @@ 

 
 
-368
-369
-370
-371
-372
-373
+374 +375 +376 +377 +378 +379

-
# File 'lib/coinbase/client/api_client.rb', line 368
+      
# File 'lib/coinbase/client/api_client.rb', line 374
 
 def select_header_accept(accepts)
   return nil if accepts.nil? || accepts.empty?
@@ -2720,16 +2732,16 @@ 

 
 
-378
-379
-380
-381
-382
-383
-384
+384 +385 +386 +387 +388 +389 +390

-
# File 'lib/coinbase/client/api_client.rb', line 378
+      
# File 'lib/coinbase/client/api_client.rb', line 384
 
 def select_header_content_type(content_types)
   # return nil by default
@@ -2758,18 +2770,18 @@ 

 
 
-223
-224
-225
-226
-227
-228
 229
 230
-231
+231 +232 +233 +234 +235 +236 +237

-
# File 'lib/coinbase/client/api_client.rb', line 223
+      
# File 'lib/coinbase/client/api_client.rb', line 229
 
 def ssl_options
   {
@@ -2863,20 +2875,20 @@ 

 
 
-345
-346
-347
-348
-349
-350
 351
 352
 353
 354
-355
+355 +356 +357 +358 +359 +360 +361

-
# File 'lib/coinbase/client/api_client.rb', line 345
+      
# File 'lib/coinbase/client/api_client.rb', line 351
 
 def update_params_for_auth!(header_params, query_params, auth_names)
   Array(auth_names).each do |auth_name|
@@ -2940,13 +2952,13 @@ 

 
 
-360
-361
-362
-363
+366 +367 +368 +369

-
# File 'lib/coinbase/client/api_client.rb', line 360
+      
# File 'lib/coinbase/client/api_client.rb', line 366
 
 def user_agent=(user_agent)
   @user_agent = user_agent
diff --git a/docs/Coinbase/Client/AssetsApi.html b/docs/Coinbase/Client/AssetsApi.html
index e129f47d..610380d1 100644
--- a/docs/Coinbase/Client/AssetsApi.html
+++ b/docs/Coinbase/Client/AssetsApi.html
@@ -606,7 +606,7 @@ 

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/BalanceHistoryApi.html b/docs/Coinbase/Client/BalanceHistoryApi.html new file mode 100644 index 00000000..27fdf676 --- /dev/null +++ b/docs/Coinbase/Client/BalanceHistoryApi.html @@ -0,0 +1,788 @@ + + + + + + + Class: Coinbase::Client::BalanceHistoryApi + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
+ + +

Class: Coinbase::Client::BalanceHistoryApi + + + +

+
+ +
+
Inherits:
+
+ Object + +
    +
  • Object
  • + + + +
+ show all + +
+
+ + + + + + + + + + + +
+
Defined in:
+
lib/coinbase/client/api/balance_history_api.rb
+
+ +
+ + + + + +

Instance Attribute Summary collapse

+
    + +
  • + + + #api_client ⇒ Object + + + + + + + + + + + + + + + + +
    +

    Returns the value of attribute api_client.

    +
    + +
  • + + +
+ + + + + +

+ Instance Method Summary + collapse +

+ + + + +
+

Constructor Details

+ +
+

+ + #initialize(api_client = ApiClient.default) ⇒ BalanceHistoryApi + + + + + +

+
+ +

Returns a new instance of BalanceHistoryApi.

+ + +
+
+
+ + +
+ + + + +
+
+
+
+19
+20
+21
+
+
# File 'lib/coinbase/client/api/balance_history_api.rb', line 19
+
+def initialize(api_client = ApiClient.default)
+  @api_client = api_client
+end
+
+
+ +
+ +
+

Instance Attribute Details

+ + + +
+

+ + #api_clientObject + + + + + +

+
+ +

Returns the value of attribute api_client.

+ + +
+
+
+ + +
+ + + + +
+
+
+
+17
+18
+19
+
+
# File 'lib/coinbase/client/api/balance_history_api.rb', line 17
+
+def api_client
+  @api_client
+end
+
+
+ +
+ + +
+

Instance Method Details

+ + +
+

+ + #list_address_historical_balance(network_id, address_id, asset_id, opts = {}) ⇒ AddressHistoricalBalanceList + + + + + +

+
+ +

Get address balance history for asset List the historical balance of an asset in a specific address.

+ + +
+
+
+

Parameters:

+
    + +
  • + + network_id + + + (String) + + + + — +
    +

    The ID of the blockchain network

    +
    + +
  • + +
  • + + address_id + + + (String) + + + + — +
    +

    The ID of the address to fetch the historical balance for.

    +
    + +
  • + +
  • + + asset_id + + + (String) + + + + — +
    +

    The symbol of the asset to fetch the historical balance for.

    +
    + +
  • + +
  • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
    +

    the optional parameters

    +
    + +
  • + +
+ + + + + + + + + + +

Options Hash (opts):

+
    + +
  • + :limit + (Integer) + + + + + —
    +

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

    +
    + +
  • + +
  • + :page + (String) + + + + + —
    +

    A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

    +
    + +
  • + +
+ + +

Returns:

+ + +
+ + + + +
+
+
+
+31
+32
+33
+34
+
+
# File 'lib/coinbase/client/api/balance_history_api.rb', line 31
+
+def list_address_historical_balance(network_id, address_id, asset_id, opts = {})
+  data, _status_code, _headers = list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts)
+  data
+end
+
+
+ +
+

+ + #list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts = {}) ⇒ Array<(AddressHistoricalBalanceList, Integer, Hash)> + + + + + +

+
+ +

Get address balance history for asset List the historical balance of an asset in a specific address.

+ + +
+
+
+

Parameters:

+
    + +
  • + + network_id + + + (String) + + + + — +
    +

    The ID of the blockchain network

    +
    + +
  • + +
  • + + address_id + + + (String) + + + + — +
    +

    The ID of the address to fetch the historical balance for.

    +
    + +
  • + +
  • + + asset_id + + + (String) + + + + — +
    +

    The symbol of the asset to fetch the historical balance for.

    +
    + +
  • + +
  • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
    +

    the optional parameters

    +
    + +
  • + +
+ + + + + + + + + + +

Options Hash (opts):

+
    + +
  • + :limit + (Integer) + + + + + —
    +

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

    +
    + +
  • + +
  • + :page + (String) + + + + + —
    +

    A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

    +
    + +
  • + +
+ + +

Returns:

+
    + +
  • + + + (Array<(AddressHistoricalBalanceList, Integer, Hash)>) + + + + — +
    +

    AddressHistoricalBalanceList data, response status code and response headers

    +
    + +
  • + +
+ +
+ + + + +
+
+
+
+45
+46
+47
+48
+49
+50
+51
+52
+53
+54
+55
+56
+57
+58
+59
+60
+61
+62
+63
+64
+65
+66
+67
+68
+69
+70
+71
+72
+73
+74
+75
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85
+86
+87
+88
+89
+90
+91
+92
+93
+94
+95
+96
+97
+98
+99
+100
+101
+102
+103
+104
+105
+
+
# File 'lib/coinbase/client/api/balance_history_api.rb', line 45
+
+def list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts = {})
+  if @api_client.config.debugging
+    @api_client.config.logger.debug 'Calling API: BalanceHistoryApi.list_address_historical_balance ...'
+  end
+  # verify the required parameter 'network_id' is set
+  if @api_client.config.client_side_validation && network_id.nil?
+    fail ArgumentError, "Missing the required parameter 'network_id' when calling BalanceHistoryApi.list_address_historical_balance"
+  end
+  # verify the required parameter 'address_id' is set
+  if @api_client.config.client_side_validation && address_id.nil?
+    fail ArgumentError, "Missing the required parameter 'address_id' when calling BalanceHistoryApi.list_address_historical_balance"
+  end
+  # verify the required parameter 'asset_id' is set
+  if @api_client.config.client_side_validation && asset_id.nil?
+    fail ArgumentError, "Missing the required parameter 'asset_id' when calling BalanceHistoryApi.list_address_historical_balance"
+  end
+  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000
+    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling BalanceHistoryApi.list_address_historical_balance, the character length must be smaller than or equal to 5000.'
+  end
+
+  # resource path
+  local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/balance_history/{asset_id}'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)).sub('{' + 'asset_id' + '}', CGI.escape(asset_id.to_s))
+
+  # query parameters
+  query_params = opts[:query_params] || {}
+  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
+  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
+
+  # header parameters
+  header_params = opts[:header_params] || {}
+  # HTTP header 'Accept' (if needed)
+  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
+
+  # form parameters
+  form_params = opts[:form_params] || {}
+
+  # http body (model)
+  post_body = opts[:debug_body]
+
+  # return_type
+  return_type = opts[:debug_return_type] || 'AddressHistoricalBalanceList'
+
+  # auth_names
+  auth_names = opts[:debug_auth_names] || []
+
+  new_options = opts.merge(
+    :operation => :"BalanceHistoryApi.list_address_historical_balance",
+    :header_params => header_params,
+    :query_params => query_params,
+    :form_params => form_params,
+    :body => post_body,
+    :auth_names => auth_names,
+    :return_type => return_type
+  )
+
+  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
+  if @api_client.config.debugging
+    @api_client.config.logger.debug "API called: BalanceHistoryApi#list_address_historical_balance\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
+  end
+  return data, status_code, headers
+end
+
+
+ +
+ +
+ + + +
+ + \ No newline at end of file diff --git a/docs/Coinbase/Client/ContractEventsApi.html b/docs/Coinbase/Client/ContractEventsApi.html index c9feff46..7985a8ee 100644 --- a/docs/Coinbase/Client/ContractEventsApi.html +++ b/docs/Coinbase/Client/ContractEventsApi.html @@ -190,7 +190,7 @@

-

Get contract events Retrieve events for a specific contract.

+

List contract events Retrieve events for a specific contract.

@@ -214,7 +214,7 @@

-

Get contract events Retrieve events for a specific contract.

+

List contract events Retrieve events for a specific contract.

@@ -334,7 +334,7 @@

-

Get contract events Retrieve events for a specific contract

+

List contract events Retrieve events for a specific contract

@@ -560,7 +560,7 @@

-

Get contract events Retrieve events for a specific contract

+

List contract events Retrieve events for a specific contract

@@ -890,7 +890,7 @@

# header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/ContractInvocation.html b/docs/Coinbase/Client/ContractInvocation.html index 2a373519..0b7e7843 100644 --- a/docs/Coinbase/Client/ContractInvocation.html +++ b/docs/Coinbase/Client/ContractInvocation.html @@ -168,6 +168,33 @@

Instance Attribute Summary collaps

The onchain address of the address invoking the contract.

+ + + +
  • + + + #amount ⇒ Object + + + + + + + + + + + + + + + + +
    +

    The amount to send to the contract for a payable method.

    +
    +
  • @@ -820,11 +847,6 @@

     
     
    -88
    -89
    -90
    -91
    -92
     93
     94
     95
    @@ -884,10 +906,21 @@ 

    149 150 151 -152

    +152 +153 +154 +155 +156 +157 +158 +159 +160 +161 +162 +163

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 88
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 93
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -948,6 +981,12 @@ 

    self.abi = attributes[:'abi'] end + if attributes.key?(:'amount') + self.amount = attributes[:'amount'] + else + self.amount = nil + end + if attributes.key?(:'transaction') self.transaction = attributes[:'transaction'] else @@ -1051,6 +1090,49 @@

    + +
    +

    + + #amountObject + + + + + +

    +
    + +

    The amount to send to the contract for a payable method

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +44
    +45
    +46
    +
    +
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 44
    +
    +def amount
    +  @amount
    +end
    +
    +
    + +

    @@ -1293,12 +1375,12 @@

     
     
    -43
    -44
    -45
    +46 +47 +48 -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 43
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 46
     
     def transaction
       @transaction
    @@ -1438,23 +1520,6 @@ 

     
     
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
     281
     282
     283
    @@ -1475,10 +1540,27 @@ 

    298 299 300 -301

    +301 +302 +303 +304 +305 +306 +307 +308 +309 +310 +311 +312 +313 +314 +315 +316 +317 +318

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 264
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 281
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -1549,12 +1631,12 @@ 

     
     
    -61
    -62
    -63
    +65 +66 +67

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 61
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 65
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1590,9 +1672,6 @@ 

     
     
    -46
    -47
    -48
     49
     50
     51
    @@ -1602,10 +1681,14 @@ 

    55 56 57 -58

    +58 +59 +60 +61 +62

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 46
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 49
     
     def self.attribute_map
       {
    @@ -1617,6 +1700,7 @@ 

    :'method' => :'method', :'args' => :'args', :'abi' => :'abi', + :'amount' => :'amount', :'transaction' => :'transaction' } end

    @@ -1689,28 +1773,28 @@

     
     
    -240
    -241
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
    -254
    -255
    -256
     257
    -258
    +258 +259 +260 +261 +262 +263 +264 +265 +266 +267 +268 +269 +270 +271 +272 +273 +274 +275

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 240
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 257
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1762,13 +1846,13 @@ 

     
     
    -81
    -82
    -83
    -84
    +86 +87 +88 +89

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 81
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 86
     
     def self.openapi_nullable
       Set.new([
    @@ -1805,10 +1889,6 @@ 

     
     
    -66
    -67
    -68
    -69
     70
     71
     72
    @@ -1817,10 +1897,15 @@ 

    75 76 77 -78

    +78 +79 +80 +81 +82 +83

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 66
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 70
     
     def self.openapi_types
       {
    @@ -1832,6 +1917,7 @@ 

    :'method' => :'String', :'args' => :'String', :'abi' => :'String', + :'amount' => :'String', :'transaction' => :'Transaction' } end

    @@ -1892,22 +1978,23 @@

     
     
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    -221
    -222
    -223
    +227 +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 211
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 227
     
     def ==(o)
       return true if self.equal?(o)
    @@ -1920,6 +2007,7 @@ 

    method == o.method && args == o.args && abi == o.abi && + amount == o.amount && transaction == o.transaction end

    @@ -1991,22 +2079,22 @@

     
     
    -335
    -336
    -337
    -338
    -339
    -340
    -341
    -342
    -343
    -344
    -345
    -346
    -347
    +352 +353 +354 +355 +356 +357 +358 +359 +360 +361 +362 +363 +364

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 335
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 352
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -2090,12 +2178,12 @@ 

     
     
    -227
    -228
    -229
    +244 +245 +246

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 227
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 244
     
     def eql?(o)
       self == o
    @@ -2149,15 +2237,15 @@ 

     
     
    -233
    -234
    -235
    +250 +251 +252

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 233
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 250
     
     def hash
    -  [network_id, wallet_id, address_id, contract_invocation_id, contract_address, method, args, abi, transaction].hash
    +  [network_id, wallet_id, address_id, contract_invocation_id, contract_address, method, args, abi, amount, transaction].hash
     end
    @@ -2208,17 +2296,6 @@

     
     
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
     167
     168
     169
    @@ -2244,10 +2321,25 @@ 

    189 190 191 -192

    +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 +203 +204 +205 +206 +207

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 156
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 167
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    @@ -2280,6 +2372,10 @@ 

    invalid_properties.push('invalid value for "args", args cannot be nil.') end + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + if @transaction.nil? invalid_properties.push('invalid value for "transaction", transaction cannot be nil.') end @@ -2335,12 +2431,12 @@

     
     
    -311
    -312
    -313
    +328 +329 +330

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 311
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 328
     
     def to_body
       to_hash
    @@ -2394,22 +2490,22 @@ 

     
     
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    +334 +335 +336 +337 +338 +339 +340 +341 +342 +343 +344 +345 +346

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 317
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 334
     
     def to_hash
       hash = {}
    @@ -2473,12 +2569,12 @@ 

     
     
    -305
    -306
    -307
    +322 +323 +324

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 305
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 322
     
     def to_s
       to_hash.to_s
    @@ -2532,21 +2628,22 @@ 

     
     
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    +211 +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223

    -
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 196
    +      
    # File 'lib/coinbase/client/models/contract_invocation.rb', line 211
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
    @@ -2557,6 +2654,7 @@ 

    return false if @contract_address.nil? return false if @method.nil? return false if @args.nil? + return false if @amount.nil? return false if @transaction.nil? true end

    diff --git a/docs/Coinbase/Client/ContractInvocationsApi.html b/docs/Coinbase/Client/ContractInvocationsApi.html index 0d32440c..2250b9b7 100644 --- a/docs/Coinbase/Client/ContractInvocationsApi.html +++ b/docs/Coinbase/Client/ContractInvocationsApi.html @@ -825,7 +825,7 @@

    collaps

    The JSON-encoded ABI of the contract.

    + + + +
  • + + + #amount ⇒ Object + + + + + + + + + + + + + + + + +
    +

    The amount in atomic units of the native asset to send to the contract for a payable method.

    +
    +
  • @@ -674,11 +701,6 @@

     
     
    -63
    -64
    -65
    -66
    -67
     68
     69
     70
    @@ -708,10 +730,19 @@ 

    94 95 96 -97

    +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 63
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 68
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -747,6 +778,10 @@ 

    if attributes.key?(:'abi') self.abi = attributes[:'abi'] end + + if attributes.key?(:'amount') + self.amount = attributes[:'amount'] + end end

    @@ -802,6 +837,49 @@

    + +
    +

    + + #amountObject + + + + + +

    +
    + +

    The amount in atomic units of the native asset to send to the contract for a payable method

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +31
    +32
    +33
    +
    +
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 31
    +
    +def amount
    +  @amount
    +end
    +
    +
    + +

    @@ -1017,16 +1095,6 @@

     
     
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
     189
     190
     191
    @@ -1054,10 +1122,20 @@ 

    213 214 215 -216

    +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226 -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 179
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 189
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -1128,12 +1206,12 @@ 

     
     
    -41
    -42
    -43
    +45 +46 +47

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 41
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 45
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1169,24 +1247,26 @@ 

     
     
    -31
    -32
    -33
     34
     35
     36
     37
    -38
    +38 +39 +40 +41 +42

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 31
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 34
     
     def self.attribute_map
       {
         :'contract_address' => :'contract_address',
         :'method' => :'method',
         :'args' => :'args',
    -    :'abi' => :'abi'
    +    :'abi' => :'abi',
    +    :'amount' => :'amount'
       }
     end
    @@ -1258,16 +1338,6 @@

     
     
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
     165
     166
     167
    @@ -1276,10 +1346,20 @@ 

    170 171 172 -173

    +173 +174 +175 +176 +177 +178 +179 +180 +181 +182 +183

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 155
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 165
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1331,13 +1411,13 @@ 

     
     
    -56
    -57
    -58
    -59
    +61 +62 +63 +64

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 56
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 61
     
     def self.openapi_nullable
       Set.new([
    @@ -1374,24 +1454,26 @@ 

     
     
    -46
    -47
    -48
    -49
     50
     51
     52
    -53
    +53 +54 +55 +56 +57 +58

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 46
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 50
     
     def self.openapi_types
       {
         :'contract_address' => :'String',
         :'method' => :'String',
         :'args' => :'String',
    -    :'abi' => :'String'
    +    :'abi' => :'String',
    +    :'amount' => :'String'
       }
     end
    @@ -1451,17 +1533,18 @@

     
     
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    +140 +141 +142 +143 +144 +145 +146 +147 +148

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 131
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 140
     
     def ==(o)
       return true if self.equal?(o)
    @@ -1469,7 +1552,8 @@ 

    contract_address == o.contract_address && method == o.method && args == o.args && - abi == o.abi + abi == o.abi && + amount == o.amount end

    @@ -1540,22 +1624,22 @@

     
     
    -250
    -251
    -252
    -253
    -254
    -255
    -256
    -257
    -258
    -259
     260
     261
    -262
    +262 +263 +264 +265 +266 +267 +268 +269 +270 +271 +272

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 250
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 260
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -1639,12 +1723,12 @@ 

     
     
    -142
    -143
    -144
    +152 +153 +154

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 142
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 152
     
     def eql?(o)
       self == o
    @@ -1698,15 +1782,15 @@ 

     
     
    -148
    -149
    -150
    +158 +159 +160

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 148
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 158
     
     def hash
    -  [contract_address, method, args, abi].hash
    +  [contract_address, method, args, abi, amount].hash
     end
    @@ -1757,15 +1841,6 @@

     
     
    -101
    -102
    -103
    -104
    -105
    -106
    -107
    -108
    -109
     110
     111
     112
    @@ -1773,10 +1848,19 @@ 

    114 115 116 -117

    +117 +118 +119 +120 +121 +122 +123 +124 +125 +126

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 101
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 110
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    @@ -1844,12 +1928,12 @@ 

     
     
    -226
    -227
    -228
    +236 +237 +238

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 226
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 236
     
     def to_body
       to_hash
    @@ -1903,22 +1987,22 @@ 

     
     
    -232
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
     242
     243
    -244
    +244 +245 +246 +247 +248 +249 +250 +251 +252 +253 +254

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 232
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 242
     
     def to_hash
       hash = {}
    @@ -1982,12 +2066,12 @@ 

     
     
    -220
    -221
    -222
    +230 +231 +232

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 220
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 230
     
     def to_s
       to_hash.to_s
    @@ -2041,16 +2125,16 @@ 

     
     
    -121
    -122
    -123
    -124
    -125
    -126
    -127
    +130 +131 +132 +133 +134 +135 +136

    -
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 121
    +      
    # File 'lib/coinbase/client/models/create_contract_invocation_request.rb', line 130
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
    diff --git a/docs/Coinbase/Client/CreateSmartContractRequest.html b/docs/Coinbase/Client/CreateSmartContractRequest.html
    new file mode 100644
    index 00000000..93fb91e9
    --- /dev/null
    +++ b/docs/Coinbase/Client/CreateSmartContractRequest.html
    @@ -0,0 +1,1905 @@
    +
    +
    +  
    +    
    +
    +
    +  Class: Coinbase::Client::CreateSmartContractRequest
    +  
    +    — Documentation by YARD 0.9.36
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Class: Coinbase::Client::CreateSmartContractRequest + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/create_smart_contract_request.rb
    +
    + +
    + +

    Defined Under Namespace

    +

    + + + + + Classes: EnumAttributeValidator + + +

    + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #options ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute options.

      +
      + +
    • + + +
    • + + + #type ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute type.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ CreateSmartContractRequest + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 73
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::CreateSmartContractRequest` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::CreateSmartContractRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'type')
    +    self.type = attributes[:'type']
    +  else
    +    self.type = nil
    +  end
    +
    +  if attributes.key?(:'options')
    +    self.options = attributes[:'options']
    +  else
    +    self.options = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #optionsObject + + + + + +

    +
    + +

    Returns the value of attribute options.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 20
    +
    +def options
    +  @options
    +end
    +
    +
    + + + +
    +

    + + #typeObject + + + + + +

    +
    + +

    Returns the value of attribute type.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +18
    +19
    +20
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 18
    +
    +def type
    +  @type
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 172
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +53
    +54
    +55
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 53
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +45
    +46
    +47
    +48
    +49
    +50
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 45
    +
    +def self.attribute_map
    +  {
    +    :'type' => :'type',
    +    :'options' => :'options'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 148
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +66
    +67
    +68
    +69
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 66
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +58
    +59
    +60
    +61
    +62
    +63
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 58
    +
    +def self.openapi_types
    +  {
    +    :'type' => :'SmartContractType',
    +    :'options' => :'SmartContractOptions'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +126
    +127
    +128
    +129
    +130
    +131
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 126
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      type == o.type &&
    +      options == o.options
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 243
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +135
    +136
    +137
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 135
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +141
    +142
    +143
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 141
    +
    +def hash
    +  [type, options].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 101
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @type.nil?
    +    invalid_properties.push('invalid value for "type", type cannot be nil.')
    +  end
    +
    +  if @options.nil?
    +    invalid_properties.push('invalid value for "options", options cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +219
    +220
    +221
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 219
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 225
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +213
    +214
    +215
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 213
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +117
    +118
    +119
    +120
    +121
    +122
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 117
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @type.nil?
    +  return false if @options.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/CreateSmartContractRequest/EnumAttributeValidator.html b/docs/Coinbase/Client/CreateSmartContractRequest/EnumAttributeValidator.html new file mode 100644 index 00000000..d8db530e --- /dev/null +++ b/docs/Coinbase/Client/CreateSmartContractRequest/EnumAttributeValidator.html @@ -0,0 +1,453 @@ + + + + + + + Class: Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/create_smart_contract_request.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #allowable_values ⇒ Object + + + + + + + + + readonly + + + + + + + + + +
      +

      Returns the value of attribute allowable_values.

      +
      + +
    • + + +
    • + + + #datatype ⇒ Object + + + + + + + + + readonly + + + + + + + + + +
      +

      Returns the value of attribute datatype.

      +
      + +
    • + + +
    + + + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(datatype, allowable_values) ⇒ EnumAttributeValidator + + + + + +

    +
    + +

    Returns a new instance of EnumAttributeValidator.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 26
    +
    +def initialize(datatype, allowable_values)
    +  @allowable_values = allowable_values.map do |value|
    +    case datatype.to_s
    +    when /Integer/i
    +      value.to_i
    +    when /Float/i
    +      value.to_f
    +    else
    +      value
    +    end
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #allowable_valuesObject (readonly) + + + + + +

    +
    + +

    Returns the value of attribute allowable_values.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +24
    +25
    +26
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 24
    +
    +def allowable_values
    +  @allowable_values
    +end
    +
    +
    + + + +
    +

    + + #datatypeObject (readonly) + + + + + +

    +
    + +

    Returns the value of attribute datatype.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 23
    +
    +def datatype
    +  @datatype
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #valid?(value) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +39
    +40
    +41
    +
    +
    # File 'lib/coinbase/client/models/create_smart_contract_request.rb', line 39
    +
    +def valid?(value)
    +  !value || allowable_values.include?(value)
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/CreateWalletWebhookRequest.html b/docs/Coinbase/Client/CreateWalletWebhookRequest.html new file mode 100644 index 00000000..b7491cfe --- /dev/null +++ b/docs/Coinbase/Client/CreateWalletWebhookRequest.html @@ -0,0 +1,1881 @@ + + + + + + + Class: Coinbase::Client::CreateWalletWebhookRequest + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::CreateWalletWebhookRequest + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/create_wallet_webhook_request.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #notification_uri ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The URL to which the notifications will be sent.

      +
      + +
    • + + +
    • + + + #signature_header ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The custom header to be used for x-webhook-signature header on callbacks, so developers can verify the requests are coming from Coinbase.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ CreateWalletWebhookRequest + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 53
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::CreateWalletWebhookRequest` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::CreateWalletWebhookRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'notification_uri')
    +    self.notification_uri = attributes[:'notification_uri']
    +  else
    +    self.notification_uri = nil
    +  end
    +
    +  if attributes.key?(:'signature_header')
    +    self.signature_header = attributes[:'signature_header']
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #notification_uriObject + + + + + +

    +
    + +

    The URL to which the notifications will be sent

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +19
    +20
    +21
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 19
    +
    +def notification_uri
    +  @notification_uri
    +end
    +
    +
    + + + +
    +

    + + #signature_headerObject + + + + + +

    +
    + +

    The custom header to be used for x-webhook-signature header on callbacks, so developers can verify the requests are coming from Coinbase.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +22
    +23
    +24
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 22
    +
    +def signature_header
    +  @signature_header
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 145
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +33
    +34
    +35
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 33
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +25
    +26
    +27
    +28
    +29
    +30
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 25
    +
    +def self.attribute_map
    +  {
    +    :'notification_uri' => :'notification_uri',
    +    :'signature_header' => :'signature_header'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 121
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +46
    +47
    +48
    +49
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 46
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +38
    +39
    +40
    +41
    +42
    +43
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 38
    +
    +def self.openapi_types
    +  {
    +    :'notification_uri' => :'String',
    +    :'signature_header' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +99
    +100
    +101
    +102
    +103
    +104
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 99
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      notification_uri == o.notification_uri &&
    +      signature_header == o.signature_header
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 216
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +108
    +109
    +110
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 108
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +114
    +115
    +116
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 114
    +
    +def hash
    +  [notification_uri, signature_header].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 79
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @notification_uri.nil?
    +    invalid_properties.push('invalid value for "notification_uri", notification_uri cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +192
    +193
    +194
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 192
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 198
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +186
    +187
    +188
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 186
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +91
    +92
    +93
    +94
    +95
    +
    +
    # File 'lib/coinbase/client/models/create_wallet_webhook_request.rb', line 91
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @notification_uri.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/CreateWebhookRequest.html b/docs/Coinbase/Client/CreateWebhookRequest.html index e56dec7d..6a40502a 100644 --- a/docs/Coinbase/Client/CreateWebhookRequest.html +++ b/docs/Coinbase/Client/CreateWebhookRequest.html @@ -167,6 +167,33 @@

    Instance Attribute Summary collaps

    Returns the value of attribute event_type.

    + + + +
  • + + + #event_type_filter ⇒ Object + + + + + + + + + + + + + + + + +
    +

    Returns the value of attribute event_type_filter.

    +
    +
  • @@ -711,10 +738,6 @@

     
     
    -89
    -90
    -91
    -92
     93
     94
     95
    @@ -753,10 +776,16 @@ 

    128 129 130 -131

    +131 +132 +133 +134 +135 +136 +137 -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 89
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 93
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -783,12 +812,14 @@ 

    self.event_type = nil end + if attributes.key?(:'event_type_filter') + self.event_type_filter = attributes[:'event_type_filter'] + end + if attributes.key?(:'event_filters') if (value = attributes[:'event_filters']).is_a?(Array) self.event_filters = value end - else - self.event_filters = nil end if attributes.key?(:'notification_uri') @@ -839,12 +870,12 @@

     
     
    -24
    -25
    -26
    +26 +27 +28

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 24
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 26
     
     def event_filters
       @event_filters
    @@ -898,6 +929,49 @@ 

    + +
    +

    + + #event_type_filterObject + + + + + +

    +
    + +

    Returns the value of attribute event_type_filter.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 23
    +
    +def event_type_filter
    +  @event_type_filter
    +end
    +
    +
    + +

    @@ -968,12 +1042,12 @@

     
     
    -27
    -28
    -29
    +29 +30 +31

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 27
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 29
     
     def notification_uri
       @notification_uri
    @@ -1011,12 +1085,12 @@ 

     
     
    -30
    -31
    -32
    +32 +33 +34

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 30
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 32
     
     def signature_header
       @signature_header
    @@ -1113,8 +1187,6 @@ 

     
     
    -219
    -220
     221
     222
     223
    @@ -1150,10 +1222,12 @@ 

    253 254 255 -256

    +256 +257 +258

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 219
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 221
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -1224,12 +1298,12 @@ 

     
     
    -66
    -67
    -68
    +69 +70 +71

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 66
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 69
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1265,23 +1339,25 @@ 

     
     
    -55
    -56
     57
     58
     59
     60
     61
     62
    -63
    +63 +64 +65 +66

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 55
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 57
     
     def self.attribute_map
       {
         :'network_id' => :'network_id',
         :'event_type' => :'event_type',
    +    :'event_type_filter' => :'event_type_filter',
         :'event_filters' => :'event_filters',
         :'notification_uri' => :'notification_uri',
         :'signature_header' => :'signature_header'
    @@ -1356,8 +1432,6 @@ 

     
     
    -195
    -196
     197
     198
     199
    @@ -1374,10 +1448,12 @@ 

    210 211 212 -213

    +213 +214 +215

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 195
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 197
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1429,13 +1505,13 @@ 

     
     
    -82
    -83
    -84
    -85
    +86 +87 +88 +89

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 82
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 86
     
     def self.openapi_nullable
       Set.new([
    @@ -1472,23 +1548,25 @@ 

     
     
    -71
    -72
    -73
     74
     75
     76
     77
     78
    -79
    +79 +80 +81 +82 +83

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 71
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 74
     
     def self.openapi_types
       {
         :'network_id' => :'String',
         :'event_type' => :'WebhookEventType',
    +    :'event_type_filter' => :'WebhookEventTypeFilter',
         :'event_filters' => :'Array<WebhookEventFilter>',
         :'notification_uri' => :'String',
         :'signature_header' => :'String'
    @@ -1551,7 +1629,6 @@ 

     
     
    -170
     171
     172
     173
    @@ -1559,16 +1636,19 @@ 

    175 176 177 -178

    +178 +179 +180

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 170
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 171
     
     def ==(o)
       return true if self.equal?(o)
       self.class == o.class &&
           network_id == o.network_id &&
           event_type == o.event_type &&
    +      event_type_filter == o.event_type_filter &&
           event_filters == o.event_filters &&
           notification_uri == o.notification_uri &&
           signature_header == o.signature_header
    @@ -1642,8 +1722,6 @@ 

     
     
    -290
    -291
     292
     293
     294
    @@ -1654,10 +1732,12 @@ 

    299 300 301 -302

    +302 +303 +304

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 290
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 292
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -1741,12 +1821,12 @@ 

     
     
    -182
    -183
    -184
    +184 +185 +186

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 182
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 184
     
     def eql?(o)
       self == o
    @@ -1800,15 +1880,15 @@ 

     
     
    -188
    -189
    -190
    +190 +191 +192

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 188
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 190
     
     def hash
    -  [network_id, event_type, event_filters, notification_uri, signature_header].hash
    +  [network_id, event_type, event_type_filter, event_filters, notification_uri, signature_header].hash
     end
    @@ -1859,12 +1939,6 @@

     
     
    -135
    -136
    -137
    -138
    -139
    -140
     141
     142
     143
    @@ -1879,10 +1953,12 @@ 

    152 153 154 -155

    +155 +156 +157

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 135
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 141
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    @@ -1895,10 +1971,6 @@ 

    invalid_properties.push('invalid value for "event_type", event_type cannot be nil.') end - if @event_filters.nil? - invalid_properties.push('invalid value for "event_filters", event_filters cannot be nil.') - end - if @notification_uri.nil? invalid_properties.push('invalid value for "notification_uri", notification_uri cannot be nil.') end @@ -1954,12 +2026,12 @@

     
     
    -266
    -267
    -268
    +268 +269 +270

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 266
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 268
     
     def to_body
       to_hash
    @@ -2013,8 +2085,6 @@ 

     
     
    -272
    -273
     274
     275
     276
    @@ -2025,10 +2095,12 @@ 

    281 282 283 -284

    +284 +285 +286

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 272
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 274
     
     def to_hash
       hash = {}
    @@ -2092,12 +2164,12 @@ 

     
     
    -260
    -261
    -262
    +262 +263 +264

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 260
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 262
     
     def to_s
       to_hash.to_s
    @@ -2151,23 +2223,21 @@ 

     
     
    -159
    -160
     161
     162
     163
     164
     165
    -166
    +166 +167

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 159
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 161
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
       return false if @network_id.nil?
       return false if @event_type.nil?
    -  return false if @event_filters.nil?
       return false if @notification_uri.nil?
       true
     end
    diff --git a/docs/Coinbase/Client/CreateWebhookRequest/EnumAttributeValidator.html b/docs/Coinbase/Client/CreateWebhookRequest/EnumAttributeValidator.html index e52a5518..324d1334 100644 --- a/docs/Coinbase/Client/CreateWebhookRequest/EnumAttributeValidator.html +++ b/docs/Coinbase/Client/CreateWebhookRequest/EnumAttributeValidator.html @@ -257,8 +257,6 @@

     
     
    -36
    -37
     38
     39
     40
    @@ -268,10 +266,12 @@ 

    44 45 46 -47

    +47 +48 +49

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 36
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 38
     
     def initialize(datatype, allowable_values)
       @allowable_values = allowable_values.map do |value|
    @@ -323,12 +323,12 @@ 

     
     
    -34
    -35
    -36
    +36 +37 +38

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 34
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 36
     
     def allowable_values
       @allowable_values
    @@ -366,12 +366,12 @@ 

     
     
    -33
    -34
    -35
    +35 +36 +37

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 33
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 35
     
     def datatype
       @datatype
    @@ -425,12 +425,12 @@ 

     
     
    -49
    -50
    -51
    +51 +52 +53

    -
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 49
    +      
    # File 'lib/coinbase/client/models/create_webhook_request.rb', line 51
     
     def valid?(value)
       !value || allowable_values.include?(value)
    diff --git a/docs/Coinbase/Client/DeploySmartContractRequest.html b/docs/Coinbase/Client/DeploySmartContractRequest.html
    new file mode 100644
    index 00000000..d05a73a6
    --- /dev/null
    +++ b/docs/Coinbase/Client/DeploySmartContractRequest.html
    @@ -0,0 +1,1797 @@
    +
    +
    +  
    +    
    +
    +
    +  Class: Coinbase::Client::DeploySmartContractRequest
    +  
    +    — Documentation by YARD 0.9.36
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Class: Coinbase::Client::DeploySmartContractRequest + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/deploy_smart_contract_request.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #signed_payload ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The hex-encoded signed payload of the contract deployment transaction.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ DeploySmartContractRequest + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 48
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::DeploySmartContractRequest` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::DeploySmartContractRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'signed_payload')
    +    self.signed_payload = attributes[:'signed_payload']
    +  else
    +    self.signed_payload = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #signed_payloadObject + + + + + +

    +
    + +

    The hex-encoded signed payload of the contract deployment transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +19
    +20
    +21
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 19
    +
    +def signed_payload
    +  @signed_payload
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 135
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 29
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +22
    +23
    +24
    +25
    +26
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 22
    +
    +def self.attribute_map
    +  {
    +    :'signed_payload' => :'signed_payload'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 111
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +44
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 41
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +34
    +35
    +36
    +37
    +38
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 34
    +
    +def self.openapi_types
    +  {
    +    :'signed_payload' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +90
    +91
    +92
    +93
    +94
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 90
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      signed_payload == o.signed_payload
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 206
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +98
    +99
    +100
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 98
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +104
    +105
    +106
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 104
    +
    +def hash
    +  [signed_payload].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 70
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @signed_payload.nil?
    +    invalid_properties.push('invalid value for "signed_payload", signed_payload cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +182
    +183
    +184
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 182
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 188
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +176
    +177
    +178
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 176
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +82
    +83
    +84
    +85
    +86
    +
    +
    # File 'lib/coinbase/client/models/deploy_smart_contract_request.rb', line 82
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @signed_payload.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/ERC20TransferEvent.html b/docs/Coinbase/Client/ERC20TransferEvent.html new file mode 100644 index 00000000..d64e0378 --- /dev/null +++ b/docs/Coinbase/Client/ERC20TransferEvent.html @@ -0,0 +1,2802 @@ + + + + + + + Class: Coinbase::Client::ERC20TransferEvent + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::ERC20TransferEvent + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/erc20_transfer_event.rb
    +
    + +
    + +

    Overview

    +
    + +

    Represents an event triggered by an ERC-20 token transfer on the blockchain. Contains information about the transaction, block, and involved addresses.

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #block_hash ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Hash of the block containing the transaction.

      +
      + +
    • + + +
    • + + + #block_number ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Number of the block containing the transaction.

      +
      + +
    • + + +
    • + + + #block_time ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Timestamp when the block was mined.

      +
      + +
    • + + +
    • + + + #contract_address ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the ERC-20 token contract.

      +
      + +
    • + + +
    • + + + #event_type ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Type of event, in this case, an ERC-20 token transfer.

      +
      + +
    • + + +
    • + + + #from ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the sender in the token transfer.

      +
      + +
    • + + +
    • + + + #log_index ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Position of the event log within the transaction.

      +
      + +
    • + + +
    • + + + #network ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Blockchain network where the event occurred.

      +
      + +
    • + + +
    • + + + #to ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the recipient in the token transfer.

      +
      + +
    • + + +
    • + + + #transaction_hash ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Hash of the transaction that triggered the event.

      +
      + +
    • + + +
    • + + + #transaction_index ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Position of the transaction within the block.

      +
      + +
    • + + +
    • + + + #value ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Amount of tokens transferred, typically in the smallest unit (e.g., wei for Ethereum).

      +
      + +
    • + + +
    • + + + #webhook_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Unique identifier for the webhook that triggered this event.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ ERC20TransferEvent + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 109
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::ERC20TransferEvent` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::ERC20TransferEvent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'webhook_id')
    +    self.webhook_id = attributes[:'webhook_id']
    +  end
    +
    +  if attributes.key?(:'event_type')
    +    self.event_type = attributes[:'event_type']
    +  end
    +
    +  if attributes.key?(:'network')
    +    self.network = attributes[:'network']
    +  end
    +
    +  if attributes.key?(:'block_hash')
    +    self.block_hash = attributes[:'block_hash']
    +  end
    +
    +  if attributes.key?(:'block_number')
    +    self.block_number = attributes[:'block_number']
    +  end
    +
    +  if attributes.key?(:'block_time')
    +    self.block_time = attributes[:'block_time']
    +  end
    +
    +  if attributes.key?(:'transaction_hash')
    +    self.transaction_hash = attributes[:'transaction_hash']
    +  end
    +
    +  if attributes.key?(:'transaction_index')
    +    self.transaction_index = attributes[:'transaction_index']
    +  end
    +
    +  if attributes.key?(:'log_index')
    +    self.log_index = attributes[:'log_index']
    +  end
    +
    +  if attributes.key?(:'contract_address')
    +    self.contract_address = attributes[:'contract_address']
    +  end
    +
    +  if attributes.key?(:'from')
    +    self.from = attributes[:'from']
    +  end
    +
    +  if attributes.key?(:'to')
    +    self.to = attributes[:'to']
    +  end
    +
    +  if attributes.key?(:'value')
    +    self.value = attributes[:'value']
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #block_hashObject + + + + + +

    +
    + +

    Hash of the block containing the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 29
    +
    +def block_hash
    +  @block_hash
    +end
    +
    +
    + + + +
    +

    + + #block_numberObject + + + + + +

    +
    + +

    Number of the block containing the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +32
    +33
    +34
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 32
    +
    +def block_number
    +  @block_number
    +end
    +
    +
    + + + +
    +

    + + #block_timeObject + + + + + +

    +
    + +

    Timestamp when the block was mined.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +35
    +36
    +37
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 35
    +
    +def block_time
    +  @block_time
    +end
    +
    +
    + + + +
    +

    + + #contract_addressObject + + + + + +

    +
    + +

    Address of the ERC-20 token contract.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +47
    +48
    +49
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 47
    +
    +def contract_address
    +  @contract_address
    +end
    +
    +
    + + + +
    +

    + + #event_typeObject + + + + + +

    +
    + +

    Type of event, in this case, an ERC-20 token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 23
    +
    +def event_type
    +  @event_type
    +end
    +
    +
    + + + +
    +

    + + #fromObject + + + + + +

    +
    + +

    Address of the sender in the token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +50
    +51
    +52
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 50
    +
    +def from
    +  @from
    +end
    +
    +
    + + + +
    +

    + + #log_indexObject + + + + + +

    +
    + +

    Position of the event log within the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +44
    +45
    +46
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 44
    +
    +def log_index
    +  @log_index
    +end
    +
    +
    + + + +
    +

    + + #networkObject + + + + + +

    +
    + +

    Blockchain network where the event occurred.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 26
    +
    +def network
    +  @network
    +end
    +
    +
    + + + +
    +

    + + #toObject + + + + + +

    +
    + +

    Address of the recipient in the token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +53
    +54
    +55
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 53
    +
    +def to
    +  @to
    +end
    +
    +
    + + + +
    +

    + + #transaction_hashObject + + + + + +

    +
    + +

    Hash of the transaction that triggered the event.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 38
    +
    +def transaction_hash
    +  @transaction_hash
    +end
    +
    +
    + + + +
    +

    + + #transaction_indexObject + + + + + +

    +
    + +

    Position of the transaction within the block.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 41
    +
    +def transaction_index
    +  @transaction_index
    +end
    +
    +
    + + + +
    +

    + + #valueObject + + + + + +

    +
    + +

    Amount of tokens transferred, typically in the smallest unit (e.g., wei for Ethereum).

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +56
    +57
    +58
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 56
    +
    +def value
    +  @value
    +end
    +
    +
    + + + +
    +

    + + #webhook_idObject + + + + + +

    +
    + +

    Unique identifier for the webhook that triggered this event.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 20
    +
    +def webhook_id
    +  @webhook_id
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    +264
    +265
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 249
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +78
    +79
    +80
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 78
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 59
    +
    +def self.attribute_map
    +  {
    +    :'webhook_id' => :'webhookId',
    +    :'event_type' => :'eventType',
    +    :'network' => :'network',
    +    :'block_hash' => :'blockHash',
    +    :'block_number' => :'blockNumber',
    +    :'block_time' => :'blockTime',
    +    :'transaction_hash' => :'transactionHash',
    +    :'transaction_index' => :'transactionIndex',
    +    :'log_index' => :'logIndex',
    +    :'contract_address' => :'contractAddress',
    +    :'from' => :'from',
    +    :'to' => :'to',
    +    :'value' => :'value'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 225
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +102
    +103
    +104
    +105
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 102
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 83
    +
    +def self.openapi_types
    +  {
    +    :'webhook_id' => :'String',
    +    :'event_type' => :'String',
    +    :'network' => :'String',
    +    :'block_hash' => :'String',
    +    :'block_number' => :'Integer',
    +    :'block_time' => :'Time',
    +    :'transaction_hash' => :'String',
    +    :'transaction_index' => :'Integer',
    +    :'log_index' => :'Integer',
    +    :'contract_address' => :'String',
    +    :'from' => :'String',
    +    :'to' => :'String',
    +    :'value' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 192
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      webhook_id == o.webhook_id &&
    +      event_type == o.event_type &&
    +      network == o.network &&
    +      block_hash == o.block_hash &&
    +      block_number == o.block_number &&
    +      block_time == o.block_time &&
    +      transaction_hash == o.transaction_hash &&
    +      transaction_index == o.transaction_index &&
    +      log_index == o.log_index &&
    +      contract_address == o.contract_address &&
    +      from == o.from &&
    +      to == o.to &&
    +      value == o.value
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +329
    +330
    +331
    +332
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 320
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +212
    +213
    +214
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 212
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +218
    +219
    +220
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 218
    +
    +def hash
    +  [webhook_id, event_type, network, block_hash, block_number, block_time, transaction_hash, transaction_index, log_index, contract_address, from, to, value].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +177
    +178
    +179
    +180
    +181
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 177
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +296
    +297
    +298
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 296
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 302
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +290
    +291
    +292
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 290
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +185
    +186
    +187
    +188
    +
    +
    # File 'lib/coinbase/client/models/erc20_transfer_event.rb', line 185
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/ERC721TransferEvent.html b/docs/Coinbase/Client/ERC721TransferEvent.html new file mode 100644 index 00000000..2d8be23f --- /dev/null +++ b/docs/Coinbase/Client/ERC721TransferEvent.html @@ -0,0 +1,2802 @@ + + + + + + + Class: Coinbase::Client::ERC721TransferEvent + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::ERC721TransferEvent + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/erc721_transfer_event.rb
    +
    + +
    + +

    Overview

    +
    + +

    Represents an event triggered by an ERC-721 token transfer on the blockchain. Contains information about the transaction, block, and involved addresses.

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #block_hash ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Hash of the block containing the transaction.

      +
      + +
    • + + +
    • + + + #block_number ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Number of the block containing the transaction.

      +
      + +
    • + + +
    • + + + #block_time ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Timestamp when the block was mined.

      +
      + +
    • + + +
    • + + + #contract_address ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the ERC-721 token contract.

      +
      + +
    • + + +
    • + + + #event_type ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Type of event, in this case, an ERC-721 token transfer.

      +
      + +
    • + + +
    • + + + #from ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the sender in the token transfer.

      +
      + +
    • + + +
    • + + + #log_index ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Position of the event log within the transaction.

      +
      + +
    • + + +
    • + + + #network ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Blockchain network where the event occurred.

      +
      + +
    • + + +
    • + + + #to ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Address of the recipient in the token transfer.

      +
      + +
    • + + +
    • + + + #token_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Unique identifier of the NFT being transferred.

      +
      + +
    • + + +
    • + + + #transaction_hash ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Hash of the transaction that triggered the event.

      +
      + +
    • + + +
    • + + + #transaction_index ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Position of the transaction within the block.

      +
      + +
    • + + +
    • + + + #webhook_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Unique identifier for the webhook that triggered this event.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ ERC721TransferEvent + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 109
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::ERC721TransferEvent` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::ERC721TransferEvent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'webhook_id')
    +    self.webhook_id = attributes[:'webhook_id']
    +  end
    +
    +  if attributes.key?(:'event_type')
    +    self.event_type = attributes[:'event_type']
    +  end
    +
    +  if attributes.key?(:'network')
    +    self.network = attributes[:'network']
    +  end
    +
    +  if attributes.key?(:'block_hash')
    +    self.block_hash = attributes[:'block_hash']
    +  end
    +
    +  if attributes.key?(:'block_number')
    +    self.block_number = attributes[:'block_number']
    +  end
    +
    +  if attributes.key?(:'block_time')
    +    self.block_time = attributes[:'block_time']
    +  end
    +
    +  if attributes.key?(:'transaction_hash')
    +    self.transaction_hash = attributes[:'transaction_hash']
    +  end
    +
    +  if attributes.key?(:'transaction_index')
    +    self.transaction_index = attributes[:'transaction_index']
    +  end
    +
    +  if attributes.key?(:'log_index')
    +    self.log_index = attributes[:'log_index']
    +  end
    +
    +  if attributes.key?(:'contract_address')
    +    self.contract_address = attributes[:'contract_address']
    +  end
    +
    +  if attributes.key?(:'from')
    +    self.from = attributes[:'from']
    +  end
    +
    +  if attributes.key?(:'to')
    +    self.to = attributes[:'to']
    +  end
    +
    +  if attributes.key?(:'token_id')
    +    self.token_id = attributes[:'token_id']
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #block_hashObject + + + + + +

    +
    + +

    Hash of the block containing the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 29
    +
    +def block_hash
    +  @block_hash
    +end
    +
    +
    + + + +
    +

    + + #block_numberObject + + + + + +

    +
    + +

    Number of the block containing the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +32
    +33
    +34
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 32
    +
    +def block_number
    +  @block_number
    +end
    +
    +
    + + + +
    +

    + + #block_timeObject + + + + + +

    +
    + +

    Timestamp when the block was mined.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +35
    +36
    +37
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 35
    +
    +def block_time
    +  @block_time
    +end
    +
    +
    + + + +
    +

    + + #contract_addressObject + + + + + +

    +
    + +

    Address of the ERC-721 token contract.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +47
    +48
    +49
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 47
    +
    +def contract_address
    +  @contract_address
    +end
    +
    +
    + + + +
    +

    + + #event_typeObject + + + + + +

    +
    + +

    Type of event, in this case, an ERC-721 token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 23
    +
    +def event_type
    +  @event_type
    +end
    +
    +
    + + + +
    +

    + + #fromObject + + + + + +

    +
    + +

    Address of the sender in the token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +50
    +51
    +52
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 50
    +
    +def from
    +  @from
    +end
    +
    +
    + + + +
    +

    + + #log_indexObject + + + + + +

    +
    + +

    Position of the event log within the transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +44
    +45
    +46
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 44
    +
    +def log_index
    +  @log_index
    +end
    +
    +
    + + + +
    +

    + + #networkObject + + + + + +

    +
    + +

    Blockchain network where the event occurred.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 26
    +
    +def network
    +  @network
    +end
    +
    +
    + + + +
    +

    + + #toObject + + + + + +

    +
    + +

    Address of the recipient in the token transfer.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +53
    +54
    +55
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 53
    +
    +def to
    +  @to
    +end
    +
    +
    + + + +
    +

    + + #token_idObject + + + + + +

    +
    + +

    Unique identifier of the NFT being transferred.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +56
    +57
    +58
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 56
    +
    +def token_id
    +  @token_id
    +end
    +
    +
    + + + +
    +

    + + #transaction_hashObject + + + + + +

    +
    + +

    Hash of the transaction that triggered the event.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 38
    +
    +def transaction_hash
    +  @transaction_hash
    +end
    +
    +
    + + + +
    +

    + + #transaction_indexObject + + + + + +

    +
    + +

    Position of the transaction within the block.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 41
    +
    +def transaction_index
    +  @transaction_index
    +end
    +
    +
    + + + +
    +

    + + #webhook_idObject + + + + + +

    +
    + +

    Unique identifier for the webhook that triggered this event.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 20
    +
    +def webhook_id
    +  @webhook_id
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    +264
    +265
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 249
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +78
    +79
    +80
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 78
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 59
    +
    +def self.attribute_map
    +  {
    +    :'webhook_id' => :'webhookId',
    +    :'event_type' => :'eventType',
    +    :'network' => :'network',
    +    :'block_hash' => :'blockHash',
    +    :'block_number' => :'blockNumber',
    +    :'block_time' => :'blockTime',
    +    :'transaction_hash' => :'transactionHash',
    +    :'transaction_index' => :'transactionIndex',
    +    :'log_index' => :'logIndex',
    +    :'contract_address' => :'contractAddress',
    +    :'from' => :'from',
    +    :'to' => :'to',
    +    :'token_id' => :'tokenId'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 225
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +102
    +103
    +104
    +105
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 102
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 83
    +
    +def self.openapi_types
    +  {
    +    :'webhook_id' => :'String',
    +    :'event_type' => :'String',
    +    :'network' => :'String',
    +    :'block_hash' => :'String',
    +    :'block_number' => :'Integer',
    +    :'block_time' => :'Time',
    +    :'transaction_hash' => :'String',
    +    :'transaction_index' => :'Integer',
    +    :'log_index' => :'Integer',
    +    :'contract_address' => :'String',
    +    :'from' => :'String',
    +    :'to' => :'String',
    +    :'token_id' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 192
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      webhook_id == o.webhook_id &&
    +      event_type == o.event_type &&
    +      network == o.network &&
    +      block_hash == o.block_hash &&
    +      block_number == o.block_number &&
    +      block_time == o.block_time &&
    +      transaction_hash == o.transaction_hash &&
    +      transaction_index == o.transaction_index &&
    +      log_index == o.log_index &&
    +      contract_address == o.contract_address &&
    +      from == o.from &&
    +      to == o.to &&
    +      token_id == o.token_id
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +329
    +330
    +331
    +332
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 320
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +212
    +213
    +214
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 212
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +218
    +219
    +220
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 218
    +
    +def hash
    +  [webhook_id, event_type, network, block_hash, block_number, block_time, transaction_hash, transaction_index, log_index, contract_address, from, to, token_id].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +177
    +178
    +179
    +180
    +181
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 177
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +296
    +297
    +298
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 296
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 302
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +290
    +291
    +292
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 290
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +185
    +186
    +187
    +188
    +
    +
    # File 'lib/coinbase/client/models/erc721_transfer_event.rb', line 185
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/Error.html b/docs/Coinbase/Client/Error.html index a5eb475c..66d68183 100644 --- a/docs/Coinbase/Client/Error.html +++ b/docs/Coinbase/Client/Error.html @@ -141,6 +141,33 @@

    Instance Attribute Summary collaps

    A short string representing the reported error.

    + + + +
  • + + + #correlation_id ⇒ Object + + + + + + + + + + + + + + + + +
    +

    A unique identifier for the request that generated the error.

    +
    +
  • @@ -631,11 +658,6 @@

     
     
    -54
    -55
    -56
    -57
    -58
     59
     60
     61
    @@ -655,10 +677,19 @@ 

    75 76 77 -78

    +78 +79 +80 +81 +82 +83 +84 +85 +86 +87

    -
    # File 'lib/coinbase/client/models/error.rb', line 54
    +      
    # File 'lib/coinbase/client/models/error.rb', line 59
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -684,6 +715,10 @@ 

    else self.message = nil end + + if attributes.key?(:'correlation_id') + self.correlation_id = attributes[:'correlation_id'] + end end

    @@ -739,6 +774,49 @@

    + +
    +

    + + #correlation_idObject + + + + + +

    +
    + +

    A unique identifier for the request that generated the error. This can be used to help debug issues with the API.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/error.rb', line 26
    +
    +def correlation_id
    +  @correlation_id
    +end
    +
    +
    + +

    @@ -868,16 +946,6 @@

     
     
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
     201
     202
     203
    @@ -905,10 +973,20 @@ 

    225 226 227 -228

    +228 +229 +230 +231 +232 +233 +234 +235 +236 +237 +238

    -
    # File 'lib/coinbase/client/models/error.rb', line 191
    +      
    # File 'lib/coinbase/client/models/error.rb', line 201
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -979,12 +1057,12 @@ 

     
     
    -34
    -35
    -36
    +38 +39 +40

    -
    # File 'lib/coinbase/client/models/error.rb', line 34
    +      
    # File 'lib/coinbase/client/models/error.rb', line 38
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1020,20 +1098,22 @@ 

     
     
    -26
    -27
    -28
     29
     30
    -31
    +31 +32 +33 +34 +35

    -
    # File 'lib/coinbase/client/models/error.rb', line 26
    +      
    # File 'lib/coinbase/client/models/error.rb', line 29
     
     def self.attribute_map
       {
         :'code' => :'code',
    -    :'message' => :'message'
    +    :'message' => :'message',
    +    :'correlation_id' => :'correlation_id'
       }
     end
    @@ -1105,16 +1185,6 @@

     
     
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
     177
     178
     179
    @@ -1123,10 +1193,20 @@ 

    182 183 184 -185

    +185 +186 +187 +188 +189 +190 +191 +192 +193 +194 +195

    -
    # File 'lib/coinbase/client/models/error.rb', line 167
    +      
    # File 'lib/coinbase/client/models/error.rb', line 177
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1178,13 +1258,13 @@ 

     
     
    -47
    -48
    -49
    -50
    +52 +53 +54 +55

    -
    # File 'lib/coinbase/client/models/error.rb', line 47
    +      
    # File 'lib/coinbase/client/models/error.rb', line 52
     
     def self.openapi_nullable
       Set.new([
    @@ -1221,20 +1301,22 @@ 

     
     
    -39
    -40
    -41
    -42
     43
    -44
    +44 +45 +46 +47 +48 +49

    -
    # File 'lib/coinbase/client/models/error.rb', line 39
    +      
    # File 'lib/coinbase/client/models/error.rb', line 43
     
     def self.openapi_types
       {
         :'code' => :'String',
    -    :'message' => :'String'
    +    :'message' => :'String',
    +    :'correlation_id' => :'String'
       }
     end
    @@ -1294,21 +1376,23 @@

     
     
    -145
    -146
    -147
    -148
    -149
    -150
    +154 +155 +156 +157 +158 +159 +160

    -
    # File 'lib/coinbase/client/models/error.rb', line 145
    +      
    # File 'lib/coinbase/client/models/error.rb', line 154
     
     def ==(o)
       return true if self.equal?(o)
       self.class == o.class &&
           code == o.code &&
    -      message == o.message
    +      message == o.message &&
    +      correlation_id == o.correlation_id
     end
    @@ -1379,22 +1463,22 @@

     
     
    -262
    -263
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
     272
     273
    -274
    +274 +275 +276 +277 +278 +279 +280 +281 +282 +283 +284

    -
    # File 'lib/coinbase/client/models/error.rb', line 262
    +      
    # File 'lib/coinbase/client/models/error.rb', line 272
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -1478,12 +1562,12 @@ 

     
     
    -154
    -155
    -156
    +164 +165 +166

    -
    # File 'lib/coinbase/client/models/error.rb', line 154
    +      
    # File 'lib/coinbase/client/models/error.rb', line 164
     
     def eql?(o)
       self == o
    @@ -1537,15 +1621,15 @@ 

     
     
    -160
    -161
    -162
    +170 +171 +172

    -
    # File 'lib/coinbase/client/models/error.rb', line 160
    +      
    # File 'lib/coinbase/client/models/error.rb', line 170
     
     def hash
    -  [code, message].hash
    +  [code, message, correlation_id].hash
     end
    @@ -1596,15 +1680,6 @@

     
     
    -82
    -83
    -84
    -85
    -86
    -87
    -88
    -89
    -90
     91
     92
     93
    @@ -1616,10 +1691,19 @@ 

    99 100 101 -102

    +102 +103 +104 +105 +106 +107 +108 +109 +110 +111

    -
    # File 'lib/coinbase/client/models/error.rb', line 82
    +      
    # File 'lib/coinbase/client/models/error.rb', line 91
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    @@ -1691,12 +1775,12 @@ 

     
     
    -238
    -239
    -240
    +248 +249 +250

    -
    # File 'lib/coinbase/client/models/error.rb', line 238
    +      
    # File 'lib/coinbase/client/models/error.rb', line 248
     
     def to_body
       to_hash
    @@ -1750,22 +1834,22 @@ 

     
     
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
     254
     255
    -256
    +256 +257 +258 +259 +260 +261 +262 +263 +264 +265 +266

    -
    # File 'lib/coinbase/client/models/error.rb', line 244
    +      
    # File 'lib/coinbase/client/models/error.rb', line 254
     
     def to_hash
       hash = {}
    @@ -1829,12 +1913,12 @@ 

     
     
    -232
    -233
    -234
    +242 +243 +244

    -
    # File 'lib/coinbase/client/models/error.rb', line 232
    +      
    # File 'lib/coinbase/client/models/error.rb', line 242
     
     def to_s
       to_hash.to_s
    @@ -1888,17 +1972,17 @@ 

     
     
    -106
    -107
    -108
    -109
    -110
    -111
    -112
    -113
    +115 +116 +117 +118 +119 +120 +121 +122

    -
    # File 'lib/coinbase/client/models/error.rb', line 106
    +      
    # File 'lib/coinbase/client/models/error.rb', line 115
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
    diff --git a/docs/Coinbase/Client/ExternalAddressesApi.html b/docs/Coinbase/Client/ExternalAddressesApi.html
    index f5edf3bb..22de9ed4 100644
    --- a/docs/Coinbase/Client/ExternalAddressesApi.html
    +++ b/docs/Coinbase/Client/ExternalAddressesApi.html
    @@ -217,102 +217,6 @@ 

    A new instance of ExternalAddressesApi.

    - - - -
  • - - - #list_address_historical_balance(network_id, address_id, asset_id, opts = {}) ⇒ AddressHistoricalBalanceList - - - - - - - - - - - - - -
    -

    Get address balance history for asset List the historical balance of an asset in a specific address.

    -
    - -
  • - - -
  • - - - #list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts = {}) ⇒ Array<(AddressHistoricalBalanceList, Integer, Hash)> - - - - - - - - - - - - - -
    -

    Get address balance history for asset List the historical balance of an asset in a specific address.

    -
    - -
  • - - -
  • - - - #list_address_transactions(network_id, address_id, opts = {}) ⇒ AddressTransactionList - - - - - - - - - - - - - -
    -

    List transactions for an address.

    -
    - -
  • - - -
  • - - - #list_address_transactions_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(AddressTransactionList, Integer, Hash)> - - - - - - - - - - - - - -
    -

    List transactions for an address.

    -
    -
  • @@ -838,7 +742,7 @@

    -

    +

    - #list_address_historical_balance(network_id, address_id, asset_id, opts = {}) ⇒ AddressHistoricalBalanceList + #list_external_address_balances(network_id, address_id, opts = {}) ⇒ AddressBalanceList @@ -885,7 +789,7 @@

    -

    Get address balance history for asset List the historical balance of an asset in a specific address.

    +

    Get the balances of an external address List all of the balances of an external address

    @@ -921,23 +825,7 @@

    -

    The ID of the address to fetch the historical balance for.

    -
    - - - -
  • - - asset_id - - - (String) - - - - — -
    -

    The symbol of the asset to fetch the historical balance for.

    +

    The ID of the address to fetch the balance for

  • @@ -969,24 +857,9 @@

    - -

    Options Hash (opts):

      -
    • - :limit - (Integer) - - - - - —
      -

      A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

      -
      - -
    • -
    • :page (String) @@ -1009,7 +882,7 @@

    • - (AddressHistoricalBalanceList) + (AddressBalanceList) @@ -1023,16 +896,16 @@

       
       
      +104
      +105
       106
      -107
      -108
      -109
      +107

    -
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 106
    +      
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 104
     
    -def list_address_historical_balance(network_id, address_id, asset_id, opts = {})
    -  data, _status_code, _headers = list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts)
    +def list_external_address_balances(network_id, address_id, opts = {})
    +  data, _status_code, _headers = list_external_address_balances_with_http_info(network_id, address_id, opts)
       data
     end
    @@ -1041,9 +914,9 @@

    -

    +

    - #list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts = {}) ⇒ Array<(AddressHistoricalBalanceList, Integer, Hash)> + #list_external_address_balances_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(AddressBalanceList, Integer, Hash)> @@ -1052,7 +925,7 @@

    -

    Get address balance history for asset List the historical balance of an asset in a specific address.

    +

    Get the balances of an external address List all of the balances of an external address

    @@ -1088,23 +961,7 @@

    Options Hash (opts):

      -
    • - :limit - (Integer) - - - - - —
      -

      A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

      -
      - -
    • -
    • :page (String) @@ -1176,13 +1018,13 @@

      AddressHistoricalBalanceList, Integer, Hash)>) + (Array<(AddressBalanceList, Integer, Hash)>)
      -

      AddressHistoricalBalanceList data, response status code and response headers

      +

      AddressBalanceList data, response status code and response headers

    • @@ -1195,6 +1037,10 @@

      +116 +117 +118 +119 120 121 122 @@ -1246,52 +1092,38 @@

      # File 'lib/coinbase/client/api/external_addresses_api.rb', line 120 +
      # File 'lib/coinbase/client/api/external_addresses_api.rb', line 116
       
      -def list_address_historical_balance_with_http_info(network_id, address_id, asset_id, opts = {})
      +def list_external_address_balances_with_http_info(network_id, address_id, opts = {})
         if @api_client.config.debugging
      -    @api_client.config.logger.debug 'Calling API: ExternalAddressesApi.list_address_historical_balance ...'
      +    @api_client.config.logger.debug 'Calling API: ExternalAddressesApi.list_external_address_balances ...'
         end
         # verify the required parameter 'network_id' is set
         if @api_client.config.client_side_validation && network_id.nil?
      -    fail ArgumentError, "Missing the required parameter 'network_id' when calling ExternalAddressesApi.list_address_historical_balance"
      +    fail ArgumentError, "Missing the required parameter 'network_id' when calling ExternalAddressesApi.list_external_address_balances"
         end
         # verify the required parameter 'address_id' is set
         if @api_client.config.client_side_validation && address_id.nil?
      -    fail ArgumentError, "Missing the required parameter 'address_id' when calling ExternalAddressesApi.list_address_historical_balance"
      -  end
      -  # verify the required parameter 'asset_id' is set
      -  if @api_client.config.client_side_validation && asset_id.nil?
      -    fail ArgumentError, "Missing the required parameter 'asset_id' when calling ExternalAddressesApi.list_address_historical_balance"
      +    fail ArgumentError, "Missing the required parameter 'address_id' when calling ExternalAddressesApi.list_external_address_balances"
         end
         if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000
      -    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ExternalAddressesApi.list_address_historical_balance, the character length must be smaller than or equal to 5000.'
      +    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ExternalAddressesApi.list_external_address_balances, the character length must be smaller than or equal to 5000.'
         end
       
         # resource path
      -  local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/balance_history/{asset_id}'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)).sub('{' + 'asset_id' + '}', CGI.escape(asset_id.to_s))
      +  local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/balances'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s))
       
         # query parameters
         query_params = opts[:query_params] || {}
      -  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
         query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
       
         # header parameters
         header_params = opts[:header_params] || {}
         # HTTP header 'Accept' (if needed)
      -  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
      +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
       
         # form parameters
         form_params = opts[:form_params] || {}
      @@ -1300,13 +1132,13 @@ 

      -

      +

      - #list_address_transactions(network_id, address_id, opts = {}) ⇒ AddressTransactionList + #request_external_faucet_funds(network_id, address_id, opts = {}) ⇒ FaucetTransaction @@ -1338,7 +1170,7 @@

      -

      List transactions for an address. List all transactions that interact with the address.

      +

      Request faucet funds for external address. Request faucet funds to be sent to external address.

      @@ -1358,7 +1190,7 @@

      -

      The ID of the blockchain network

      +

      The ID of the wallet the address belongs to.

      @@ -1374,7 +1206,7 @@

      -

      The ID of the address to fetch the transactions for.

      +

      The onchain address of the address that is being fetched.

      @@ -1410,27 +1242,14 @@

      • - :limit - (Integer) - - - - - —
        -

        A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

        -
        - -
      • - -
      • - :page + :asset_id (String)
        -

        A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

        +

        The ID of the asset to transfer from the faucet.

      • @@ -1444,7 +1263,7 @@

      • - (AddressTransactionList) + (FaucetTransaction) @@ -1458,16 +1277,16 @@

         
         
        -190
        -191
        -192
        -193
        +180 +181 +182 +183

      -
      # File 'lib/coinbase/client/api/external_addresses_api.rb', line 190
      +      
      # File 'lib/coinbase/client/api/external_addresses_api.rb', line 180
       
      -def list_address_transactions(network_id, address_id, opts = {})
      -  data, _status_code, _headers = list_address_transactions_with_http_info(network_id, address_id, opts)
      +def request_external_faucet_funds(network_id, address_id, opts = {})
      +  data, _status_code, _headers = request_external_faucet_funds_with_http_info(network_id, address_id, opts)
         data
       end
      @@ -1476,9 +1295,9 @@

    -

    +

    - #list_address_transactions_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(AddressTransactionList, Integer, Hash)> + #request_external_faucet_funds_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(FaucetTransaction, Integer, Hash)> @@ -1487,7 +1306,7 @@

    -

    List transactions for an address. List all transactions that interact with the address.

    +

    Request faucet funds for external address. Request faucet funds to be sent to external address.

    @@ -1507,7 +1326,7 @@

  • - :limit - (Integer) - - - - - —
    -

    A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

    -
    - -
  • - -
  • - :page + :asset_id (String)
    -

    A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

    +

    The ID of the asset to transfer from the faucet.

  • @@ -1593,13 +1399,13 @@

    AddressTransactionList, Integer, Hash)>) + (Array<(FaucetTransaction, Integer, Hash)>)
    -

    AddressTransactionList data, response status code and response headers

    +

    FaucetTransaction data, response status code and response headers

    @@ -1612,6 +1418,17 @@

    +192 +193 +194 +195 +196 +197 +198 +199 +200 +201 +202 203 204 205 @@ -1652,785 +1469,10 @@

    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 203 - -def list_address_transactions_with_http_info(network_id, address_id, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: ExternalAddressesApi.list_address_transactions ...' - end - # verify the required parameter 'network_id' is set - if @api_client.config.client_side_validation && network_id.nil? - fail ArgumentError, "Missing the required parameter 'network_id' when calling ExternalAddressesApi.list_address_transactions" - end - # verify the required parameter 'address_id' is set - if @api_client.config.client_side_validation && address_id.nil? - fail ArgumentError, "Missing the required parameter 'address_id' when calling ExternalAddressesApi.list_address_transactions" - end - if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000 - fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ExternalAddressesApi.list_address_transactions, the character length must be smaller than or equal to 5000.' - end - - # resource path - local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/transactions'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)) - - # query parameters - query_params = opts[:query_params] || {} - query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? - query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] - - # return_type - return_type = opts[:debug_return_type] || 'AddressTransactionList' - - # auth_names - auth_names = opts[:debug_auth_names] || [] - - new_options = opts.merge( - :operation => :"ExternalAddressesApi.list_address_transactions", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: ExternalAddressesApi#list_address_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers -end

    - - - - - -
    -

    - - #list_external_address_balances(network_id, address_id, opts = {}) ⇒ AddressBalanceList - - - - - -

    -
    - -

    Get the balances of an external address List all of the balances of an external address

    - - -
    -
    -
    -

    Parameters:

    -
      - -
    • - - network_id - - - (String) - - - - — -
      -

      The ID of the blockchain network

      -
      - -
    • - -
    • - - address_id - - - (String) - - - - — -
      -

      The ID of the address to fetch the balance for

      -
      - -
    • - -
    • - - opts - - - (Hash) - - - (defaults to: {}) - - - — -
      -

      the optional parameters

      -
      - -
    • - -
    - - - - - - - - -

    Options Hash (opts):

    -
      - -
    • - :page - (String) - - - - - —
      -

      A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

      -
      - -
    • - -
    - - -

    Returns:

    - - -
    - - - - -
    -
    -
    -
    -268
    -269
    -270
    -271
    -
    -
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 268
    -
    -def list_external_address_balances(network_id, address_id, opts = {})
    -  data, _status_code, _headers = list_external_address_balances_with_http_info(network_id, address_id, opts)
    -  data
    -end
    -
    -
    - -
    -

    - - #list_external_address_balances_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(AddressBalanceList, Integer, Hash)> - - - - - -

    -
    - -

    Get the balances of an external address List all of the balances of an external address

    - - -
    -
    -
    -

    Parameters:

    -
      - -
    • - - network_id - - - (String) - - - - — -
      -

      The ID of the blockchain network

      -
      - -
    • - -
    • - - address_id - - - (String) - - - - — -
      -

      The ID of the address to fetch the balance for

      -
      - -
    • - -
    • - - opts - - - (Hash) - - - (defaults to: {}) - - - — -
      -

      the optional parameters

      -
      - -
    • - -
    - - - - - - - - -

    Options Hash (opts):

    -
      - -
    • - :page - (String) - - - - - —
      -

      A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

      -
      - -
    • - -
    - - -

    Returns:

    -
      - -
    • - - - (Array<(AddressBalanceList, Integer, Hash)>) - - - - — -
      -

      AddressBalanceList data, response status code and response headers

      -
      - -
    • - -
    - -
    - - - - -
    -
    -
    -
    -280
    -281
    -282
    -283
    -284
    -285
    -286
    -287
    -288
    -289
    -290
    -291
    -292
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
    -302
    -303
    -304
    -305
    -306
    -307
    -308
    -309
    -310
    -311
    -312
    -313
    -314
    -315
    -316
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    -330
    -331
    -332
    -333
    -334
    -335
    -
    -
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 280
    -
    -def list_external_address_balances_with_http_info(network_id, address_id, opts = {})
    -  if @api_client.config.debugging
    -    @api_client.config.logger.debug 'Calling API: ExternalAddressesApi.list_external_address_balances ...'
    -  end
    -  # verify the required parameter 'network_id' is set
    -  if @api_client.config.client_side_validation && network_id.nil?
    -    fail ArgumentError, "Missing the required parameter 'network_id' when calling ExternalAddressesApi.list_external_address_balances"
    -  end
    -  # verify the required parameter 'address_id' is set
    -  if @api_client.config.client_side_validation && address_id.nil?
    -    fail ArgumentError, "Missing the required parameter 'address_id' when calling ExternalAddressesApi.list_external_address_balances"
    -  end
    -  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000
    -    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ExternalAddressesApi.list_external_address_balances, the character length must be smaller than or equal to 5000.'
    -  end
    -
    -  # resource path
    -  local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/balances'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s))
    -
    -  # query parameters
    -  query_params = opts[:query_params] || {}
    -  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
    -
    -  # header parameters
    -  header_params = opts[:header_params] || {}
    -  # HTTP header 'Accept' (if needed)
    -  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
    -
    -  # form parameters
    -  form_params = opts[:form_params] || {}
    -
    -  # http body (model)
    -  post_body = opts[:debug_body]
    -
    -  # return_type
    -  return_type = opts[:debug_return_type] || 'AddressBalanceList'
    -
    -  # auth_names
    -  auth_names = opts[:debug_auth_names] || []
    -
    -  new_options = opts.merge(
    -    :operation => :"ExternalAddressesApi.list_external_address_balances",
    -    :header_params => header_params,
    -    :query_params => query_params,
    -    :form_params => form_params,
    -    :body => post_body,
    -    :auth_names => auth_names,
    -    :return_type => return_type
    -  )
    -
    -  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
    -  if @api_client.config.debugging
    -    @api_client.config.logger.debug "API called: ExternalAddressesApi#list_external_address_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    -  end
    -  return data, status_code, headers
    -end
    -
    -
    - -
    -

    - - #request_external_faucet_funds(network_id, address_id, opts = {}) ⇒ FaucetTransaction - - - - - -

    -
    - -

    Request faucet funds for external address. Request faucet funds to be sent to external address.

    - - -
    -
    -
    -

    Parameters:

    -
      - -
    • - - network_id - - - (String) - - - - — -
      -

      The ID of the wallet the address belongs to.

      -
      - -
    • - -
    • - - address_id - - - (String) - - - - — -
      -

      The onchain address of the address that is being fetched.

      -
      - -
    • - -
    • - - opts - - - (Hash) - - - (defaults to: {}) - - - — -
      -

      the optional parameters

      -
      - -
    • - -
    - - - - - - - - -

    Options Hash (opts):

    -
      - -
    • - :asset_id - (String) - - - - - —
      -

      The ID of the asset to transfer from the faucet.

      -
      - -
    • - -
    - - -

    Returns:

    - - -
    - - - - -
    -
    -
    -
    -344
    -345
    -346
    -347
    -
    -
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 344
    -
    -def request_external_faucet_funds(network_id, address_id, opts = {})
    -  data, _status_code, _headers = request_external_faucet_funds_with_http_info(network_id, address_id, opts)
    -  data
    -end
    -
    -
    - -
    -

    - - #request_external_faucet_funds_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(FaucetTransaction, Integer, Hash)> - - - - - -

    -
    - -

    Request faucet funds for external address. Request faucet funds to be sent to external address.

    - - -
    -
    -
    -

    Parameters:

    -
      - -
    • - - network_id - - - (String) - - - - — -
      -

      The ID of the wallet the address belongs to.

      -
      - -
    • - -
    • - - address_id - - - (String) - - - - — -
      -

      The onchain address of the address that is being fetched.

      -
      - -
    • - -
    • - - opts - - - (Hash) - - - (defaults to: {}) - - - — -
      -

      the optional parameters

      -
      - -
    • - -
    - - - - - - - - -

    Options Hash (opts):

    -
      - -
    • - :asset_id - (String) - - - - - —
      -

      The ID of the asset to transfer from the faucet.

      -
      - -
    • - -
    - - -

    Returns:

    -
      - -
    • - - - (Array<(FaucetTransaction, Integer, Hash)>) - - - - — -
      -

      FaucetTransaction data, response status code and response headers

      -
      - -
    • - -
    - -
    - - @@ -342,12 +352,12 @@

     
     
    -33
    -34
    -35
    +35 +36 +37

    @@ -1589,30 +1669,22 @@

     
     
    -83
    -84
    -85
    -86
    -87
    -88
     89
     90
     91
     92
     93
     94
    -95
    +95 +96 +97

    @@ -2106,14 +2190,14 @@

     
     
    -155
    -156
    -157
    -158
    -159
    +163 +164 +165 +166 +167

    @@ -327,12 +332,12 @@

     
     
    -30
     31
    -32
    +32 +33

    @@ -563,9 +629,9 @@

    -

    +

    - #create_webhook_with_http_info(opts = {}) ⇒ Array<(Webhook, Integer, Hash)> + #create_wallet_webhook_with_http_info(wallet_id, opts = {}) ⇒ Array<(Webhook, Integer, Hash)> @@ -574,7 +640,7 @@

    -

    Create a new webhook Create a new webhook

    +

    Create a new webhook scoped to a wallet Create a new webhook scoped to a wallet

    @@ -583,6 +649,22 @@

    Parameters:

      +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet to create the webhook for.

      +
      + +
    • +
    • opts @@ -606,12 +688,14 @@

      + +

      Options Hash (opts):

    @@ -846,9 +940,9 @@

    -

    +

    - #delete_webhook_with_http_info(webhook_id, opts = {}) ⇒ Array<(nil, Integer, Hash)> + #create_webhook_with_http_info(opts = {}) ⇒ Array<(Webhook, Integer, Hash)> @@ -857,7 +951,7 @@

    -

    Delete a webhook Delete a webhook

    +

    Create a new webhook Create a new webhook

    @@ -866,22 +960,6 @@

    Parameters:

      -
    • - - webhook_id - - - (String) - - - - — -
      -

      The Webhook uuid that needs to be deleted

      -
      - -
    • -
    • opts @@ -902,19 +980,37 @@

    + + + +

    Options Hash (opts):

    + + +

    Returns:

    • - (Array<(nil, Integer, Hash)>) + (Array<(Webhook, Integer, Hash)>)
      -

      nil, response status code and response headers

      +

      Webhook data, response status code and response headers

    • @@ -927,12 +1023,6 @@

       
       
      -101
      -102
      -103
      -104
      -105
      -106
       107
       108
       109
      @@ -973,21 +1063,24 @@ 

      144 145 146 -147

      +147 +148 +149 +150 +151 +152 +153 +154

    -
    -
    -
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
    -391
    -392
    -393
    -394
    -395
    -396
    -397
    -398
    -399
    -400
    -401
    -402
    -403
    -404
    -405
    -406
    -407
    +243
    -
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 356
    +      
    # File 'lib/coinbase/client/api/external_addresses_api.rb', line 192
     
     def request_external_faucet_funds_with_http_info(network_id, address_id, opts = {})
       if @api_client.config.debugging
    @@ -2454,7 +1496,7 @@ 

    + + + Class: Coinbase::Client::MultiTokenContractOptions + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::MultiTokenContractOptions + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/multi_token_contract_options.rb
    +
    + +
    + +

    Overview

    +
    + +

    Options for multi-token contract creation

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #uri ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The URI for all token metadata.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ MultiTokenContractOptions + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 49
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::MultiTokenContractOptions` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::MultiTokenContractOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'uri')
    +    self.uri = attributes[:'uri']
    +  else
    +    self.uri = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #uriObject + + + + + +

    +
    + +

    The URI for all token metadata

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 20
    +
    +def uri
    +  @uri
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 136
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +30
    +31
    +32
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 30
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +26
    +27
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 23
    +
    +def self.attribute_map
    +  {
    +    :'uri' => :'uri'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 112
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +42
    +43
    +44
    +45
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 42
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +35
    +36
    +37
    +38
    +39
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 35
    +
    +def self.openapi_types
    +  {
    +    :'uri' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +91
    +92
    +93
    +94
    +95
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 91
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      uri == o.uri
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 207
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +99
    +100
    +101
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 99
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +105
    +106
    +107
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 105
    +
    +def hash
    +  [uri].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 71
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @uri.nil?
    +    invalid_properties.push('invalid value for "uri", uri cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +183
    +184
    +185
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 183
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 189
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +177
    +178
    +179
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 177
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +83
    +84
    +85
    +86
    +87
    +
    +
    # File 'lib/coinbase/client/models/multi_token_contract_options.rb', line 83
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @uri.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/NFTContractOptions.html b/docs/Coinbase/Client/NFTContractOptions.html new file mode 100644 index 00000000..a14eeab5 --- /dev/null +++ b/docs/Coinbase/Client/NFTContractOptions.html @@ -0,0 +1,2004 @@ + + + + + + + Class: Coinbase::Client::NFTContractOptions + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::NFTContractOptions + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/nft_contract_options.rb
    +
    + +
    + +

    Overview

    +
    + +

    Options for NFT contract creation

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #base_uri ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The base URI for the NFT metadata.

      +
      + +
    • + + +
    • + + + #name ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The name of the NFT.

      +
      + +
    • + + +
    • + + + #symbol ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The symbol of the NFT.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ NFTContractOptions + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 59
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::NFTContractOptions` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::NFTContractOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'name')
    +    self.name = attributes[:'name']
    +  else
    +    self.name = nil
    +  end
    +
    +  if attributes.key?(:'symbol')
    +    self.symbol = attributes[:'symbol']
    +  else
    +    self.symbol = nil
    +  end
    +
    +  if attributes.key?(:'base_uri')
    +    self.base_uri = attributes[:'base_uri']
    +  else
    +    self.base_uri = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #base_uriObject + + + + + +

    +
    + +

    The base URI for the NFT metadata

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 26
    +
    +def base_uri
    +  @base_uri
    +end
    +
    +
    + + + +
    +

    + + #nameObject + + + + + +

    +
    + +

    The name of the NFT

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 20
    +
    +def name
    +  @name
    +end
    +
    +
    + + + +
    +

    + + #symbolObject + + + + + +

    +
    + +

    The symbol of the NFT

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 23
    +
    +def symbol
    +  @symbol
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 170
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 38
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 29
    +
    +def self.attribute_map
    +  {
    +    :'name' => :'name',
    +    :'symbol' => :'symbol',
    +    :'base_uri' => :'base_uri'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 146
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +52
    +53
    +54
    +55
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 52
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 43
    +
    +def self.openapi_types
    +  {
    +    :'name' => :'String',
    +    :'symbol' => :'String',
    +    :'base_uri' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 123
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      name == o.name &&
    +      symbol == o.symbol &&
    +      base_uri == o.base_uri
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 241
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +133
    +134
    +135
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 133
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +139
    +140
    +141
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 139
    +
    +def hash
    +  [name, symbol, base_uri].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 93
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @name.nil?
    +    invalid_properties.push('invalid value for "name", name cannot be nil.')
    +  end
    +
    +  if @symbol.nil?
    +    invalid_properties.push('invalid value for "symbol", symbol cannot be nil.')
    +  end
    +
    +  if @base_uri.nil?
    +    invalid_properties.push('invalid value for "base_uri", base_uri cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +217
    +218
    +219
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 217
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 223
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +211
    +212
    +213
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 211
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +
    +
    # File 'lib/coinbase/client/models/nft_contract_options.rb', line 113
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @name.nil?
    +  return false if @symbol.nil?
    +  return false if @base_uri.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/NetworkIdentifier.html b/docs/Coinbase/Client/NetworkIdentifier.html index ddfc12c5..5f7dbbc3 100644 --- a/docs/Coinbase/Client/NetworkIdentifier.html +++ b/docs/Coinbase/Client/NetworkIdentifier.html @@ -138,6 +138,16 @@

    "solana-devnet".freeze
    +
    SOLANA_MAINNET = + +
    +
    "solana-mainnet".freeze
    + +
    ARBITRUM_MAINNET = + +
    +
    "arbitrum-mainnet".freeze
    +
    UNKNOWN_DEFAULT_OPEN_API =
    @@ -263,15 +273,15 @@

     
     
    -26
    -27
    -28
    +28 +29 +30

    -
    # File 'lib/coinbase/client/models/network_identifier.rb', line 26
    +      
    # File 'lib/coinbase/client/models/network_identifier.rb', line 28
     
     def self.all_vars
    -  @all_vars ||= [BASE_SEPOLIA, BASE_MAINNET, ETHEREUM_HOLESKY, ETHEREUM_MAINNET, POLYGON_MAINNET, SOLANA_DEVNET, UNKNOWN_DEFAULT_OPEN_API].freeze
    +  @all_vars ||= [BASE_SEPOLIA, BASE_MAINNET, ETHEREUM_HOLESKY, ETHEREUM_MAINNET, POLYGON_MAINNET, SOLANA_DEVNET, SOLANA_MAINNET, ARBITRUM_MAINNET, UNKNOWN_DEFAULT_OPEN_API].freeze
     end
    -
    # File 'lib/coinbase/client/models/network_identifier.rb', line 33
    +      
    # File 'lib/coinbase/client/models/network_identifier.rb', line 35
     
     def self.build_from_hash(value)
       new.build_from_hash(value)
    @@ -427,13 +437,13 @@ 

     
     
    -40
    -41
     42
    -43
    +43 +44 +45

    -
    # File 'lib/coinbase/client/models/network_identifier.rb', line 40
    +      
    # File 'lib/coinbase/client/models/network_identifier.rb', line 42
     
     def build_from_hash(value)
       return value if NetworkIdentifier.all_vars.include?(value)
    diff --git a/docs/Coinbase/Client/NetworksApi.html b/docs/Coinbase/Client/NetworksApi.html
    index 2d065636..d3136bb0 100644
    --- a/docs/Coinbase/Client/NetworksApi.html
    +++ b/docs/Coinbase/Client/NetworksApi.html
    @@ -566,7 +566,7 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/ServerSignersApi.html b/docs/Coinbase/Client/ServerSignersApi.html index c9a445f6..3c06a5ba 100644 --- a/docs/Coinbase/Client/ServerSignersApi.html +++ b/docs/Coinbase/Client/ServerSignersApi.html @@ -807,7 +807,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1091,7 +1091,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1456,7 +1456,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -2101,7 +2101,7 @@

    + + + Class: Coinbase::Client::SmartContract + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::SmartContract + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/smart_contract.rb
    +
    + +
    + +

    Overview

    +
    + +

    Represents a smart contract on the blockchain

    + + +
    +
    +
    + + +

    Defined Under Namespace

    +

    + + + + + Classes: EnumAttributeValidator + + +

    + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #abi ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The JSON-encoded ABI of the contract.

      +
      + +
    • + + +
    • + + + #contract_address ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The EVM address of the smart contract.

      +
      + +
    • + + +
    • + + + #deployer_address ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The EVM address of the account that deployed the smart contract.

      +
      + +
    • + + +
    • + + + #network_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The name of the blockchain network.

      +
      + +
    • + + +
    • + + + #options ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute options.

      +
      + +
    • + + +
    • + + + #smart_contract_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The unique identifier of the smart contract.

      +
      + +
    • + + +
    • + + + #transaction ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute transaction.

      +
      + +
    • + + +
    • + + + #type ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute type.

      +
      + +
    • + + +
    • + + + #wallet_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The ID of the wallet that deployed the smart contract.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ SmartContract + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 108
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::SmartContract` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::SmartContract`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'smart_contract_id')
    +    self.smart_contract_id = attributes[:'smart_contract_id']
    +  else
    +    self.smart_contract_id = nil
    +  end
    +
    +  if attributes.key?(:'network_id')
    +    self.network_id = attributes[:'network_id']
    +  else
    +    self.network_id = nil
    +  end
    +
    +  if attributes.key?(:'wallet_id')
    +    self.wallet_id = attributes[:'wallet_id']
    +  else
    +    self.wallet_id = nil
    +  end
    +
    +  if attributes.key?(:'contract_address')
    +    self.contract_address = attributes[:'contract_address']
    +  else
    +    self.contract_address = nil
    +  end
    +
    +  if attributes.key?(:'deployer_address')
    +    self.deployer_address = attributes[:'deployer_address']
    +  else
    +    self.deployer_address = nil
    +  end
    +
    +  if attributes.key?(:'type')
    +    self.type = attributes[:'type']
    +  else
    +    self.type = nil
    +  end
    +
    +  if attributes.key?(:'options')
    +    self.options = attributes[:'options']
    +  else
    +    self.options = nil
    +  end
    +
    +  if attributes.key?(:'abi')
    +    self.abi = attributes[:'abi']
    +  else
    +    self.abi = nil
    +  end
    +
    +  if attributes.key?(:'transaction')
    +    self.transaction = attributes[:'transaction']
    +  else
    +    self.transaction = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #abiObject + + + + + +

    +
    + +

    The JSON-encoded ABI of the contract

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +39
    +40
    +41
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 39
    +
    +def abi
    +  @abi
    +end
    +
    +
    + + + +
    +

    + + #contract_addressObject + + + + + +

    +
    + +

    The EVM address of the smart contract

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 29
    +
    +def contract_address
    +  @contract_address
    +end
    +
    +
    + + + +
    +

    + + #deployer_addressObject + + + + + +

    +
    + +

    The EVM address of the account that deployed the smart contract

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +32
    +33
    +34
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 32
    +
    +def deployer_address
    +  @deployer_address
    +end
    +
    +
    + + + +
    +

    + + #network_idObject + + + + + +

    +
    + +

    The name of the blockchain network

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 23
    +
    +def network_id
    +  @network_id
    +end
    +
    +
    + + + +
    +

    + + #optionsObject + + + + + +

    +
    + +

    Returns the value of attribute options.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +36
    +37
    +38
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 36
    +
    +def options
    +  @options
    +end
    +
    +
    + + + +
    +

    + + #smart_contract_idObject + + + + + +

    +
    + +

    The unique identifier of the smart contract

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 20
    +
    +def smart_contract_id
    +  @smart_contract_id
    +end
    +
    +
    + + + +
    +

    + + #transactionObject + + + + + +

    +
    + +

    Returns the value of attribute transaction.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 41
    +
    +def transaction
    +  @transaction
    +end
    +
    +
    + + + +
    +

    + + #typeObject + + + + + +

    +
    + +

    Returns the value of attribute type.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +34
    +35
    +36
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 34
    +
    +def type
    +  @type
    +end
    +
    +
    + + + +
    +

    + + #wallet_idObject + + + + + +

    +
    + +

    The ID of the wallet that deployed the smart contract

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 26
    +
    +def wallet_id
    +  @wallet_id
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +291
    +292
    +293
    +294
    +295
    +296
    +297
    +298
    +299
    +300
    +301
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +315
    +316
    +317
    +318
    +319
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 291
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +81
    +82
    +83
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 81
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 66
    +
    +def self.attribute_map
    +  {
    +    :'smart_contract_id' => :'smart_contract_id',
    +    :'network_id' => :'network_id',
    +    :'wallet_id' => :'wallet_id',
    +    :'contract_address' => :'contract_address',
    +    :'deployer_address' => :'deployer_address',
    +    :'type' => :'type',
    +    :'options' => :'options',
    +    :'abi' => :'abi',
    +    :'transaction' => :'transaction'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 267
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +101
    +102
    +103
    +104
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 101
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 86
    +
    +def self.openapi_types
    +  {
    +    :'smart_contract_id' => :'String',
    +    :'network_id' => :'String',
    +    :'wallet_id' => :'String',
    +    :'contract_address' => :'String',
    +    :'deployer_address' => :'String',
    +    :'type' => :'SmartContractType',
    +    :'options' => :'SmartContractOptions',
    +    :'abi' => :'String',
    +    :'transaction' => :'Transaction'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 238
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      smart_contract_id == o.smart_contract_id &&
    +      network_id == o.network_id &&
    +      wallet_id == o.wallet_id &&
    +      contract_address == o.contract_address &&
    +      deployer_address == o.deployer_address &&
    +      type == o.type &&
    +      options == o.options &&
    +      abi == o.abi &&
    +      transaction == o.transaction
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +362
    +363
    +364
    +365
    +366
    +367
    +368
    +369
    +370
    +371
    +372
    +373
    +374
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 362
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +254
    +255
    +256
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 254
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +260
    +261
    +262
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 260
    +
    +def hash
    +  [smart_contract_id, network_id, wallet_id, contract_address, deployer_address, type, options, abi, transaction].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 178
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @smart_contract_id.nil?
    +    invalid_properties.push('invalid value for "smart_contract_id", smart_contract_id cannot be nil.')
    +  end
    +
    +  if @network_id.nil?
    +    invalid_properties.push('invalid value for "network_id", network_id cannot be nil.')
    +  end
    +
    +  if @wallet_id.nil?
    +    invalid_properties.push('invalid value for "wallet_id", wallet_id cannot be nil.')
    +  end
    +
    +  if @contract_address.nil?
    +    invalid_properties.push('invalid value for "contract_address", contract_address cannot be nil.')
    +  end
    +
    +  if @deployer_address.nil?
    +    invalid_properties.push('invalid value for "deployer_address", deployer_address cannot be nil.')
    +  end
    +
    +  if @type.nil?
    +    invalid_properties.push('invalid value for "type", type cannot be nil.')
    +  end
    +
    +  if @options.nil?
    +    invalid_properties.push('invalid value for "options", options cannot be nil.')
    +  end
    +
    +  if @abi.nil?
    +    invalid_properties.push('invalid value for "abi", abi cannot be nil.')
    +  end
    +
    +  if @transaction.nil?
    +    invalid_properties.push('invalid value for "transaction", transaction cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +338
    +339
    +340
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 338
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +344
    +345
    +346
    +347
    +348
    +349
    +350
    +351
    +352
    +353
    +354
    +355
    +356
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 344
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +332
    +333
    +334
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 332
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 222
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @smart_contract_id.nil?
    +  return false if @network_id.nil?
    +  return false if @wallet_id.nil?
    +  return false if @contract_address.nil?
    +  return false if @deployer_address.nil?
    +  return false if @type.nil?
    +  return false if @options.nil?
    +  return false if @abi.nil?
    +  return false if @transaction.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/SmartContract/EnumAttributeValidator.html b/docs/Coinbase/Client/SmartContract/EnumAttributeValidator.html new file mode 100644 index 00000000..11b43e6c --- /dev/null +++ b/docs/Coinbase/Client/SmartContract/EnumAttributeValidator.html @@ -0,0 +1,453 @@ + + + + + + + Class: Coinbase::Client::SmartContract::EnumAttributeValidator + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::SmartContract::EnumAttributeValidator + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/smart_contract.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #allowable_values ⇒ Object + + + + + + + + + readonly + + + + + + + + + +
      +

      Returns the value of attribute allowable_values.

      +
      + +
    • + + +
    • + + + #datatype ⇒ Object + + + + + + + + + readonly + + + + + + + + + +
      +

      Returns the value of attribute datatype.

      +
      + +
    • + + +
    + + + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(datatype, allowable_values) ⇒ EnumAttributeValidator + + + + + +

    +
    + +

    Returns a new instance of EnumAttributeValidator.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 47
    +
    +def initialize(datatype, allowable_values)
    +  @allowable_values = allowable_values.map do |value|
    +    case datatype.to_s
    +    when /Integer/i
    +      value.to_i
    +    when /Float/i
    +      value.to_f
    +    else
    +      value
    +    end
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #allowable_valuesObject (readonly) + + + + + +

    +
    + +

    Returns the value of attribute allowable_values.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +45
    +46
    +47
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 45
    +
    +def allowable_values
    +  @allowable_values
    +end
    +
    +
    + + + +
    +

    + + #datatypeObject (readonly) + + + + + +

    +
    + +

    Returns the value of attribute datatype.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +44
    +45
    +46
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 44
    +
    +def datatype
    +  @datatype
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #valid?(value) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +60
    +61
    +62
    +
    +
    # File 'lib/coinbase/client/models/smart_contract.rb', line 60
    +
    +def valid?(value)
    +  !value || allowable_values.include?(value)
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/SmartContractList.html b/docs/Coinbase/Client/SmartContractList.html new file mode 100644 index 00000000..582095e3 --- /dev/null +++ b/docs/Coinbase/Client/SmartContractList.html @@ -0,0 +1,1997 @@ + + + + + + + Class: Coinbase::Client::SmartContractList + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::SmartContractList + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/smart_contract_list.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #data ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute data.

      +
      + +
    • + + +
    • + + + #has_more ⇒ Object + + + + + + + + + + + + + + + + +
      +

      True if this list has another page of items after this one that can be fetched.

      +
      + +
    • + + +
    • + + + #next_page ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The page token to be used to fetch the next page.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ SmartContractList + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 57
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::SmartContractList` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::SmartContractList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'data')
    +    if (value = attributes[:'data']).is_a?(Array)
    +      self.data = value
    +    end
    +  else
    +    self.data = nil
    +  end
    +
    +  if attributes.key?(:'has_more')
    +    self.has_more = attributes[:'has_more']
    +  else
    +    self.has_more = nil
    +  end
    +
    +  if attributes.key?(:'next_page')
    +    self.next_page = attributes[:'next_page']
    +  else
    +    self.next_page = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #dataObject + + + + + +

    +
    + +

    Returns the value of attribute data.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +18
    +19
    +20
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 18
    +
    +def data
    +  @data
    +end
    +
    +
    + + + +
    +

    + + #has_moreObject + + + + + +

    +
    + +

    True if this list has another page of items after this one that can be fetched.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +21
    +22
    +23
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 21
    +
    +def has_more
    +  @has_more
    +end
    +
    +
    + + + +
    +

    + + #next_pageObject + + + + + +

    +
    + +

    The page token to be used to fetch the next page.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +24
    +25
    +26
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 24
    +
    +def next_page
    +  @next_page
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 170
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +36
    +37
    +38
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 36
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 27
    +
    +def self.attribute_map
    +  {
    +    :'data' => :'data',
    +    :'has_more' => :'has_more',
    +    :'next_page' => :'next_page'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 146
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +50
    +51
    +52
    +53
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 50
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 41
    +
    +def self.openapi_types
    +  {
    +    :'data' => :'Array<SmartContract>',
    +    :'has_more' => :'Boolean',
    +    :'next_page' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 123
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      data == o.data &&
    +      has_more == o.has_more &&
    +      next_page == o.next_page
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 241
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +133
    +134
    +135
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 133
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +139
    +140
    +141
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 139
    +
    +def hash
    +  [data, has_more, next_page].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 93
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @data.nil?
    +    invalid_properties.push('invalid value for "data", data cannot be nil.')
    +  end
    +
    +  if @has_more.nil?
    +    invalid_properties.push('invalid value for "has_more", has_more cannot be nil.')
    +  end
    +
    +  if @next_page.nil?
    +    invalid_properties.push('invalid value for "next_page", next_page cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +217
    +218
    +219
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 217
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 223
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +211
    +212
    +213
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 211
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_list.rb', line 113
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @data.nil?
    +  return false if @has_more.nil?
    +  return false if @next_page.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/SmartContractOptions.html b/docs/Coinbase/Client/SmartContractOptions.html new file mode 100644 index 00000000..031b061d --- /dev/null +++ b/docs/Coinbase/Client/SmartContractOptions.html @@ -0,0 +1,339 @@ + + + + + + + Module: Coinbase::Client::SmartContractOptions + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Module: Coinbase::Client::SmartContractOptions + + + +

    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/smart_contract_options.rb
    +
    + +
    + +

    Overview

    +
    + +

    Options for smart contract creation

    + + +
    +
    +
    + + +
    + + + + + + + +

    + Class Method Summary + collapse +

    + + + + + + +
    +

    Class Method Details

    + + +
    +

    + + .build(data) ⇒ Object + + + + + +

    +
    + +

    Builds the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Data + + + (Mixed) + + + + — +
      +

      to be matched against the list of oneOf items

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model or the data itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_options.rb', line 32
    +
    +def build(data)
    +  # Go through the list of oneOf items and attempt to identify the appropriate one.
    +  # Note:
    +  # - We do not attempt to check whether exactly one item matches.
    +  # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
    +  #   due to the way the deserialization is made in the base_object template (it just casts without verifying).
    +  # - TODO: scalar values are de facto behaving as if they were nullable.
    +  # - TODO: logging when debugging is set.
    +  openapi_one_of.each do |klass|
    +    begin
    +      next if klass == :AnyType # "nullable: true"
    +      typed_data = find_and_cast_into_type(klass, data)
    +      return typed_data if typed_data
    +    rescue # rescue all errors so we keep iterating even if the current item lookup raises
    +    end
    +  end
    +
    +  openapi_one_of.include?(:AnyType) ? data : nil
    +end
    +
    +
    + +
    +

    + + .openapi_one_ofObject + + + + + +

    +
    + +

    List of class defined in oneOf (OpenAPI v3)

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_options.rb', line 21
    +
    +def openapi_one_of
    +  [
    +    :'MultiTokenContractOptions',
    +    :'NFTContractOptions',
    +    :'TokenContractOptions'
    +  ]
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/SmartContractType.html b/docs/Coinbase/Client/SmartContractType.html new file mode 100644 index 00000000..8d5d4812 --- /dev/null +++ b/docs/Coinbase/Client/SmartContractType.html @@ -0,0 +1,442 @@ + + + + + + + Class: Coinbase::Client::SmartContractType + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::SmartContractType + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/smart_contract_type.rb
    +
    + +
    + + + +

    + Constant Summary + collapse +

    + +
    + +
    ERC20 = + +
    +
    "erc20".freeze
    + +
    ERC721 = + +
    +
    "erc721".freeze
    + +
    ERC1155 = + +
    +
    "erc1155".freeze
    + +
    UNKNOWN_DEFAULT_OPEN_API = + +
    +
    "unknown_default_open_api".freeze
    + +
    + + + + + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + + + +
    +

    Class Method Details

    + + +
    +

    + + .all_varsObject + + + + + +

    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_type.rb', line 23
    +
    +def self.all_vars
    +  @all_vars ||= [ERC20, ERC721, ERC1155, UNKNOWN_DEFAULT_OPEN_API].freeze
    +end
    +
    +
    + +
    +

    + + .build_from_hash(value) ⇒ String + + + + + +

    +
    + +

    Builds the enum from string

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + The + + + (String) + + + + — +
      +

      enum value in the form of the string

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The enum value

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +30
    +31
    +32
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_type.rb', line 30
    +
    +def self.build_from_hash(value)
    +  new.build_from_hash(value)
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #build_from_hash(value) ⇒ String + + + + + +

    +
    + +

    Builds the enum from string

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + The + + + (String) + + + + — +
      +

      enum value in the form of the string

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The enum value

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +37
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/client/models/smart_contract_type.rb', line 37
    +
    +def build_from_hash(value)
    +  return value if SmartContractType.all_vars.include?(value)
    +  raise "Invalid ENUM value #{value} for class #SmartContractType"
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/SmartContractsApi.html b/docs/Coinbase/Client/SmartContractsApi.html new file mode 100644 index 00000000..41fd2aed --- /dev/null +++ b/docs/Coinbase/Client/SmartContractsApi.html @@ -0,0 +1,1915 @@ + + + + + + + Class: Coinbase::Client::SmartContractsApi + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::SmartContractsApi + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/api/smart_contracts_api.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #api_client ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute api_client.

      +
      + +
    • + + +
    + + + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(api_client = ApiClient.default) ⇒ SmartContractsApi + + + + + +

    +
    + +

    Returns a new instance of SmartContractsApi.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +19
    +20
    +21
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 19
    +
    +def initialize(api_client = ApiClient.default)
    +  @api_client = api_client
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #api_clientObject + + + + + +

    +
    + +

    Returns the value of attribute api_client.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +17
    +18
    +19
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 17
    +
    +def api_client
    +  @api_client
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #create_smart_contract(wallet_id, address_id, create_smart_contract_request, opts = {}) ⇒ SmartContract + + + + + +

    +
    + +

    Create a new smart contract Create a new smart contract

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to deploy the smart contract from.

      +
      + +
    • + +
    • + + create_smart_contract_request + + + (CreateSmartContractRequest) + + + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +32
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 29
    +
    +def create_smart_contract(wallet_id, address_id, create_smart_contract_request, opts = {})
    +  data, _status_code, _headers = create_smart_contract_with_http_info(wallet_id, address_id, create_smart_contract_request, opts)
    +  data
    +end
    +
    +
    + +
    +

    + + #create_smart_contract_with_http_info(wallet_id, address_id, create_smart_contract_request, opts = {}) ⇒ Array<(SmartContract, Integer, Hash)> + + + + + +

    +
    + +

    Create a new smart contract Create a new smart contract

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to deploy the smart contract from.

      +
      + +
    • + +
    • + + create_smart_contract_request + + + (CreateSmartContractRequest) + + + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Array<(SmartContract, Integer, Hash)>) + + + + — +
      +

      SmartContract data, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 41
    +
    +def create_smart_contract_with_http_info(wallet_id, address_id, create_smart_contract_request, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: SmartContractsApi.create_smart_contract ...'
    +  end
    +  # verify the required parameter 'wallet_id' is set
    +  if @api_client.config.client_side_validation && wallet_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'wallet_id' when calling SmartContractsApi.create_smart_contract"
    +  end
    +  # verify the required parameter 'address_id' is set
    +  if @api_client.config.client_side_validation && address_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'address_id' when calling SmartContractsApi.create_smart_contract"
    +  end
    +  # verify the required parameter 'create_smart_contract_request' is set
    +  if @api_client.config.client_side_validation && create_smart_contract_request.nil?
    +    fail ArgumentError, "Missing the required parameter 'create_smart_contract_request' when calling SmartContractsApi.create_smart_contract"
    +  end
    +  # resource path
    +  local_var_path = '/v1/wallets/{wallet_id}/addresses/{address_id}/smart_contracts'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +  # HTTP header 'Content-Type'
    +  content_type = @api_client.select_header_content_type(['application/json'])
    +  if !content_type.nil?
    +      header_params['Content-Type'] = content_type
    +  end
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body] || @api_client.object_to_http_body(create_smart_contract_request)
    +
    +  # return_type
    +  return_type = opts[:debug_return_type] || 'SmartContract'
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"SmartContractsApi.create_smart_contract",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: SmartContractsApi#create_smart_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    +

    + + #deploy_smart_contract(wallet_id, address_id, smart_contract_id, deploy_smart_contract_request, opts = {}) ⇒ SmartContract + + + + + +

    +
    + +

    Deploy a smart contract Deploys a smart contract, by broadcasting the transaction to the network.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to broadcast the transaction from.

      +
      + +
    • + +
    • + + smart_contract_id + + + (String) + + + + — +
      +

      The UUID of the smart contract to broadcast the transaction to.

      +
      + +
    • + +
    • + + deploy_smart_contract_request + + + (DeploySmartContractRequest) + + + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +110
    +111
    +112
    +113
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 110
    +
    +def deploy_smart_contract(wallet_id, address_id, smart_contract_id, deploy_smart_contract_request, opts = {})
    +  data, _status_code, _headers = deploy_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, deploy_smart_contract_request, opts)
    +  data
    +end
    +
    +
    + +
    +

    + + #deploy_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, deploy_smart_contract_request, opts = {}) ⇒ Array<(SmartContract, Integer, Hash)> + + + + + +

    +
    + +

    Deploy a smart contract Deploys a smart contract, by broadcasting the transaction to the network.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to broadcast the transaction from.

      +
      + +
    • + +
    • + + smart_contract_id + + + (String) + + + + — +
      +

      The UUID of the smart contract to broadcast the transaction to.

      +
      + +
    • + +
    • + + deploy_smart_contract_request + + + (DeploySmartContractRequest) + + + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Array<(SmartContract, Integer, Hash)>) + + + + — +
      +

      SmartContract data, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 123
    +
    +def deploy_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, deploy_smart_contract_request, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: SmartContractsApi.deploy_smart_contract ...'
    +  end
    +  # verify the required parameter 'wallet_id' is set
    +  if @api_client.config.client_side_validation && wallet_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'wallet_id' when calling SmartContractsApi.deploy_smart_contract"
    +  end
    +  # verify the required parameter 'address_id' is set
    +  if @api_client.config.client_side_validation && address_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'address_id' when calling SmartContractsApi.deploy_smart_contract"
    +  end
    +  # verify the required parameter 'smart_contract_id' is set
    +  if @api_client.config.client_side_validation && smart_contract_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'smart_contract_id' when calling SmartContractsApi.deploy_smart_contract"
    +  end
    +  # verify the required parameter 'deploy_smart_contract_request' is set
    +  if @api_client.config.client_side_validation && deploy_smart_contract_request.nil?
    +    fail ArgumentError, "Missing the required parameter 'deploy_smart_contract_request' when calling SmartContractsApi.deploy_smart_contract"
    +  end
    +  # resource path
    +  local_var_path = '/v1/wallets/{wallet_id}/addresses/{address_id}/smart_contracts/{smart_contract_id}/deploy'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)).sub('{' + 'smart_contract_id' + '}', CGI.escape(smart_contract_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +  # HTTP header 'Content-Type'
    +  content_type = @api_client.select_header_content_type(['application/json'])
    +  if !content_type.nil?
    +      header_params['Content-Type'] = content_type
    +  end
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body] || @api_client.object_to_http_body(deploy_smart_contract_request)
    +
    +  # return_type
    +  return_type = opts[:debug_return_type] || 'SmartContract'
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"SmartContractsApi.deploy_smart_contract",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: SmartContractsApi#deploy_smart_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    +

    + + #get_smart_contract(wallet_id, address_id, smart_contract_id, opts = {}) ⇒ SmartContract + + + + + +

    +
    + +

    Get a specific smart contract deployed by address Get a specific smart contract deployed by address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the smart contract for.

      +
      + +
    • + +
    • + + smart_contract_id + + + (String) + + + + — +
      +

      The UUID of the smart contract to fetch.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +195
    +196
    +197
    +198
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 195
    +
    +def get_smart_contract(wallet_id, address_id, smart_contract_id, opts = {})
    +  data, _status_code, _headers = get_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, opts)
    +  data
    +end
    +
    +
    + +
    +

    + + #get_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, opts = {}) ⇒ Array<(SmartContract, Integer, Hash)> + + + + + +

    +
    + +

    Get a specific smart contract deployed by address Get a specific smart contract deployed by address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the smart contract for.

      +
      + +
    • + +
    • + + smart_contract_id + + + (String) + + + + — +
      +

      The UUID of the smart contract to fetch.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Array<(SmartContract, Integer, Hash)>) + + + + — +
      +

      SmartContract data, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 207
    +
    +def get_smart_contract_with_http_info(wallet_id, address_id, smart_contract_id, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: SmartContractsApi.get_smart_contract ...'
    +  end
    +  # verify the required parameter 'wallet_id' is set
    +  if @api_client.config.client_side_validation && wallet_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'wallet_id' when calling SmartContractsApi.get_smart_contract"
    +  end
    +  # verify the required parameter 'address_id' is set
    +  if @api_client.config.client_side_validation && address_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'address_id' when calling SmartContractsApi.get_smart_contract"
    +  end
    +  # verify the required parameter 'smart_contract_id' is set
    +  if @api_client.config.client_side_validation && smart_contract_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'smart_contract_id' when calling SmartContractsApi.get_smart_contract"
    +  end
    +  # resource path
    +  local_var_path = '/v1/wallets/{wallet_id}/addresses/{address_id}/smart_contracts/{smart_contract_id}'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)).sub('{' + 'smart_contract_id' + '}', CGI.escape(smart_contract_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body]
    +
    +  # return_type
    +  return_type = opts[:debug_return_type] || 'SmartContract'
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"SmartContractsApi.get_smart_contract",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: SmartContractsApi#get_smart_contract\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    +

    + + #list_smart_contracts(wallet_id, address_id, opts = {}) ⇒ SmartContractList + + + + + +

    +
    + +

    List smart contracts deployed by address List all smart contracts deployed by address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the smart contracts for.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +269
    +270
    +271
    +272
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 269
    +
    +def list_smart_contracts(wallet_id, address_id, opts = {})
    +  data, _status_code, _headers = list_smart_contracts_with_http_info(wallet_id, address_id, opts)
    +  data
    +end
    +
    +
    + +
    +

    + + #list_smart_contracts_with_http_info(wallet_id, address_id, opts = {}) ⇒ Array<(SmartContractList, Integer, Hash)> + + + + + +

    +
    + +

    List smart contracts deployed by address List all smart contracts deployed by address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet the address belongs to.

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the smart contracts for.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Array<(SmartContractList, Integer, Hash)>) + + + + — +
      +

      SmartContractList data, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +287
    +288
    +289
    +290
    +291
    +292
    +293
    +294
    +295
    +296
    +297
    +298
    +299
    +300
    +301
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +314
    +315
    +316
    +317
    +318
    +319
    +320
    +321
    +322
    +323
    +324
    +325
    +326
    +327
    +328
    +329
    +330
    +
    +
    # File 'lib/coinbase/client/api/smart_contracts_api.rb', line 280
    +
    +def list_smart_contracts_with_http_info(wallet_id, address_id, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: SmartContractsApi.list_smart_contracts ...'
    +  end
    +  # verify the required parameter 'wallet_id' is set
    +  if @api_client.config.client_side_validation && wallet_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'wallet_id' when calling SmartContractsApi.list_smart_contracts"
    +  end
    +  # verify the required parameter 'address_id' is set
    +  if @api_client.config.client_side_validation && address_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'address_id' when calling SmartContractsApi.list_smart_contracts"
    +  end
    +  # resource path
    +  local_var_path = '/v1/wallets/{wallet_id}/addresses/{address_id}/smart_contracts'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body]
    +
    +  # return_type
    +  return_type = opts[:debug_return_type] || 'SmartContractList'
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"SmartContractsApi.list_smart_contracts",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: SmartContractsApi#list_smart_contracts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/StakeApi.html b/docs/Coinbase/Client/StakeApi.html index 31c18c03..9401a8e1 100644 --- a/docs/Coinbase/Client/StakeApi.html +++ b/docs/Coinbase/Client/StakeApi.html @@ -753,7 +753,7 @@

    # File 'lib/coinbase/client/api/stake_api.rb', line 117 @@ -1315,18 +1307,10 @@

     
     
    -217
    -218
    -219
    -220
    +209 +210 +211 +212

    -
    # File 'lib/coinbase/client/api/stake_api.rb', line 217
    +      
    # File 'lib/coinbase/client/api/stake_api.rb', line 209
     
     def fetch_staking_rewards(fetch_staking_rewards_request, opts = {})
       data, _status_code, _headers = fetch_staking_rewards_with_http_info(fetch_staking_rewards_request, opts)
    @@ -1620,6 +1604,14 @@ 

    +221 +222 +223 +224 +225 +226 +227 +228 229 230 231 @@ -1669,18 +1661,10 @@

    +278

    -
    # File 'lib/coinbase/client/api/stake_api.rb', line 229
    +      
    # File 'lib/coinbase/client/api/stake_api.rb', line 221
     
     def fetch_staking_rewards_with_http_info(fetch_staking_rewards_request, opts = {})
       if @api_client.config.debugging
    @@ -1705,7 +1689,7 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1854,13 +1838,13 @@

     
     
    -295
    -296
    -297
    -298
    +287 +288 +289 +290

    -
    # File 'lib/coinbase/client/api/stake_api.rb', line 295
    +      
    # File 'lib/coinbase/client/api/stake_api.rb', line 287
     
     def get_external_staking_operation(network_id, address_id, staking_operation_id, opts = {})
       data, _status_code, _headers = get_external_staking_operation_with_http_info(network_id, address_id, staking_operation_id, opts)
    @@ -1985,6 +1969,14 @@ 

    +299 +300 +301 +302 +303 +304 +305 +306 307 308 309 @@ -2031,18 +2023,10 @@

    # File 'lib/coinbase/client/api/stake_api.rb', line 307 +
    # File 'lib/coinbase/client/api/stake_api.rb', line 299
     
     def get_external_staking_operation_with_http_info(network_id, address_id, staking_operation_id, opts = {})
       if @api_client.config.debugging
    @@ -2069,7 +2053,7 @@ 

     
     
    -368
    -369
    -370
    -371
    +360 +361 +362 +363

    -
    # File 'lib/coinbase/client/api/stake_api.rb', line 368
    +      
    # File 'lib/coinbase/client/api/stake_api.rb', line 360
     
     def get_staking_context(get_staking_context_request, opts = {})
       data, _status_code, _headers = get_staking_context_with_http_info(get_staking_context_request, opts)
    @@ -2270,6 +2254,14 @@ 

     
     
    +370
    +371
    +372
    +373
    +374
    +375
    +376
    +377
     378
     379
     380
    @@ -2313,18 +2305,10 @@ 

    418 419 420 -421 -422 -423 -424 -425 -426 -427 -428 -429

    +421

    -
    # File 'lib/coinbase/client/api/stake_api.rb', line 378
    +      
    # File 'lib/coinbase/client/api/stake_api.rb', line 370
     
     def get_staking_context_with_http_info(get_staking_context_request, opts = {})
       if @api_client.config.debugging
    @@ -2343,7 +2327,7 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? diff --git a/docs/Coinbase/Client/StakingBalance.html b/docs/Coinbase/Client/StakingBalance.html index 6fced0b6..5ea4452d 100644 --- a/docs/Coinbase/Client/StakingBalance.html +++ b/docs/Coinbase/Client/StakingBalance.html @@ -192,7 +192,7 @@

    Instance Attribute Summary collaps
    -

    The date of the staking balance in format 'YYYY-MM-DD' in UTC.

    +

    The timestamp of the staking balance in UTC.

    @@ -912,7 +912,7 @@

    -

    The date of the staking balance in format 'YYYY-MM-DD' in UTC.

    +

    The timestamp of the staking balance in UTC.

    @@ -1489,7 +1489,7 @@

    def self.openapi_types { :'address' => :'String', - :'date' => :'Date', + :'date' => :'Time', :'bonded_stake' => :'Balance', :'unbonded_balance' => :'Balance', :'participant_type' => :'String' diff --git a/docs/Coinbase/Client/StakingReward.html b/docs/Coinbase/Client/StakingReward.html index 7897d4a9..ffbe7686 100644 --- a/docs/Coinbase/Client/StakingReward.html +++ b/docs/Coinbase/Client/StakingReward.html @@ -202,7 +202,7 @@

    Instance Attribute Summary collaps
    -

    The date of the reward in format 'YYYY-MM-DD' in UTC.

    +

    The timestamp of the reward in UTC.

    @@ -961,7 +961,7 @@

    -

    The date of the reward in format 'YYYY-MM-DD' in UTC.

    +

    The timestamp of the reward in UTC.

    @@ -1584,7 +1584,7 @@

    def self.openapi_types { :'address_id' => :'String', - :'date' => :'Date', + :'date' => :'Time', :'amount' => :'String', :'state' => :'String', :'format' => :'StakingRewardFormat', diff --git a/docs/Coinbase/Client/TokenContractOptions.html b/docs/Coinbase/Client/TokenContractOptions.html new file mode 100644 index 00000000..9f8ec71d --- /dev/null +++ b/docs/Coinbase/Client/TokenContractOptions.html @@ -0,0 +1,2004 @@ + + + + + + + Class: Coinbase::Client::TokenContractOptions + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::TokenContractOptions + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/token_contract_options.rb
    +
    + +
    + +

    Overview

    +
    + +

    Options for token contract creation

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #name ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The name of the token.

      +
      + +
    • + + +
    • + + + #symbol ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The symbol of the token.

      +
      + +
    • + + +
    • + + + #total_supply ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The total supply of the token denominated in the whole amount of the token.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ TokenContractOptions + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 59
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::TokenContractOptions` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::TokenContractOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'name')
    +    self.name = attributes[:'name']
    +  else
    +    self.name = nil
    +  end
    +
    +  if attributes.key?(:'symbol')
    +    self.symbol = attributes[:'symbol']
    +  else
    +    self.symbol = nil
    +  end
    +
    +  if attributes.key?(:'total_supply')
    +    self.total_supply = attributes[:'total_supply']
    +  else
    +    self.total_supply = nil
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #nameObject + + + + + +

    +
    + +

    The name of the token

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 20
    +
    +def name
    +  @name
    +end
    +
    +
    + + + +
    +

    + + #symbolObject + + + + + +

    +
    + +

    The symbol of the token

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 23
    +
    +def symbol
    +  @symbol
    +end
    +
    +
    + + + +
    +

    + + #total_supplyObject + + + + + +

    +
    + +

    The total supply of the token denominated in the whole amount of the token.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 26
    +
    +def total_supply
    +  @total_supply
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 170
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 38
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 29
    +
    +def self.attribute_map
    +  {
    +    :'name' => :'name',
    +    :'symbol' => :'symbol',
    +    :'total_supply' => :'total_supply'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 146
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +52
    +53
    +54
    +55
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 52
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 43
    +
    +def self.openapi_types
    +  {
    +    :'name' => :'String',
    +    :'symbol' => :'String',
    +    :'total_supply' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 123
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      name == o.name &&
    +      symbol == o.symbol &&
    +      total_supply == o.total_supply
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 241
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +133
    +134
    +135
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 133
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +139
    +140
    +141
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 139
    +
    +def hash
    +  [name, symbol, total_supply].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 93
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  if @name.nil?
    +    invalid_properties.push('invalid value for "name", name cannot be nil.')
    +  end
    +
    +  if @symbol.nil?
    +    invalid_properties.push('invalid value for "symbol", symbol cannot be nil.')
    +  end
    +
    +  if @total_supply.nil?
    +    invalid_properties.push('invalid value for "total_supply", total_supply cannot be nil.')
    +  end
    +
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +217
    +218
    +219
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 217
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 223
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +211
    +212
    +213
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 211
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +
    +
    # File 'lib/coinbase/client/models/token_contract_options.rb', line 113
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  return false if @name.nil?
    +  return false if @symbol.nil?
    +  return false if @total_supply.nil?
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/TradesApi.html b/docs/Coinbase/Client/TradesApi.html index d17cc1bc..4dda3cc4 100644 --- a/docs/Coinbase/Client/TradesApi.html +++ b/docs/Coinbase/Client/TradesApi.html @@ -825,7 +825,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1184,7 +1184,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1548,7 +1548,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1957,7 +1957,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/TransactionHistoryApi.html b/docs/Coinbase/Client/TransactionHistoryApi.html new file mode 100644 index 00000000..34c2a059 --- /dev/null +++ b/docs/Coinbase/Client/TransactionHistoryApi.html @@ -0,0 +1,744 @@ + + + + + + + Class: Coinbase::Client::TransactionHistoryApi + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::TransactionHistoryApi + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/api/transaction_history_api.rb
    +
    + +
    + + + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #api_client ⇒ Object + + + + + + + + + + + + + + + + +
      +

      Returns the value of attribute api_client.

      +
      + +
    • + + +
    + + + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(api_client = ApiClient.default) ⇒ TransactionHistoryApi + + + + + +

    +
    + +

    Returns a new instance of TransactionHistoryApi.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +19
    +20
    +21
    +
    +
    # File 'lib/coinbase/client/api/transaction_history_api.rb', line 19
    +
    +def initialize(api_client = ApiClient.default)
    +  @api_client = api_client
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #api_clientObject + + + + + +

    +
    + +

    Returns the value of attribute api_client.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +17
    +18
    +19
    +
    +
    # File 'lib/coinbase/client/api/transaction_history_api.rb', line 17
    +
    +def api_client
    +  @api_client
    +end
    +
    +
    + +
    + + +
    +

    Instance Method Details

    + + +
    +

    + + #list_address_transactions(network_id, address_id, opts = {}) ⇒ AddressTransactionList + + + + + +

    +
    + +

    List transactions for an address. List all transactions that interact with the address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + network_id + + + (String) + + + + — +
      +

      The ID of the blockchain network

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the transactions for.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + + + + + + + + +

    Options Hash (opts):

    +
      + +
    • + :limit + (Integer) + + + + + —
      +

      A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

      +
      + +
    • + +
    • + :page + (String) + + + + + —
      +

      A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

      +
      + +
    • + +
    + + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +30
    +31
    +32
    +33
    +
    +
    # File 'lib/coinbase/client/api/transaction_history_api.rb', line 30
    +
    +def list_address_transactions(network_id, address_id, opts = {})
    +  data, _status_code, _headers = list_address_transactions_with_http_info(network_id, address_id, opts)
    +  data
    +end
    +
    +
    + +
    +

    + + #list_address_transactions_with_http_info(network_id, address_id, opts = {}) ⇒ Array<(AddressTransactionList, Integer, Hash)> + + + + + +

    +
    + +

    List transactions for an address. List all transactions that interact with the address.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + network_id + + + (String) + + + + — +
      +

      The ID of the blockchain network

      +
      + +
    • + +
    • + + address_id + + + (String) + + + + — +
      +

      The ID of the address to fetch the transactions for.

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + + + + + + + + +

    Options Hash (opts):

    +
      + +
    • + :limit + (Integer) + + + + + —
      +

      A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

      +
      + +
    • + +
    • + :page + (String) + + + + + —
      +

      A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

      +
      + +
    • + +
    + + +

    Returns:

    +
      + +
    • + + + (Array<(AddressTransactionList, Integer, Hash)>) + + + + — +
      +

      AddressTransactionList data, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +
    +
    # File 'lib/coinbase/client/api/transaction_history_api.rb', line 43
    +
    +def list_address_transactions_with_http_info(network_id, address_id, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: TransactionHistoryApi.list_address_transactions ...'
    +  end
    +  # verify the required parameter 'network_id' is set
    +  if @api_client.config.client_side_validation && network_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'network_id' when calling TransactionHistoryApi.list_address_transactions"
    +  end
    +  # verify the required parameter 'address_id' is set
    +  if @api_client.config.client_side_validation && address_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'address_id' when calling TransactionHistoryApi.list_address_transactions"
    +  end
    +  if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000
    +    fail ArgumentError, 'invalid value for "opts[:"page"]" when calling TransactionHistoryApi.list_address_transactions, the character length must be smaller than or equal to 5000.'
    +  end
    +
    +  # resource path
    +  local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/transactions'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
    +  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body]
    +
    +  # return_type
    +  return_type = opts[:debug_return_type] || 'AddressTransactionList'
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"TransactionHistoryApi.list_address_transactions",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: TransactionHistoryApi#list_address_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/TransfersApi.html b/docs/Coinbase/Client/TransfersApi.html index d8ecb69d..7cac45d0 100644 --- a/docs/Coinbase/Client/TransfersApi.html +++ b/docs/Coinbase/Client/TransfersApi.html @@ -825,7 +825,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1184,7 +1184,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1548,7 +1548,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1957,7 +1957,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/UpdateWebhookRequest.html b/docs/Coinbase/Client/UpdateWebhookRequest.html index 75f0dd71..da1b2d55 100644 --- a/docs/Coinbase/Client/UpdateWebhookRequest.html +++ b/docs/Coinbase/Client/UpdateWebhookRequest.html @@ -130,6 +130,33 @@

    Instance Attribute Summary collaps

    Webhook will monitor all events that matches any one of the event filters.

    + + + +
  • + + + #event_type_filter ⇒ Object + + + + + + + + + + + + + + + + +
    +

    Returns the value of attribute event_type_filter.

    +
    +
  • @@ -620,10 +647,6 @@

     
     
    -53
    -54
    -55
    -56
     57
     58
     59
    @@ -646,10 +669,16 @@ 

    76 77 78 -79

    +79 +80 +81 +82 +83 +84 +85

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 53
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 57
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -664,12 +693,14 @@ 

    h[k.to_sym] = v } + if attributes.key?(:'event_type_filter') + self.event_type_filter = attributes[:'event_type_filter'] + end + if attributes.key?(:'event_filters') if (value = attributes[:'event_filters']).is_a?(Array) self.event_filters = value end - else - self.event_filters = nil end if attributes.key?(:'notification_uri') @@ -716,12 +747,12 @@

     
     
    -19
    -20
    -21
    +21 +22 +23

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 19
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 21
     
     def event_filters
       @event_filters
    @@ -732,6 +763,49 @@ 

    + +
    +

    + + #event_type_filterObject + + + + + +

    +
    + +

    Returns the value of attribute event_type_filter.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +18
    +19
    +20
    +
    +
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 18
    +
    +def event_type_filter
    +  @event_type_filter
    +end
    +
    +
    + +

    @@ -759,12 +833,12 @@

     
     
    -22
    -23
    -24
    +24 +25 +26

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 22
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 24
     
     def notification_uri
       @notification_uri
    @@ -861,8 +935,6 @@ 

     
     
    -154
    -155
     156
     157
     158
    @@ -898,10 +970,12 @@ 

    188 189 190 -191

    +191 +192 +193

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 154
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 156
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -972,12 +1046,12 @@ 

     
     
    -33
    -34
    -35
    +36 +37 +38

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 33
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 36
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1013,18 +1087,20 @@ 

     
     
    -25
    -26
     27
     28
     29
    -30
    +30 +31 +32 +33

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 25
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 27
     
     def self.attribute_map
       {
    +    :'event_type_filter' => :'event_type_filter',
         :'event_filters' => :'event_filters',
         :'notification_uri' => :'notification_uri'
       }
    @@ -1098,8 +1174,6 @@ 

     
     
    -130
    -131
     132
     133
     134
    @@ -1116,10 +1190,12 @@ 

    145 146 147 -148

    +148 +149 +150

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 130
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 132
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1171,13 +1247,13 @@ 

     
     
    -46
    -47
    -48
    -49
    +50 +51 +52 +53

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 46
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 50
     
     def self.openapi_nullable
       Set.new([
    @@ -1214,18 +1290,20 @@ 

     
     
    -38
    -39
    -40
     41
     42
    -43
    +43 +44 +45 +46 +47

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 38
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 41
     
     def self.openapi_types
       {
    +    :'event_type_filter' => :'WebhookEventTypeFilter',
         :'event_filters' => :'Array<WebhookEventFilter>',
         :'notification_uri' => :'String'
       }
    @@ -1287,19 +1365,21 @@ 

     
     
    -108
     109
     110
     111
     112
    -113
    +113 +114 +115

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 108
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 109
     
     def ==(o)
       return true if self.equal?(o)
       self.class == o.class &&
    +      event_type_filter == o.event_type_filter &&
           event_filters == o.event_filters &&
           notification_uri == o.notification_uri
     end
    @@ -1372,8 +1452,6 @@

     
     
    -225
    -226
     227
     228
     229
    @@ -1384,10 +1462,12 @@ 

    234 235 236 -237

    +237 +238 +239

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 225
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 227
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -1471,12 +1551,12 @@ 

     
     
    -117
    -118
    -119
    +119 +120 +121

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 117
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 119
     
     def eql?(o)
       self == o
    @@ -1530,15 +1610,15 @@ 

     
     
    -123
    -124
    -125
    +125 +126 +127

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 123
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 125
     
     def hash
    -  [event_filters, notification_uri].hash
    +  [event_type_filter, event_filters, notification_uri].hash
     end
    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 83
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 89
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
       invalid_properties = Array.new
    -  if @event_filters.nil?
    -    invalid_properties.push('invalid value for "event_filters", event_filters cannot be nil.')
    -  end
    -
       if @notification_uri.nil?
         invalid_properties.push('invalid value for "notification_uri", notification_uri cannot be nil.')
       end
    @@ -1668,12 +1740,12 @@ 

     
     
    -201
    -202
    -203
    +203 +204 +205

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 201
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 203
     
     def to_body
       to_hash
    @@ -1727,8 +1799,6 @@ 

     
     
    -207
    -208
     209
     210
     211
    @@ -1739,10 +1809,12 @@ 

    216 217 218 -219

    +219 +220 +221

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 207
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 209
     
     def to_hash
       hash = {}
    @@ -1806,12 +1878,12 @@ 

     
     
    -195
    -196
    -197
    +197 +198 +199

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 195
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 197
     
     def to_s
       to_hash.to_s
    @@ -1865,19 +1937,17 @@ 

     
     
    -99
    -100
     101
     102
     103
    -104
    +104 +105

    -
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 99
    +      
    # File 'lib/coinbase/client/models/update_webhook_request.rb', line 101
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
    -  return false if @event_filters.nil?
       return false if @notification_uri.nil?
       true
     end
    diff --git a/docs/Coinbase/Client/UsersApi.html b/docs/Coinbase/Client/UsersApi.html index 9f2be738..31c19f68 100644 --- a/docs/Coinbase/Client/UsersApi.html +++ b/docs/Coinbase/Client/UsersApi.html @@ -526,7 +526,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/ValidatorsApi.html b/docs/Coinbase/Client/ValidatorsApi.html index 084f1814..be3c5903 100644 --- a/docs/Coinbase/Client/ValidatorsApi.html +++ b/docs/Coinbase/Client/ValidatorsApi.html @@ -694,7 +694,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1131,7 +1131,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/WalletStakeApi.html b/docs/Coinbase/Client/WalletStakeApi.html index 8717e7b4..f32cc54d 100644 --- a/docs/Coinbase/Client/WalletStakeApi.html +++ b/docs/Coinbase/Client/WalletStakeApi.html @@ -777,7 +777,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/WalletsApi.html b/docs/Coinbase/Client/WalletsApi.html index 2b381ebf..50e5f681 100644 --- a/docs/Coinbase/Client/WalletsApi.html +++ b/docs/Coinbase/Client/WalletsApi.html @@ -759,7 +759,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? @@ -1177,7 +1177,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1362,7 +1362,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1641,7 +1641,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1962,7 +1962,7 @@

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} diff --git a/docs/Coinbase/Client/Webhook.html b/docs/Coinbase/Client/Webhook.html index ebe01419..e08697db 100644 --- a/docs/Coinbase/Client/Webhook.html +++ b/docs/Coinbase/Client/Webhook.html @@ -205,6 +205,33 @@

    Instance Attribute Summary collaps

    Returns the value of attribute event_type.

    + + + +
  • + + + #event_type_filter ⇒ Object + + + + + + + + + + + + + + + + +
    +

    Returns the value of attribute event_type_filter.

    +
    +
  • @@ -803,10 +830,6 @@

     
     
    -105
    -106
    -107
    -108
     109
     110
     111
    @@ -849,10 +872,18 @@ 

    148 149 150 -151

    +151 +152 +153 +154 +155 +156 +157 +158 +159

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 105
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 109
     
     def initialize(attributes = {})
       if (!attributes.is_a?(Hash))
    @@ -879,6 +910,10 @@ 

    self.event_type = attributes[:'event_type'] end + if attributes.key?(:'event_type_filter') + self.event_type_filter = attributes[:'event_type_filter'] + end + if attributes.key?(:'event_filters') if (value = attributes[:'event_filters']).is_a?(Array) self.event_filters = value @@ -939,12 +974,12 @@

     
     
    -34
    -35
    -36
    +36 +37 +38

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 34
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 36
     
     def created_at
       @created_at
    @@ -982,12 +1017,12 @@ 

     
     
    -28
    -29
    -30
    +30 +31 +32

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 28
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 30
     
     def event_filters
       @event_filters
    @@ -1041,6 +1076,49 @@ 

    + +
    +

    + + #event_type_filterObject + + + + + +

    +
    + +

    Returns the value of attribute event_type_filter.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +27
    +28
    +29
    +
    +
    # File 'lib/coinbase/client/models/webhook.rb', line 27
    +
    +def event_type_filter
    +  @event_type_filter
    +end
    +
    +
    + +

    @@ -1154,12 +1232,12 @@

     
     
    -31
    -32
    -33
    +33 +34 +35

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 31
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 33
     
     def notification_uri
       @notification_uri
    @@ -1197,12 +1275,12 @@ 

     
     
    -40
    -41
    -42
    +42 +43 +44

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 40
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 42
     
     def signature_header
       @signature_header
    @@ -1240,12 +1318,12 @@ 

     
     
    -37
    -38
    -39
    +39 +40 +41

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 37
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 39
     
     def updated_at
       @updated_at
    @@ -1342,15 +1420,6 @@ 

     
     
    -222
    -223
    -224
    -225
    -226
    -227
    -228
    -229
    -230
     231
     232
     233
    @@ -1379,10 +1448,19 @@ 

    256 257 258 -259

    +259 +260 +261 +262 +263 +264 +265 +266 +267 +268

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 222
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 231
     
     def self._deserialize(type, value)
       case type.to_sym
    @@ -1453,12 +1531,12 @@ 

     
     
    -79
    -80
    -81
    +82 +83 +84

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 79
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 82
     
     def self.acceptable_attributes
       attribute_map.values
    @@ -1494,8 +1572,6 @@ 

     
     
    -65
    -66
     67
     68
     69
    @@ -1505,16 +1581,20 @@ 

    73 74 75 -76

    +76 +77 +78 +79

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 65
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 67
     
     def self.attribute_map
       {
         :'id' => :'id',
         :'network_id' => :'network_id',
         :'event_type' => :'event_type',
    +    :'event_type_filter' => :'event_type_filter',
         :'event_filters' => :'event_filters',
         :'notification_uri' => :'notification_uri',
         :'created_at' => :'created_at',
    @@ -1591,15 +1671,6 @@ 

     
     
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
     207
     208
     209
    @@ -1609,10 +1680,19 @@ 

    213 214 215 -216

    +216 +217 +218 +219 +220 +221 +222 +223 +224 +225

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 198
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 207
     
     def self.build_from_hash(attributes)
       return nil unless attributes.is_a?(Hash)
    @@ -1664,13 +1744,13 @@ 

     
     
    -98
    -99
    -100
    -101
    +102 +103 +104 +105

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 98
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 102
     
     def self.openapi_nullable
       Set.new([
    @@ -1707,9 +1787,6 @@ 

     
     
    -84
    -85
    -86
     87
     88
     89
    @@ -1718,16 +1795,21 @@ 

    92 93 94 -95

    +95 +96 +97 +98 +99

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 84
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 87
     
     def self.openapi_types
       {
         :'id' => :'String',
         :'network_id' => :'String',
         :'event_type' => :'WebhookEventType',
    +    :'event_type_filter' => :'WebhookEventTypeFilter',
         :'event_filters' => :'Array<WebhookEventFilter>',
         :'notification_uri' => :'String',
         :'created_at' => :'Time',
    @@ -1792,21 +1874,22 @@ 

     
     
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
     178
     179
     180
    -181
    +181 +182 +183 +184 +185 +186 +187 +188 +189 +190

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 170
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 178
     
     def ==(o)
       return true if self.equal?(o)
    @@ -1814,6 +1897,7 @@ 

    id == o.id && network_id == o.network_id && event_type == o.event_type && + event_type_filter == o.event_type_filter && event_filters == o.event_filters && notification_uri == o.notification_uri && created_at == o.created_at && @@ -1889,22 +1973,22 @@

     
     
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
     302
     303
     304
    -305
    +305 +306 +307 +308 +309 +310 +311 +312 +313 +314

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 293
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 302
     
     def _to_hash(value)
       if value.is_a?(Array)
    @@ -1988,12 +2072,12 @@ 

     
     
    -185
    -186
    -187
    +194 +195 +196

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 185
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 194
     
     def eql?(o)
       self == o
    @@ -2047,15 +2131,15 @@ 

     
     
    -191
    -192
    -193
    +200 +201 +202

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 191
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 200
     
     def hash
    -  [id, network_id, event_type, event_filters, notification_uri, created_at, updated_at, signature_header].hash
    +  [id, network_id, event_type, event_type_filter, event_filters, notification_uri, created_at, updated_at, signature_header].hash
     end
    -
    # File 'lib/coinbase/client/models/webhook.rb', line 155
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 163
     
     def list_invalid_properties
       warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    @@ -2169,12 +2253,12 @@ 

     
     
    -269
    -270
    -271
    +278 +279 +280

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 269
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 278
     
     def to_body
       to_hash
    @@ -2228,22 +2312,22 @@ 

     
     
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
     284
     285
     286
    -287
    +287 +288 +289 +290 +291 +292 +293 +294 +295 +296

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 275
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 284
     
     def to_hash
       hash = {}
    @@ -2307,12 +2391,12 @@ 

     
     
    -263
    -264
    -265
    +272 +273 +274

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 263
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 272
     
     def to_s
       to_hash.to_s
    @@ -2366,13 +2450,13 @@ 

     
     
    -163
    -164
    -165
    -166
    +171 +172 +173 +174

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 163
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 171
     
     def valid?
       warn '[DEPRECATED] the `valid?` method is obsolete'
    diff --git a/docs/Coinbase/Client/Webhook/EnumAttributeValidator.html b/docs/Coinbase/Client/Webhook/EnumAttributeValidator.html
    index 6f37cd6e..1932ebdf 100644
    --- a/docs/Coinbase/Client/Webhook/EnumAttributeValidator.html
    +++ b/docs/Coinbase/Client/Webhook/EnumAttributeValidator.html
    @@ -257,8 +257,6 @@ 

     
     
    -46
    -47
     48
     49
     50
    @@ -268,10 +266,12 @@ 

    54 55 56 -57

    +57 +58 +59

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 46
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 48
     
     def initialize(datatype, allowable_values)
       @allowable_values = allowable_values.map do |value|
    @@ -323,12 +323,12 @@ 

     
     
    -44
    -45
    -46
    +46 +47 +48

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 44
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 46
     
     def allowable_values
       @allowable_values
    @@ -366,12 +366,12 @@ 

     
     
    -43
    -44
    -45
    +45 +46 +47

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 43
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 45
     
     def datatype
       @datatype
    @@ -425,12 +425,12 @@ 

     
     
    -59
    -60
    -61
    +61 +62 +63

    -
    # File 'lib/coinbase/client/models/webhook.rb', line 59
    +      
    # File 'lib/coinbase/client/models/webhook.rb', line 61
     
     def valid?(value)
       !value || allowable_values.include?(value)
    diff --git a/docs/Coinbase/Client/WebhookEventFilter.html b/docs/Coinbase/Client/WebhookEventFilter.html
    index ac36f3ba..800bc9ac 100644
    --- a/docs/Coinbase/Client/WebhookEventFilter.html
    +++ b/docs/Coinbase/Client/WebhookEventFilter.html
    @@ -138,7 +138,7 @@ 

    Instance Attribute Summary collaps
    -

    The onchain contract address of the token being transferred.

    +

    The onchain contract address of the token for which the events should be tracked.

    @@ -736,7 +736,7 @@

    -

    The onchain contract address of the token being transferred.

    +

    The onchain contract address of the token for which the events should be tracked.

    @@ -779,7 +779,7 @@

    -

    The onchain address of the sender.

    +

    The onchain address of the sender. Set this filter to track all transfer events originating from your address.

    @@ -822,7 +822,7 @@

    -

    The onchain address of the receiver.

    +

    The onchain address of the receiver. Set this filter to track all transfer events sent to your address.

    diff --git a/docs/Coinbase/Client/WebhookEventType.html b/docs/Coinbase/Client/WebhookEventType.html index 3aee529c..d87d4d32 100644 --- a/docs/Coinbase/Client/WebhookEventType.html +++ b/docs/Coinbase/Client/WebhookEventType.html @@ -123,6 +123,11 @@

    "erc721_transfer".freeze
    +
    WALLET_ACTIVITY = + +
    +
    "wallet_activity".freeze
    +
    UNKNOWN_DEFAULT_OPEN_API =
    @@ -248,15 +253,15 @@

     
     
    -23
     24
    -25
    +25 +26

    -
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 23
    +      
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 24
     
     def self.all_vars
    -  @all_vars ||= [UNSPECIFIED, ERC20_TRANSFER, ERC721_TRANSFER, UNKNOWN_DEFAULT_OPEN_API].freeze
    +  @all_vars ||= [UNSPECIFIED, ERC20_TRANSFER, ERC721_TRANSFER, WALLET_ACTIVITY, UNKNOWN_DEFAULT_OPEN_API].freeze
     end
    -
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 30
    +      
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 31
     
     def self.build_from_hash(value)
       new.build_from_hash(value)
    @@ -412,13 +417,13 @@ 

     
     
    -37
     38
     39
    -40
    +40 +41

    -
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 37
    +      
    # File 'lib/coinbase/client/models/webhook_event_type.rb', line 38
     
     def build_from_hash(value)
       return value if WebhookEventType.all_vars.include?(value)
    diff --git a/docs/Coinbase/Client/WebhookEventTypeFilter.html b/docs/Coinbase/Client/WebhookEventTypeFilter.html
    new file mode 100644
    index 00000000..d767a2f8
    --- /dev/null
    +++ b/docs/Coinbase/Client/WebhookEventTypeFilter.html
    @@ -0,0 +1,335 @@
    +
    +
    +  
    +    
    +
    +
    +  Module: Coinbase::Client::WebhookEventTypeFilter
    +  
    +    — Documentation by YARD 0.9.36
    +  
    +
    +
    +  
    +
    +  
    +
    +
    +
    +
    +  
    +
    +  
    +
    +
    +  
    +  
    +    
    +
    +    
    + + +

    Module: Coinbase::Client::WebhookEventTypeFilter + + + +

    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/webhook_event_type_filter.rb
    +
    + +
    + +

    Overview

    +
    + +

    The event_type_filter parameter specifies the criteria to filter events based on event type.

    + + +
    +
    +
    + + +
    + + + + + + + +

    + Class Method Summary + collapse +

    + + + + + + +
    +

    Class Method Details

    + + +
    +

    + + .build(data) ⇒ Object + + + + + +

    +
    + +

    Builds the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Data + + + (Mixed) + + + + — +
      +

      to be matched against the list of oneOf items

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model or the data itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +
    +
    # File 'lib/coinbase/client/models/webhook_event_type_filter.rb', line 30
    +
    +def build(data)
    +  # Go through the list of oneOf items and attempt to identify the appropriate one.
    +  # Note:
    +  # - We do not attempt to check whether exactly one item matches.
    +  # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
    +  #   due to the way the deserialization is made in the base_object template (it just casts without verifying).
    +  # - TODO: scalar values are de facto behaving as if they were nullable.
    +  # - TODO: logging when debugging is set.
    +  openapi_one_of.each do |klass|
    +    begin
    +      next if klass == :AnyType # "nullable: true"
    +      typed_data = find_and_cast_into_type(klass, data)
    +      return typed_data if typed_data
    +    rescue # rescue all errors so we keep iterating even if the current item lookup raises
    +    end
    +  end
    +
    +  openapi_one_of.include?(:AnyType) ? data : nil
    +end
    +
    +
    + +
    +

    + + .openapi_one_ofObject + + + + + +

    +
    + +

    List of class defined in oneOf (OpenAPI v3)

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +21
    +22
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/webhook_event_type_filter.rb', line 21
    +
    +def openapi_one_of
    +  [
    +    :'WebhookWalletActivityFilter'
    +  ]
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/WebhookWalletActivityFilter.html b/docs/Coinbase/Client/WebhookWalletActivityFilter.html new file mode 100644 index 00000000..45db6ba9 --- /dev/null +++ b/docs/Coinbase/Client/WebhookWalletActivityFilter.html @@ -0,0 +1,1882 @@ + + + + + + + Class: Coinbase::Client::WebhookWalletActivityFilter + + — Documentation by YARD 0.9.36 + + + + + + + + + + + + + + + + + + + +
    + + +

    Class: Coinbase::Client::WebhookWalletActivityFilter + + + +

    +
    + +
    +
    Inherits:
    +
    + Object + +
      +
    • Object
    • + + + +
    + show all + +
    +
    + + + + + + + + + + + +
    +
    Defined in:
    +
    lib/coinbase/client/models/webhook_wallet_activity_filter.rb
    +
    + +
    + +

    Overview

    +
    + +

    Filter for wallet activity events. This filter allows the client to specify one or more wallet addresses to monitor for activities such as transactions, transfers, or other types of events that are associated with the specified addresses.

    + + +
    +
    +
    + + +
    + + + +

    Instance Attribute Summary collapse

    +
      + +
    • + + + #addresses ⇒ Object + + + + + + + + + + + + + + + + +
      +

      A list of wallet addresses to filter on.

      +
      + +
    • + + +
    • + + + #wallet_id ⇒ Object + + + + + + + + + + + + + + + + +
      +

      The ID of the wallet that owns the webhook.

      +
      + +
    • + + +
    + + + + + +

    + Class Method Summary + collapse +

    + + + +

    + Instance Method Summary + collapse +

    + + + + +
    +

    Constructor Details

    + +
    +

    + + #initialize(attributes = {}) ⇒ WebhookWalletActivityFilter + + + + + +

    +
    + +

    Initializes the object

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 54
    +
    +def initialize(attributes = {})
    +  if (!attributes.is_a?(Hash))
    +    fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::WebhookWalletActivityFilter` initialize method"
    +  end
    +
    +  # check to see if the attribute exists and convert string to symbol for hash key
    +  attributes = attributes.each_with_object({}) { |(k, v), h|
    +    if (!self.class.attribute_map.key?(k.to_sym))
    +      fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::WebhookWalletActivityFilter`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    +    end
    +    h[k.to_sym] = v
    +  }
    +
    +  if attributes.key?(:'addresses')
    +    if (value = attributes[:'addresses']).is_a?(Array)
    +      self.addresses = value
    +    end
    +  end
    +
    +  if attributes.key?(:'wallet_id')
    +    self.wallet_id = attributes[:'wallet_id']
    +  end
    +end
    +
    +
    + +
    + +
    +

    Instance Attribute Details

    + + + +
    +

    + + #addressesObject + + + + + +

    +
    + +

    A list of wallet addresses to filter on.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +20
    +21
    +22
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 20
    +
    +def addresses
    +  @addresses
    +end
    +
    +
    + + + +
    +

    + + #wallet_idObject + + + + + +

    +
    + +

    The ID of the wallet that owns the webhook.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +23
    +24
    +25
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 23
    +
    +def wallet_id
    +  @wallet_id
    +end
    +
    +
    + +
    + + +
    +

    Class Method Details

    + + +
    +

    + + ._deserialize(type, value) ⇒ Object + + + + + +

    +
    + +

    Deserializes the data based on type

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + string + + + + + + + — +
      +

      type Data type

      +
      + +
    • + +
    • + + string + + + + + + + — +
      +

      value Value to be deserialized

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Deserialized data

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 141
    +
    +def self._deserialize(type, value)
    +  case type.to_sym
    +  when :Time
    +    Time.parse(value)
    +  when :Date
    +    Date.parse(value)
    +  when :String
    +    value.to_s
    +  when :Integer
    +    value.to_i
    +  when :Float
    +    value.to_f
    +  when :Boolean
    +    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
    +      true
    +    else
    +      false
    +    end
    +  when :Object
    +    # generic object (usually a Hash), return directly
    +    value
    +  when /\AArray<(?<inner_type>.+)>\z/
    +    inner_type = Regexp.last_match[:inner_type]
    +    value.map { |v| _deserialize(inner_type, v) }
    +  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    +    k_type = Regexp.last_match[:k_type]
    +    v_type = Regexp.last_match[:v_type]
    +    {}.tap do |hash|
    +      value.each do |k, v|
    +        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
    +      end
    +    end
    +  else # model
    +    # models (e.g. Pet) or oneOf
    +    klass = Coinbase::Client.const_get(type)
    +    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
    +  end
    +end
    +
    +
    + +
    +

    + + .acceptable_attributesObject + + + + + +

    +
    + +

    Returns all the JSON keys this model knows about

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +34
    +35
    +36
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 34
    +
    +def self.acceptable_attributes
    +  attribute_map.values
    +end
    +
    +
    + +
    +

    + + .attribute_mapObject + + + + + +

    +
    + +

    Attribute mapping from ruby-style variable name to JSON key.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +26
    +27
    +28
    +29
    +30
    +31
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 26
    +
    +def self.attribute_map
    +  {
    +    :'addresses' => :'addresses',
    +    :'wallet_id' => :'wallet_id'
    +  }
    +end
    +
    +
    + +
    +

    + + .build_from_hash(attributes) ⇒ Object + + + + + +

    +
    + +

    Builds the object from hash

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + attributes + + + (Hash) + + + + — +
      +

      Model attributes in the form of hash

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Object) + + + + — +
      +

      Returns the model itself

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 117
    +
    +def self.build_from_hash(attributes)
    +  return nil unless attributes.is_a?(Hash)
    +  attributes = attributes.transform_keys(&:to_sym)
    +  transformed_hash = {}
    +  openapi_types.each_pair do |key, type|
    +    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = nil
    +    elsif type =~ /\AArray<(.*)>/i
    +      # check to ensure the input is an array given that the attribute
    +      # is documented as an array but the input is not
    +      if attributes[attribute_map[key]].is_a?(Array)
    +        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
    +      end
    +    elsif !attributes[attribute_map[key]].nil?
    +      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    +    end
    +  end
    +  new(transformed_hash)
    +end
    +
    +
    + +
    +

    + + .openapi_nullableObject + + + + + +

    +
    + +

    List of attributes with nullable: true

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +47
    +48
    +49
    +50
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 47
    +
    +def self.openapi_nullable
    +  Set.new([
    +  ])
    +end
    +
    +
    + +
    +

    + + .openapi_typesObject + + + + + +

    +
    + +

    Attribute type mapping.

    + + +
    +
    +
    + + +
    + + + + +
    +
    +
    +
    +39
    +40
    +41
    +42
    +43
    +44
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 39
    +
    +def self.openapi_types
    +  {
    +    :'addresses' => :'Array<String>',
    +    :'wallet_id' => :'String'
    +  }
    +end
    +
    +
    + +
    + +
    +

    Instance Method Details

    + + +
    +

    + + #==(o) ⇒ Object + + + + + +

    +
    + +

    Checks equality by comparing each attribute.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + + +
    + + + + +
    +
    +
    +
    +95
    +96
    +97
    +98
    +99
    +100
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 95
    +
    +def ==(o)
    +  return true if self.equal?(o)
    +  self.class == o.class &&
    +      addresses == o.addresses &&
    +      wallet_id == o.wallet_id
    +end
    +
    +
    + +
    +

    + + #_to_hash(value) ⇒ Hash + + + + + +

    +
    + +

    Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + value + + + (Object) + + + + — +
      +

      Any valid value

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the value in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 212
    +
    +def _to_hash(value)
    +  if value.is_a?(Array)
    +    value.compact.map { |v| _to_hash(v) }
    +  elsif value.is_a?(Hash)
    +    {}.tap do |hash|
    +      value.each { |k, v| hash[k] = _to_hash(v) }
    +    end
    +  elsif value.respond_to? :to_hash
    +    value.to_hash
    +  else
    +    value
    +  end
    +end
    +
    +
    + +
    +

    + + #eql?(o) ⇒ Boolean + + + + + +

    +
    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + Object + + + (Object) + + + + — +
      +

      to be compared

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • + +
    + +

    See Also:

    +
      + +
    • `==` method
    • + +
    + +
    + + + + +
    +
    +
    +
    +104
    +105
    +106
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 104
    +
    +def eql?(o)
    +  self == o
    +end
    +
    +
    + +
    +

    + + #hashInteger + + + + + +

    +
    + +

    Calculates hash code according to all attributes.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Integer) + + + + — +
      +

      Hash code

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +110
    +111
    +112
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 110
    +
    +def hash
    +  [addresses, wallet_id].hash
    +end
    +
    +
    + +
    +

    + + #list_invalid_propertiesObject + + + + + +

    +
    + +

    Show invalid properties with the reasons. Usually used together with valid?

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + + + + + +
      +

      Array for valid properties with the reasons

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +80
    +81
    +82
    +83
    +84
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 80
    +
    +def list_invalid_properties
    +  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
    +  invalid_properties = Array.new
    +  invalid_properties
    +end
    +
    +
    + +
    +

    + + #to_bodyHash + + + + + +

    +
    + +

    to_body is an alias to to_hash (backward compatibility)

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +188
    +189
    +190
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 188
    +
    +def to_body
    +  to_hash
    +end
    +
    +
    + +
    +

    + + #to_hashHash + + + + + +

    +
    + +

    Returns the object in the form of hash

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Hash) + + + + — +
      +

      Returns the object in the form of hash

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 194
    +
    +def to_hash
    +  hash = {}
    +  self.class.attribute_map.each_pair do |attr, param|
    +    value = self.send(attr)
    +    if value.nil?
    +      is_nullable = self.class.openapi_nullable.include?(attr)
    +      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    +    end
    +
    +    hash[param] = _to_hash(value)
    +  end
    +  hash
    +end
    +
    +
    + +
    +

    + + #to_sString + + + + + +

    +
    + +

    Returns the string representation of the object

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      String presentation of the object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +182
    +183
    +184
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 182
    +
    +def to_s
    +  to_hash.to_s
    +end
    +
    +
    + +
    +

    + + #valid?Boolean + + + + + +

    +
    + +

    Check to see if the all the properties in the model are valid

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + + — +
      +

      true if the model is valid

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +88
    +89
    +90
    +91
    +
    +
    # File 'lib/coinbase/client/models/webhook_wallet_activity_filter.rb', line 88
    +
    +def valid?
    +  warn '[DEPRECATED] the `valid?` method is obsolete'
    +  true
    +end
    +
    +
    + +
    + +
    + + + +
    + + \ No newline at end of file diff --git a/docs/Coinbase/Client/WebhooksApi.html b/docs/Coinbase/Client/WebhooksApi.html index a7226af4..a6a3f3fc 100644 --- a/docs/Coinbase/Client/WebhooksApi.html +++ b/docs/Coinbase/Client/WebhooksApi.html @@ -149,6 +149,54 @@

  • + #create_wallet_webhook(wallet_id, opts = {}) ⇒ Webhook + + + + + + + + + + + + + +
    +

    Create a new webhook scoped to a wallet Create a new webhook scoped to a wallet.

    +
    + +
  • + + +
  • + + + #create_wallet_webhook_with_http_info(wallet_id, opts = {}) ⇒ Array<(Webhook, Integer, Hash)> + + + + + + + + + + + + + +
    +

    Create a new webhook scoped to a wallet Create a new webhook scoped to a wallet.

    +
    + +
  • + + +
  • + + #create_webhook(opts = {}) ⇒ Webhook @@ -467,9 +515,9 @@

    Instance Method Details

    -

    +

    - #create_webhook(opts = {}) ⇒ Webhook + #create_wallet_webhook(wallet_id, opts = {}) ⇒ Webhook @@ -478,7 +526,7 @@

    -

    Create a new webhook Create a new webhook

    +

    Create a new webhook scoped to a wallet Create a new webhook scoped to a wallet

    @@ -487,6 +535,22 @@

    Parameters:

      +
    • + + wallet_id + + + (String) + + + + — +
      +

      The ID of the wallet to create the webhook for.

      +
      + +
    • +
    • opts @@ -510,12 +574,14 @@

      + +

      Options Hash (opts):

  • -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 27
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 28
     
    -def create_webhook(opts = {})
    -  data, _status_code, _headers = create_webhook_with_http_info(opts)
    +def create_wallet_webhook(wallet_id, opts = {})
    +  data, _status_code, _headers = create_wallet_webhook_with_http_info(wallet_id, opts)
       data
     end
    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 37
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 39
     
    -def create_webhook_with_http_info(opts = {})
    +def create_wallet_webhook_with_http_info(wallet_id, opts = {})
       if @api_client.config.debugging
    -    @api_client.config.logger.debug 'Calling API: WebhooksApi.create_webhook ...'
    +    @api_client.config.logger.debug 'Calling API: WebhooksApi.create_wallet_webhook ...'
    +  end
    +  # verify the required parameter 'wallet_id' is set
    +  if @api_client.config.client_side_validation && wallet_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'wallet_id' when calling WebhooksApi.create_wallet_webhook"
       end
       # resource path
    -  local_var_path = '/v1/webhooks'
    +  local_var_path = '/v1/wallets/{wallet_id}/webhooks'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s))
     
       # query parameters
       query_params = opts[:query_params] || {}
    @@ -711,18 +803,18 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end # form parameters form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_webhook_request']) + post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_wallet_webhook_request']) # return_type return_type = opts[:debug_return_type] || 'Webhook' @@ -731,7 +823,7 @@

    auth_names = opts[:debug_auth_names] || [] new_options = opts.merge( - :operation => :"WebhooksApi.create_webhook", + :operation => :"WebhooksApi.create_wallet_webhook", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -742,7 +834,7 @@

    data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: WebhooksApi#create_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: WebhooksApi#create_wallet_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end

    @@ -752,9 +844,9 @@

    -

    +

    - #delete_webhook(webhook_id, opts = {}) ⇒ nil + #create_webhook(opts = {}) ⇒ Webhook @@ -763,7 +855,7 @@

    -

    Delete a webhook Delete a webhook

    +

    Create a new webhook Create a new webhook

    @@ -772,22 +864,6 @@

    Parameters:

      -
    • - - webhook_id - - - (String) - - - - — -
      -

      The Webhook uuid that needs to be deleted

      -
      - -
    • -
    • opts @@ -808,13 +884,31 @@

    + + + +

    Options Hash (opts):

    + + +

    Returns:

    • - (nil) + (Webhook) @@ -828,17 +922,17 @@

       
       
      -91
      -92
      -93
      -94
      +97 +98 +99 +100

    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 91
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 97
     
    -def delete_webhook(webhook_id, opts = {})
    -  delete_webhook_with_http_info(webhook_id, opts)
    -  nil
    +def create_webhook(opts = {})
    +  data, _status_code, _headers = create_webhook_with_http_info(opts)
    +  data
     end
    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 101
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 107
     
    -def delete_webhook_with_http_info(webhook_id, opts = {})
    +def create_webhook_with_http_info(opts = {})
       if @api_client.config.debugging
    -    @api_client.config.logger.debug 'Calling API: WebhooksApi.delete_webhook ...'
    -  end
    -  # verify the required parameter 'webhook_id' is set
    -  if @api_client.config.client_side_validation && webhook_id.nil?
    -    fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhooksApi.delete_webhook"
    +    @api_client.config.logger.debug 'Calling API: WebhooksApi.create_webhook ...'
       end
       # resource path
    -  local_var_path = '/v1/webhooks/{webhook_id}'.sub('{' + 'webhook_id' + '}', CGI.escape(webhook_id.to_s))
    +  local_var_path = '/v1/webhooks'
     
       # query parameters
       query_params = opts[:query_params] || {}
    @@ -995,22 +1088,27 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end # form parameters form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] + post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_webhook_request']) # return_type - return_type = opts[:debug_return_type] + return_type = opts[:debug_return_type] || 'Webhook' # auth_names auth_names = opts[:debug_auth_names] || [] new_options = opts.merge( - :operation => :"WebhooksApi.delete_webhook", + :operation => :"WebhooksApi.create_webhook", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -1019,9 +1117,9 @@

    :return_type => return_type ) - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options) + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: WebhooksApi#delete_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: WebhooksApi#create_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end

    @@ -1031,9 +1129,9 @@

    -

    +

    - #list_webhooks(opts = {}) ⇒ WebhookList + #delete_webhook(webhook_id, opts = {}) ⇒ nil @@ -1042,7 +1140,7 @@

    -

    List webhooks List webhooks, optionally filtered by event type.

    +

    Delete a webhook Delete a webhook

    @@ -1051,6 +1149,22 @@

    Parameters:

      +
    • + + webhook_id + + + (String) + + + + — +
      +

      The Webhook uuid that needs to be deleted

      +
      + +
    • +
    • opts @@ -1071,31 +1185,294 @@

    +

    Returns:

    +
      - - -

      Options Hash (opts):

      -
        +
      • -
      • - :limit - (Integer) - - - - - —
        -

        A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

        -
        - -
      • -
      • - :page - (String) - - - + (nil) + + + +
      • + +
      + +

    + + + + +
    +
    +
    +
    +161
    +162
    +163
    +164
    +
    +
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 161
    +
    +def delete_webhook(webhook_id, opts = {})
    +  delete_webhook_with_http_info(webhook_id, opts)
    +  nil
    +end
    +
    +
    + +
    +

    + + #delete_webhook_with_http_info(webhook_id, opts = {}) ⇒ Array<(nil, Integer, Hash)> + + + + + +

    +
    + +

    Delete a webhook Delete a webhook

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + webhook_id + + + (String) + + + + — +
      +

      The Webhook uuid that needs to be deleted

      +
      + +
    • + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (Array<(nil, Integer, Hash)>) + + + + — +
      +

      nil, response status code and response headers

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +
    +
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 171
    +
    +def delete_webhook_with_http_info(webhook_id, opts = {})
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug 'Calling API: WebhooksApi.delete_webhook ...'
    +  end
    +  # verify the required parameter 'webhook_id' is set
    +  if @api_client.config.client_side_validation && webhook_id.nil?
    +    fail ArgumentError, "Missing the required parameter 'webhook_id' when calling WebhooksApi.delete_webhook"
    +  end
    +  # resource path
    +  local_var_path = '/v1/webhooks/{webhook_id}'.sub('{' + 'webhook_id' + '}', CGI.escape(webhook_id.to_s))
    +
    +  # query parameters
    +  query_params = opts[:query_params] || {}
    +
    +  # header parameters
    +  header_params = opts[:header_params] || {}
    +  # HTTP header 'Accept' (if needed)
    +  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
    +
    +  # form parameters
    +  form_params = opts[:form_params] || {}
    +
    +  # http body (model)
    +  post_body = opts[:debug_body]
    +
    +  # return_type
    +  return_type = opts[:debug_return_type]
    +
    +  # auth_names
    +  auth_names = opts[:debug_auth_names] || []
    +
    +  new_options = opts.merge(
    +    :operation => :"WebhooksApi.delete_webhook",
    +    :header_params => header_params,
    +    :query_params => query_params,
    +    :form_params => form_params,
    +    :body => post_body,
    +    :auth_names => auth_names,
    +    :return_type => return_type
    +  )
    +
    +  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
    +  if @api_client.config.debugging
    +    @api_client.config.logger.debug "API called: WebhooksApi#delete_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
    +  end
    +  return data, status_code, headers
    +end
    +
    +
    + +
    +

    + + #list_webhooks(opts = {}) ⇒ WebhookList + + + + + +

    +
    + +

    List webhooks List webhooks, optionally filtered by event type.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + opts + + + (Hash) + + + (defaults to: {}) + + + — +
      +

      the optional parameters

      +
      + +
    • + +
    + + + + +

    Options Hash (opts):

    +
      + +
    • + :limit + (Integer) + + + + + —
      +

      A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

      +
      + +
    • + +
    • + :page + (String) + + +

      A cursor for pagination across multiple pages of results. Don&#39;t include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.

      @@ -1126,13 +1503,13 @@

       
       
      -155
      -156
      -157
      -158
      +225 +226 +227 +228

    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 155
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 225
     
     def list_webhooks(opts = {})
       data, _status_code, _headers = list_webhooks_with_http_info(opts)
    @@ -1244,58 +1621,58 @@ 

     
     
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    +236 +237 +238 +239 +240 +241 +242 +243 +244 +245 +246 +247 +248 +249 +250 +251 +252 +253 +254 +255 +256 +257 +258 +259 +260 +261 +262 +263 +264 +265 +266 +267 +268 +269 +270 +271 +272 +273 +274 +275 +276 +277 +278 +279 +280 +281 +282 +283 +284

    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 166
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 236
     
     def list_webhooks_with_http_info(opts = {})
       if @api_client.config.debugging
    @@ -1316,7 +1693,7 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # form parameters form_params = opts[:form_params] || {} @@ -1448,13 +1825,13 @@

     
     
    -222
    -223
    -224
    -225
    +292 +293 +294 +295

    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 222
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 292
     
     def update_webhook(webhook_id, opts = {})
       data, _status_code, _headers = update_webhook_with_http_info(webhook_id, opts)
    @@ -1567,61 +1944,61 @@ 

     
     
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
    -254
    -255
    -256
    -257
    -258
    -259
    -260
    -261
    -262
    -263
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
    -284
    +303 +304 +305 +306 +307 +308 +309 +310 +311 +312 +313 +314 +315 +316 +317 +318 +319 +320 +321 +322 +323 +324 +325 +326 +327 +328 +329 +330 +331 +332 +333 +334 +335 +336 +337 +338 +339 +340 +341 +342 +343 +344 +345 +346 +347 +348 +349 +350 +351 +352 +353 +354

    -
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 233
    +      
    # File 'lib/coinbase/client/api/webhooks_api.rb', line 303
     
     def update_webhook_with_http_info(webhook_id, opts = {})
       if @api_client.config.debugging
    @@ -1640,11 +2017,11 @@ 

    # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end # form parameters diff --git a/docs/Coinbase/ContractInvocation.html b/docs/Coinbase/ContractInvocation.html index c5aa363b..e8743cb0 100644 --- a/docs/Coinbase/ContractInvocation.html +++ b/docs/Coinbase/ContractInvocation.html @@ -128,7 +128,7 @@

  • - .create(address_id:, wallet_id:, contract_address:, abi:, method:, args: {}) ⇒ ContractInvocation + .create(address_id:, wallet_id:, contract_address:, method:, network:, args: {}, amount: nil, abi: nil, asset_id: nil) ⇒ ContractInvocation @@ -227,6 +227,30 @@

    Returns the Address ID of the Contract Invocation.

    +

  • + + +
  • + + + #amount ⇒ BigDecimal + + + + + + + + + + + + + +
    +

    Returns the amount of the native asset sent to a payable contract method, if applicable.

    +
    +
  • @@ -644,14 +668,14 @@

     
     
    -70
    -71
    -72
    -73
    -74
    +88 +89 +90 +91 +92

    -
    # File 'lib/coinbase/contract_invocation.rb', line 70
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 88
     
     def initialize(model)
       raise unless model.is_a?(Coinbase::Client::ContractInvocation)
    @@ -673,7 +697,7 @@ 

    Class Method Details

    - .create(address_id:, wallet_id:, contract_address:, abi:, method:, args: {}) ⇒ ContractInvocation + .create(address_id:, wallet_id:, contract_address:, method:, network:, args: {}, amount: nil, abi: nil, asset_id: nil) ⇒ ContractInvocation @@ -747,6 +771,8 @@

    (Array<Hash>) + (defaults to: nil) + —
    @@ -771,6 +797,58 @@

    +
  • + + amount + + + (Integer, Float, BigDecimal) + + + (defaults to: nil) + + + — +
    +

    The amount of the native Asset to send to a payable contract method.

    +
    + +
  • + +
  • + + asset_id + + + (Symbol) + + + (defaults to: nil) + + + — +
    +

    The ID of the Asset to send to a payable contract method. The Asset must be a denomination of the native Asset. For Ethereum, :eth, :gwei, and :wei are supported.

    +
    + +
  • + +
  • + + network + + + (Coinbase::Network, Symbol) + + + + — +
    +

    The Network or Network ID of the Asset

    +
    + +
  • +
  • args @@ -834,13 +912,6 @@

     
     
    -17
    -18
    -19
    -20
    -21
    -22
    -23
     24
     25
     26
    @@ -854,28 +925,57 @@ 

    34 35 36 -37

    +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55

  • -
    # File 'lib/coinbase/contract_invocation.rb', line 17
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 24
     
     def create(
       address_id:,
       wallet_id:,
       contract_address:,
    -  abi:,
       method:,
    -  args: {}
    +  network:,
    +  args: {},
    +  amount: nil,
    +  abi: nil,
    +  asset_id: nil
     )
    +  req = {
    +    method: method,
    +    args: args.to_json,
    +    contract_address: contract_address
    +  }
    +
    +  req[:abi] = abi.to_json unless abi.nil?
    +
    +  # For payable contract invocations, convert the amount to atomic units of specified asset.
    +  if amount && asset_id && network
    +    asset = Coinbase::Asset.fetch(network, asset_id)
    +
    +    req[:amount] = asset.to_atomic_amount(amount).to_i.to_s
    +  end
    +
       model = Coinbase.call_api do
    -    contract_invocation_api.create_contract_invocation(
    -      wallet_id,
    -      address_id,
    -      contract_address: contract_address,
    -      abi: abi.to_json,
    -      method: method,
    -      args: args.to_json
    -    )
    +    contract_invocation_api.create_contract_invocation(wallet_id, address_id, **req)
       end
     
       new(model)
    @@ -929,16 +1029,16 @@ 

     
     
    -43
    -44
    -45
    -46
    -47
    -48
    -49
    +61 +62 +63 +64 +65 +66 +67

    -
    # File 'lib/coinbase/contract_invocation.rb', line 43
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 61
     
     def list(wallet_id:, address_id:)
       Coinbase::Pagination.enumerate(
    @@ -1002,12 +1102,12 @@ 

     
     
    -108
    -109
    -110
    +126 +127 +128

    -
    # File 'lib/coinbase/contract_invocation.rb', line 108
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 126
     
     def abi
       JSON.parse(@model.abi)
    @@ -1061,12 +1161,12 @@ 

     
     
    -90
    -91
    -92
    +108 +109 +110

    -
    # File 'lib/coinbase/contract_invocation.rb', line 90
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 108
     
     def address_id
       @model.address_id
    @@ -1074,6 +1174,65 @@ 

    +
    + +
    +

    + + #amountBigDecimal + + + + + +

    +
    + +

    Returns the amount of the native asset sent to a payable contract method, if applicable.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (BigDecimal) + + + + — +
      +

      The amount in atomic units of the native asset

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +144
    +145
    +146
    +
    +
    # File 'lib/coinbase/contract_invocation.rb', line 144
    +
    +def amount
    +  BigDecimal(@model.amount)
    +end
    +
    @@ -1120,12 +1279,12 @@

     
     
    -120
    -121
    -122
    +138 +139 +140

    -
    # File 'lib/coinbase/contract_invocation.rb', line 120
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 138
     
     def args
       JSON.parse(@model.args).transform_keys(&:to_sym)
    @@ -1197,25 +1356,25 @@ 

     
     
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
    -167
    -168
    +177 +178 +179 +180 +181 +182 +183 +184 +185 +186 +187 +188 +189 +190 +191 +192

    -
    # File 'lib/coinbase/contract_invocation.rb', line 153
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 177
     
     def broadcast!
       raise TransactionNotSignedError unless transaction.signed?
    @@ -1282,12 +1441,12 @@ 

     
     
    -102
    -103
    -104
    +120 +121 +122

    -
    # File 'lib/coinbase/contract_invocation.rb', line 102
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 120
     
     def contract_address
       @model.contract_address
    @@ -1341,12 +1500,12 @@ 

     
     
    -78
    -79
    -80
    +96 +97 +98

    -
    # File 'lib/coinbase/contract_invocation.rb', line 78
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 96
     
     def id
       @model.contract_invocation_id
    @@ -1400,12 +1559,12 @@ 

     
     
    -224
    -225
    -226
    +248 +249 +250

    -
    # File 'lib/coinbase/contract_invocation.rb', line 224
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 248
     
     def inspect
       to_s
    @@ -1459,12 +1618,12 @@ 

     
     
    -114
    -115
    -116
    +132 +133 +134

    -
    # File 'lib/coinbase/contract_invocation.rb', line 114
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 132
     
     def method
       @model.method
    @@ -1518,12 +1677,12 @@ 

     
     
    -96
    -97
    -98
    +114 +115 +116

    -
    # File 'lib/coinbase/contract_invocation.rb', line 96
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 114
     
     def network
       @network ||= Coinbase::Network.from_id(@model.network_id)
    @@ -1577,18 +1736,18 @@ 

     
     
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    +196 +197 +198 +199 +200 +201 +202 +203 +204

    -
    # File 'lib/coinbase/contract_invocation.rb', line 172
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 196
     
     def reload
       @model = Coinbase.call_api do
    @@ -1686,16 +1845,16 @@ 

     
     
    -142
    -143
    -144
    -145
    -146
    -147
    -148
    +166 +167 +168 +169 +170 +171 +172

    -
    # File 'lib/coinbase/contract_invocation.rb', line 142
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 166
     
     def sign(key)
       raise unless key.is_a?(Eth::Key)
    @@ -1753,12 +1912,12 @@ 

     
     
    -132
    -133
    -134
    +156 +157 +158

    -
    # File 'lib/coinbase/contract_invocation.rb', line 132
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 156
     
     def status
       transaction.status
    @@ -1812,24 +1971,24 @@ 

     
     
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    +230 +231 +232 +233 +234 +235 +236 +237 +238 +239 +240 +241 +242 +243 +244

    -
    # File 'lib/coinbase/contract_invocation.rb', line 206
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 230
     
     def to_s
       Coinbase.pretty_print_object(
    @@ -1895,12 +2054,12 @@ 

     
     
    -126
    -127
    -128
    +150 +151 +152

    -
    # File 'lib/coinbase/contract_invocation.rb', line 126
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 150
     
     def transaction
       @transaction ||= Coinbase::Transaction.new(@model.transaction)
    @@ -1994,24 +2153,24 @@ 

     
     
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    +212 +213 +214 +215 +216 +217 +218 +219 +220 +221 +222 +223 +224 +225 +226

    -
    # File 'lib/coinbase/contract_invocation.rb', line 188
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 212
     
     def wait!(interval_seconds = 0.2, timeout_seconds = 20)
       start_time = Time.now
    @@ -2077,12 +2236,12 @@ 

     
     
    -84
    -85
    -86
    +102 +103 +104

    -
    # File 'lib/coinbase/contract_invocation.rb', line 84
    +      
    # File 'lib/coinbase/contract_invocation.rb', line 102
     
     def wallet_id
       @model.wallet_id
    diff --git a/docs/Coinbase/SmartContract.html b/docs/Coinbase/SmartContract.html
    index 692b8a10..4b5c6fc4 100644
    --- a/docs/Coinbase/SmartContract.html
    +++ b/docs/Coinbase/SmartContract.html
    @@ -128,7 +128,7 @@ 

  • - .contract_events_api ⇒ Object + .create_multi_token_contract(address_id:, wallet_id:, uri:) ⇒ Object @@ -150,7 +150,7 @@

  • - .list_events(network_id:, protocol_name:, contract_address:, contract_name:, event_name:, from_block_height:, to_block_height:) ⇒ Enumerable<Coinbase::ContractEvent> + .create_nft_contract(address_id:, wallet_id:, name:, symbol:, base_uri:) ⇒ SmartContract @@ -165,7 +165,7 @@

    -

    Returns a list of ContractEvents for the provided network, contract, and event details.

    +

    Creates a new ERC721 token contract, that can subsequently be deployed to the blockchain.

  • @@ -174,7 +174,7 @@

  • - .list_events_page(network_id, protocol_name, contract_address, contract_name, event_name, from_block_height, to_block_height, page) ⇒ Object + .create_token_contract(address_id:, wallet_id:, name:, symbol:, total_supply:) ⇒ SmartContract @@ -188,7 +188,33 @@

    -
    +
    +

    Creates a new ERC20 token contract, that can subsequently be deployed to the blockchain.

    +
    + +

  • + + +
  • + + + .list_events(network_id:, protocol_name:, contract_address:, contract_name:, event_name:, from_block_height:, to_block_height:) ⇒ Enumerable<Coinbase::ContractEvent> + + + + + + + + + + + + + +
    +

    Returns a list of ContractEvents for the provided network, contract, and event details.

    +
  • @@ -205,7 +231,79 @@

  • - #address ⇒ String + #abi ⇒ Array<Hash> + + + + + + + + + + + + + +
    +

    Returns the ABI of the Smart Contract.

    +
    + +
  • + + +
  • + + + #contract_address ⇒ String + + + + + + + + + + + + + +
    +

    Returns the contract address of the SmartContract.

    +
    + +
  • + + +
  • + + + #deploy! ⇒ SmartContract + + + + + + + + + + + + + +
    +

    Deploys the signed SmartContract to the blockchain.

    +
    + +
  • + + +
  • + + + #deployer_address ⇒ String @@ -220,7 +318,7 @@

    -

    Returns the address of the SmartContract.

    +

    Returns the address of the deployer of the SmartContract.

  • @@ -229,7 +327,7 @@

  • - #contract_name ⇒ String + #id ⇒ String @@ -244,7 +342,7 @@

    -

    Returns the contract name of the SmartContract.

    +

    Returns the SmartContract ID.

  • @@ -303,7 +401,79 @@

  • - #network_id ⇒ String + #network ⇒ Coinbase::Network + + + + + + + + + + + + + +
    +

    Returns the Network of the SmartContract.

    +
    + +
  • + + +
  • + + + #options ⇒ Coinbase::Client::SmartContractOptions + + + + + + + + + + + + + +
    +

    Returns the options of the SmartContract.

    +
    + +
  • + + +
  • + + + #reload ⇒ SmartContract + + + + + + + + + + + + + +
    +

    Reloads the Smart Contract model with the latest version from the server side.

    +
    + +
  • + + +
  • + + + #sign(key) ⇒ SmartContract @@ -318,7 +488,7 @@

    -

    Returns the network ID of the SmartContract.

    +

    Signs the SmartContract deployment transaction with the given key.

  • @@ -327,7 +497,7 @@

  • - #protocol_name ⇒ String + #status ⇒ String @@ -342,7 +512,7 @@

    -

    Returns the protocol name of the SmartContract.

    +

    Returns the status of the SmartContract.

  • @@ -369,6 +539,102 @@

    Returns a string representation of the SmartContract.

    +

  • + + +
  • + + + #transaction ⇒ Coinbase::Transaction + + + + + + + + + + + + + +
    +

    Returns the transaction.

    +
    + +
  • + + +
  • + + + #type ⇒ Coinbase::Client::SmartContractType + + + + + + + + + + + + + +
    +

    Returns the type of the SmartContract.

    +
    + +
  • + + +
  • + + + #wait!(interval_seconds = 0.2, timeout_seconds = 20) ⇒ SmartContract + + + + + + + + + + + + + +
    +

    Waits until the Smart Contract deployment is signed or failed by polling the server at the given interval.

    +
    + +
  • + + +
  • + + + #wallet_id ⇒ String + + + + + + + + + + + + + +
    +

    Returns the ID of the wallet that deployed the SmartContract.

    +
    +
  • @@ -404,7 +670,7 @@

    model - (Coinbase::Client::SmartContract) + (Coinbase::Client::SmartContract) @@ -424,14 +690,18 @@

     
     
    -36
    -37
    -38
    +164 +165 +166 +167 +168

    -
    # File 'lib/coinbase/smart_contract.rb', line 36
    +      
    # File 'lib/coinbase/smart_contract.rb', line 164
     
     def initialize(model)
    +  raise unless model.is_a?(Coinbase::Client::SmartContract)
    +
       @model = model
     end
    @@ -447,9 +717,9 @@

    Class Method Details

    -

    +

    - .contract_events_apiObject + .create_multi_token_contract(address_id:, wallet_id:, uri:) ⇒ Object @@ -461,15 +731,49 @@

     
     
    -80
    -81
    -82
    +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127

    -
    # File 'lib/coinbase/smart_contract.rb', line 80
    +      
    # File 'lib/coinbase/smart_contract.rb', line 108
     
    -def self.contract_events_api
    -  Coinbase::Client::ContractEventsApi.new(Coinbase.configuration.api_client)
    +def self.create_multi_token_contract(
    +  address_id:,
    +  wallet_id:,
    +  uri:
    +)
    +  contract = Coinbase.call_api do
    +    smart_contracts_api.create_smart_contract(
    +      wallet_id,
    +      address_id,
    +      {
    +        type: Coinbase::Client::SmartContractType::ERC1155,
    +        options: Coinbase::Client::MultiTokenContractOptions.new(
    +          uri: uri
    +        ).to_body
    +      }
    +    )
    +  end
    +
    +  new(contract)
     end
    @@ -477,9 +781,9 @@

    -

    +

    - .list_events(network_id:, protocol_name:, contract_address:, contract_name:, event_name:, from_block_height:, to_block_height:) ⇒ Enumerable<Coinbase::ContractEvent> + .create_nft_contract(address_id:, wallet_id:, name:, symbol:, base_uri:) ⇒ SmartContract @@ -488,7 +792,7 @@

    -

    Returns a list of ContractEvents for the provided network, contract, and event details.

    +

    Creates a new ERC721 token contract, that can subsequently be deployed to the blockchain.

    @@ -499,23 +803,23 @@

  • - network_id + address_id - (Symbol) + (String)
    -

    The network ID

    +

    The address ID of deployer

  • - protocol_name + wallet_id (String) @@ -524,106 +828,1234 @@

    -

    The protocol name

    +

    The wallet ID of the deployer

    +
    + +

  • + +
  • + + name + + + (String) + + + + — +
    +

    The name of the token

    +
    + +
  • + +
  • + + symbol + + + (String) + + + + — +
    +

    The symbol of the token

    +
    + +
  • + +
  • + + base_uri + + + (String) + + + + — +
    +

    The base URI for the token metadata

    +
    + +
  • + + + +

    Returns:

    +
      + +
    • + + + (SmartContract) + + + + — +
      +

      The new ERC721 Token SmartContract object

      +
      + +
    • + +
    + +

    + + + + +
    +
    +
    +
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 83
    +
    +def self.create_nft_contract(
    +  address_id:,
    +  wallet_id:,
    +  name:,
    +  symbol:,
    +  base_uri:
    +)
    +  contract = Coinbase.call_api do
    +    smart_contracts_api.create_smart_contract(
    +      wallet_id,
    +      address_id,
    +      {
    +        type: Coinbase::Client::SmartContractType::ERC721,
    +        options: Coinbase::Client::NFTContractOptions.new(
    +          name: name,
    +          symbol: symbol,
    +          base_uri: base_uri
    +        ).to_body
    +      }
    +    )
    +  end
    +
    +  new(contract)
    +end
    +
    +
    + +
    +

    + + .create_token_contract(address_id:, wallet_id:, name:, symbol:, total_supply:) ⇒ SmartContract + + + + + +

    +
    + +

    Creates a new ERC20 token contract, that can subsequently be deployed to the blockchain.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + address_id + + + (String) + + + + — +
      +

      The address ID of deployer

      +
      + +
    • + +
    • + + wallet_id + + + (String) + + + + — +
      +

      The wallet ID of the deployer

      +
      + +
    • + +
    • + + name + + + (String) + + + + — +
      +

      The name of the token

      +
      + +
    • + +
    • + + symbol + + + (String) + + + + — +
      +

      The symbol of the token

      +
      + +
    • + +
    • + + total_supply + + + (String) + + + + — +
      +

      The total supply of the token, denominate in whole units.

      +
      + +
    • + +
    + +

    Returns:

    +
      + +
    • + + + (SmartContract) + + + + — +
      +

      The new ERC20 Token SmartContract object

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 50
    +
    +def self.create_token_contract(
    +  address_id:,
    +  wallet_id:,
    +  name:,
    +  symbol:,
    +  total_supply:
    +)
    +  contract = Coinbase.call_api do
    +    smart_contracts_api.create_smart_contract(
    +      wallet_id,
    +      address_id,
    +      {
    +        type: Coinbase::Client::SmartContractType::ERC20,
    +        options: Coinbase::Client::TokenContractOptions.new(
    +          name: name,
    +          symbol: symbol,
    +          total_supply: BigDecimal(total_supply).to_i.to_s
    +        ).to_body
    +      }
    +    )
    +  end
    +
    +  new(contract)
    +end
    +
    +
    + +
    +

    + + .list_events(network_id:, protocol_name:, contract_address:, contract_name:, event_name:, from_block_height:, to_block_height:) ⇒ Enumerable<Coinbase::ContractEvent> + + + + + +

    +
    + +

    Returns a list of ContractEvents for the provided network, contract, and event details.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + network_id + + + (Symbol) + + + + — +
      +

      The network ID

      +
      + +
    • + +
    • + + protocol_name + + + (String) + + + + — +
      +

      The protocol name

      +
      + +
    • + +
    • + + contract_address + + + (String) + + + + — +
      +

      The contract address

      +
      + +
    • + +
    • + + contract_name + + + (String) + + + + — +
      +

      The contract name

      +
      + +
    • + +
    • + + event_name + + + (String) + + + + — +
      +

      The event name

      +
      + +
    • + +
    • + + from_block_height + + + (Integer) + + + + — +
      +

      The start block height

      +
      + +
    • + +
    • + + to_block_height + + + (Integer) + + + + — +
      +

      The end block height

      +
      + +
    • + +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 15
    +
    +def self.list_events(
    +  network_id:,
    +  protocol_name:,
    +  contract_address:,
    +  contract_name:,
    +  event_name:,
    +  from_block_height:,
    +  to_block_height:
    +)
    +  Coinbase::Pagination.enumerate(
    +    lambda { |page|
    +      list_events_page(
    +        network_id,
    +        protocol_name,
    +        contract_address,
    +        contract_name,
    +        event_name,
    +        from_block_height,
    +        to_block_height,
    +        page
    +      )
    +    }
    +  ) do |contract_event|
    +    Coinbase::ContractEvent.new(contract_event)
    +  end
    +end
    +
    +
    + + + +
    +

    Instance Method Details

    + + +
    +

    + + #abiArray<Hash> + + + + + +

    +
    + +

    Returns the ABI of the Smart Contract.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (Array<Hash>) + + + + — +
      +

      The ABI

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +198
    +199
    +200
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 198
    +
    +def abi
    +  JSON.parse(@model.abi)
    +end
    +
    +
    + +
    +

    + + #contract_addressString + + + + + +

    +
    + +

    Returns the contract address of the SmartContract.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The contract address

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +186
    +187
    +188
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 186
    +
    +def contract_address
    +  @model.contract_address
    +end
    +
    +
    + +
    +

    + + #deploy!SmartContract + + + + + +

    +
    + +

    Deploys the signed SmartContract to the blockchain.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (SmartContract) + + + + — +
      +

      The SmartContract object

      +
      + +
    • + +
    +

    Raises:

    + + +
    + + + + +
    +
    +
    +
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 247
    +
    +def deploy!
    +  raise TransactionNotSignedError unless transaction.signed?
    +
    +  @model = Coinbase.call_api do
    +    smart_contracts_api.deploy_smart_contract(
    +      wallet_id,
    +      deployer_address,
    +      id,
    +      { signed_payload: transaction.signature }
    +    )
    +  end
    +
    +  @transaction = Coinbase::Transaction.new(@model.transaction)
    +
    +  self
    +end
    +
    +
    + +
    +

    + + #deployer_addressString + + + + + +

    +
    + +

    Returns the address of the deployer of the SmartContract.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The deployer address

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +192
    +193
    +194
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 192
    +
    +def deployer_address
    +  @model.deployer_address
    +end
    +
    +
    + +
    +

    + + #idString + + + + + +

    +
    + +

    Returns the SmartContract ID. NOTE: This is not the contract address and is primarily used before the contract is deployed.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The SmartContract ID

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +174
    +175
    +176
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 174
    +
    +def id
    +  @model.smart_contract_id
    +end
    +
    +
    + +
    +

    + + #inspectString + + + + + +

    +
    + +

    Same as to_s.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      a string representation of the SmartContract

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +307
    +308
    +309
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 307
    +
    +def inspect
    +  to_s
    +end
    +
    +
    + +
    +

    + + #networkCoinbase::Network + + + + + +

    +
    + +

    Returns the Network of the SmartContract.

    + + +
    +
    +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +180
    +181
    +182
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 180
    +
    +def network
    +  @network ||= Coinbase::Network.from_id(@model.network_id)
    +end
    +
    +
    + +
    +

    + + #optionsCoinbase::Client::SmartContractOptions + + + + + +

    +
    + +

    Returns the options of the SmartContract.

    + + +
    +
    +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +216
    +217
    +218
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 216
    +
    +def options
    +  @model.options
    +end
    +
    +
    + +
    +

    + + #reloadSmartContract + + + + + +

    +
    + +

    Reloads the Smart Contract model with the latest version from the server side.

    + + +
    - - +
    + +

    Returns:

    +
    • - contract_address - - (String) + (SmartContract)
      -

      The contract address

      +

      The most recent version of Smart Contract from the server

    • -
    • - - contract_name - - - (String) - - - - — -
      -

      The contract name

      +
    + +
    + + + + +
    +
    +
    +
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +
    +
    # File 'lib/coinbase/smart_contract.rb', line 266
    +
    +def reload
    +  @model = Coinbase.call_api do
    +    smart_contracts_api.get_smart_contract(
    +      wallet_id,
    +      deployer_address,
    +      id
    +    )
    +  end
    +
    +  @transaction = Coinbase::Transaction.new(@model.transaction)
    +
    +  self
    +end
    +
    - - + +
    +

    + + #sign(key) ⇒ SmartContract + + + + + +

    +
    + +

    Signs the SmartContract deployment transaction with the given key. This is required before broadcasting the SmartContract.

    + + +
    +
    +
    +

    Parameters:

    +
    • - event_name + key - (String) + (Eth::Key)
      -

      The event name

      +

      The key to sign the SmartContract with

    • +
    + +

    Returns:

    +
      +
    • - from_block_height - - (Integer) + (SmartContract)
      -

      The start block height

      +

      The SmartContract object

    • +
    +

    Raises:

    +
      +
    • - to_block_height - - (Integer) + (RuntimeError)
      -

      The end block height

      +

      If the key is not an Eth::Key

    • -
    - -

    Returns:

    -
      -
    • - (Enumerable<Coinbase::ContractEvent>) + (Coinbase::AlreadySignedError)
      -

      The contract events

      +

      If the SmartContract has already been signed

    • @@ -636,127 +2068,29 @@

       
       
      -15
      -16
      -17
      -18
      -19
      -20
      -21
      -22
      -23
      -24
      -25
      -26
      -27
      -28
      -29
      -30
      -31
      -32
      - - -
      # File 'lib/coinbase/smart_contract.rb', line 15
      -
      -def self.list_events(
      -  network_id:,
      -  protocol_name:,
      -  contract_address:,
      -  contract_name:,
      -  event_name:,
      -  from_block_height:,
      -  to_block_height:
      -)
      -  Coinbase::Pagination.enumerate(
      -    lambda { |page|
      -      list_events_page(network_id, protocol_name, contract_address, contract_name, event_name, from_block_height,
      -                       to_block_height, page)
      -    }
      -  ) do |contract_event|
      -    Coinbase::ContractEvent.new(contract_event)
      -  end
      -end
      +238 +239 +240 +241 +242

    - - - - -
    -

    - - .list_events_page(network_id, protocol_name, contract_address, contract_name, event_name, from_block_height, to_block_height, page) ⇒ Object - - - - - -

    - -
    -
    +      
    # File 'lib/coinbase/smart_contract.rb', line 238
     
    +def sign(key)
    +  raise unless key.is_a?(Eth::Key)
     
    -84
    -85
    -86
    -87
    -88
    -89
    -90
    -91
    -92
    -93
    -94
    -95
    -96
    -97
    -98
    -99
    -100
    -101
    -102
    -103
    -104
    -
    -
    # File 'lib/coinbase/smart_contract.rb', line 84
    -
    -def self.list_events_page(
    -  network_id,
    -  protocol_name,
    -  contract_address,
    -  contract_name,
    -  event_name,
    -  from_block_height,
    -  to_block_height,
    -  page
    -)
    -  contract_events_api.list_contract_events(
    -    Coinbase.normalize_network(network_id),
    -    protocol_name,
    -    contract_address,
    -    contract_name,
    -    event_name,
    -    from_block_height,
    -    to_block_height,
    -    { next_page: page }
    -  )
    +  transaction.sign(key)
     end
    - - -
    -

    Instance Method Details

    - - -
    -

    +
    +

    - #addressString + #statusString @@ -765,7 +2099,7 @@

    -

    Returns the address of the SmartContract.

    +

    Returns the status of the SmartContract.

    @@ -784,7 +2118,7 @@

    -

    The contract address

    +

    The status

    @@ -797,15 +2131,15 @@

     
     
    -60
    -61
    -62
    +228 +229 +230

    -
    # File 'lib/coinbase/smart_contract.rb', line 60
    +      
    # File 'lib/coinbase/smart_contract.rb', line 228
     
    -def address
    -  @model.address
    +def status
    +  transaction.status
     end
    @@ -813,9 +2147,9 @@

    -

    +

    - #contract_nameString + #to_sString @@ -824,7 +2158,7 @@

    -

    Returns the contract name of the SmartContract.

    +

    Returns a string representation of the SmartContract.

    @@ -843,7 +2177,7 @@

    -

    The contract name

    +

    a string representation of the SmartContract

    @@ -856,15 +2190,31 @@

     
     
    -54
    -55
    -56
    +313 +314 +315 +316 +317 +318 +319 +320 +321 +322 +323

    -
    # File 'lib/coinbase/smart_contract.rb', line 54
    +      
    # File 'lib/coinbase/smart_contract.rb', line 313
     
    -def contract_name
    -  @model.contract_name
    +def to_s
    +  Coinbase.pretty_print_object(
    +    self.class,
    +    network: network.id,
    +    contract_address: contract_address,
    +    deployer_address: deployer_address,
    +    type: type,
    +    status: status,
    +    options: Coinbase.pretty_print_object('Options', **options)
    +  )
     end
    @@ -872,9 +2222,9 @@

    -

    +

    - #inspectString + #transactionCoinbase::Transaction @@ -883,7 +2233,7 @@

    -

    Same as to_s.

    +

    Returns the transaction.

    @@ -896,13 +2246,13 @@

  • - (String) + (Coinbase::Transaction)
    -

    a string representation of the SmartContract

    +

    The SmartContracy deployment transaction

  • @@ -915,15 +2265,15 @@

     
     
    -76
    -77
    -78
    +222 +223 +224

    -
    # File 'lib/coinbase/smart_contract.rb', line 76
    +      
    # File 'lib/coinbase/smart_contract.rb', line 222
     
    -def inspect
    -  to_s
    +def transaction
    +  @transaction ||= Coinbase::Transaction.new(@model.transaction)
     end
    @@ -931,9 +2281,9 @@

    -

    +

    - #network_idString + #typeCoinbase::Client::SmartContractType @@ -942,7 +2292,7 @@

    -

    Returns the network ID of the SmartContract.

    +

    Returns the type of the SmartContract.

    @@ -955,13 +2305,13 @@

  • - (String) + (Coinbase::Client::SmartContractType)
    -

    The network ID

    +

    The SmartContract type

  • @@ -974,15 +2324,15 @@

     
     
    -42
    -43
    -44
    +210 +211 +212

    -
    # File 'lib/coinbase/smart_contract.rb', line 42
    +      
    # File 'lib/coinbase/smart_contract.rb', line 210
     
    -def network_id
    -  Coinbase.to_sym(@model.network_id)
    +def type
    +  @model.type
     end
    @@ -990,9 +2340,9 @@

    -

    +

    - #protocol_nameString + #wait!(interval_seconds = 0.2, timeout_seconds = 20) ⇒ SmartContract @@ -1001,26 +2351,84 @@

    -

    Returns the protocol name of the SmartContract.

    +

    Waits until the Smart Contract deployment is signed or failed by polling the server at the given interval. deployment to land on-chain, in seconds

    +

    Parameters:

    +
      + +
    • + + interval_seconds + + + (Integer) + + + (defaults to: 0.2) + + + — +
      +

      The interval at which to poll the server, in seconds

      +
      + +
    • + +
    • + + timeout_seconds + + + (Integer) + + + (defaults to: 20) + + + — +
      +

      The maximum amount of time to wait for the Smart Contract,

      +
      + +
    • +
    +

    Returns:

    • - (String) + (SmartContract)
      -

      The protocol name

      +

      The completed Smart Contract object

      +
      + +
    • + +
    +

    Raises:

    +
      + +
    • + + + (Timeout::Error) + + + + — +
      +

      if the Contract Invocation takes longer than the given timeout

    • @@ -1033,15 +2441,45 @@

       
       
      -48
      -49
      -50
      +286 +287 +288 +289 +290 +291 +292 +293 +294 +295 +296 +297 +298 +299 +300 +301 +302 +303

    -
    # File 'lib/coinbase/smart_contract.rb', line 48
    +      
    # File 'lib/coinbase/smart_contract.rb', line 286
    +
    +def wait!(interval_seconds = 0.2, timeout_seconds = 20)
    +  start_time = Time.now
     
    -def protocol_name
    -  @model.protocol_name
    +  loop do
    +    reload
    +
    +    return self if transaction.terminal_state?
    +
    +    if Time.now - start_time > timeout_seconds
    +      raise Timeout::Error,
    +            'SmartContract deployment timed out. Try waiting again.'
    +    end
    +
    +    self.sleep interval_seconds
    +  end
    +
    +  self
     end
    @@ -1049,9 +2487,9 @@

    -

    +

    - #to_sString + #wallet_idString @@ -1060,7 +2498,7 @@

    -

    Returns a string representation of the SmartContract.

    +

    Returns the ID of the wallet that deployed the SmartContract.

    @@ -1079,7 +2517,7 @@

    -

    a string representation of the SmartContract

    +

    The wallet ID

    @@ -1092,23 +2530,15 @@

     
     
    -66
    -67
    -68
    -69
    -70
    -71
    -72
    +204 +205 +206

    -
    # File 'lib/coinbase/smart_contract.rb', line 66
    +      
    # File 'lib/coinbase/smart_contract.rb', line 204
     
    -def to_s
    -  "Coinbase::SmartContract{
    -    network_id: '#{network_id}',
    -    protocol_name: '#{protocol_name}',
    -    contract_name: '#{contract_name}',
    -    address: '#{address}'}"
    +def wallet_id
    +  @model.wallet_id
     end
    diff --git a/docs/Coinbase/Transaction.html b/docs/Coinbase/Transaction.html index 3dd36f30..571e0ce8 100644 --- a/docs/Coinbase/Transaction.html +++ b/docs/Coinbase/Transaction.html @@ -927,12 +927,12 @@

     
     
    -169
    -170
    -171
    +172 +173 +174

    -
    # File 'lib/coinbase/transaction.rb', line 169
    +      
    # File 'lib/coinbase/transaction.rb', line 172
     
     def inspect
       to_s
    @@ -1085,6 +1085,19 @@ 

    The hex-encoded signed payload

    + + + +

    Raises:

    + @@ -1099,12 +1112,18 @@

    150 151 152 -153

    +153 +154 +155 +156
    # File 'lib/coinbase/transaction.rb', line 149
     
     def sign(key)
    +  raise 'Invalid key type' unless key.is_a?(Eth::Key)
    +  raise Coinbase::AlreadySignedError if signed?
    +
       raw.sign(key)
     
       signature
    @@ -1217,12 +1236,12 @@ 

     
     
    -157
    -158
    -159
    +160 +161 +162

    -
    # File 'lib/coinbase/transaction.rb', line 157
    +      
    # File 'lib/coinbase/transaction.rb', line 160
     
     def signed?
       Eth::Tx.signed?(raw)
    @@ -1512,12 +1531,12 @@ 

     
     
    -163
    -164
    -165
    +166 +167 +168

    -
    # File 'lib/coinbase/transaction.rb', line 163
    +      
    # File 'lib/coinbase/transaction.rb', line 166
     
     def to_s
       "Coinbase::Transaction{transaction_hash: '#{transaction_hash}', status: '#{status}'}"
    diff --git a/docs/Coinbase/Transfer.html b/docs/Coinbase/Transfer.html
    index 483d65ff..974cce86 100644
    --- a/docs/Coinbase/Transfer.html
    +++ b/docs/Coinbase/Transfer.html
    @@ -401,7 +401,7 @@ 

  • - #network ⇒ Symbol + #network ⇒ Coinbase::Network @@ -1516,7 +1516,7 @@

    - #networkSymbol + #networkCoinbase::Network @@ -1538,7 +1538,7 @@

  • - (Symbol) + (Coinbase::Network) diff --git a/docs/Coinbase/Wallet.html b/docs/Coinbase/Wallet.html index 0a674bf8..38cef285 100644 --- a/docs/Coinbase/Wallet.html +++ b/docs/Coinbase/Wallet.html @@ -463,6 +463,30 @@

    Creates a new Address in the Wallet.

  • +

  • + + +
  • + + + #create_webhook(notification_uri:) ⇒ Coinbase::Client::Webhook + + + + + + + + + + + + + +
    +

    Creates a new webhook on the current wallet for tracking wallet activity events.

    +
    +
  • @@ -487,6 +511,78 @@

    Returns the default address of the Wallet.

    + + + +
  • + + + #deploy_multi_token ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC1155 multi-token contract with the given URI.

    +
    + +
  • + + +
  • + + + #deploy_nft ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC721 NFT contract with the given name, symbol, and base URI.

    +
    + +
  • + + +
  • + + + #deploy_token ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC20 token contract with the given name, symbol, and total supply.

    +
    +
  • @@ -1567,12 +1663,12 @@

     
     
    -339
    -340
    -341
    +362 +363 +364

    -
    # File 'lib/coinbase/wallet.rb', line 339
    +      
    # File 'lib/coinbase/wallet.rb', line 362
     
     def address(address_id)
       addresses.find { |address| address.id == address_id }
    @@ -1626,14 +1722,14 @@ 

     
     
    -244
    -245
    -246
    -247
    -248
    +267 +268 +269 +270 +271

    -
    # File 'lib/coinbase/wallet.rb', line 244
    +      
    # File 'lib/coinbase/wallet.rb', line 267
     
     def addresses
       return @addresses unless @addresses.nil?
    @@ -1709,18 +1805,18 @@ 

     
     
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    +379 +380 +381 +382 +383 +384 +385 +386 +387

    -
    # File 'lib/coinbase/wallet.rb', line 356
    +      
    # File 'lib/coinbase/wallet.rb', line 379
     
     def balance(asset_id)
       response = Coinbase.call_api do
    @@ -1780,16 +1876,16 @@ 

     
     
    -345
    -346
    -347
    -348
    -349
    -350
    -351
    +368 +369 +370 +371 +372 +373 +374

    -
    # File 'lib/coinbase/wallet.rb', line 345
    +      
    # File 'lib/coinbase/wallet.rb', line 368
     
     def balances
       response = Coinbase.call_api do
    @@ -1847,12 +1943,12 @@ 

     
     
    -379
    -380
    -381
    +402 +403 +404

    -
    # File 'lib/coinbase/wallet.rb', line 379
    +      
    # File 'lib/coinbase/wallet.rb', line 402
     
     def can_sign?
       !@master.nil?
    @@ -2136,29 +2232,6 @@ 

     
     
    -292
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
    -302
    -303
    -304
    -305
    -306
    -307
    -308
    -309
    -310
    -311
    -312
    -313
    -314
     315
     316
     317
    @@ -2172,10 +2245,33 @@ 

    325 326 327 -328

    +328 +329 +330 +331 +332 +333 +334 +335 +336 +337 +338 +339 +340 +341 +342 +343 +344 +345 +346 +347 +348 +349 +350 +351

    -
    # File 'lib/coinbase/wallet.rb', line 292
    +      
    # File 'lib/coinbase/wallet.rb', line 315
     
     def create_address
       req = {}
    @@ -2220,9 +2316,9 @@ 

    -

    +

    - #default_addressAddress + #create_webhook(notification_uri:) ⇒ Coinbase::Client::Webhook @@ -2231,26 +2327,46 @@

    -

    Returns the default address of the Wallet.

    +

    Creates a new webhook on the current wallet for tracking wallet activity events.

    +

    Parameters:

    +
      + +
    • + + notification_uri + + + (String) + + + + — +
      +

      The URI to which the webhook notifications will be sent.

      +
      + +
    • +
    +

    Returns:

    • - (Address) + (Coinbase::Client::Webhook)
      -

      The default address

      +

      The newly created webhook instance.

    • @@ -2263,15 +2379,29 @@

       
       
      -332
      -333
      -334
      +490 +491 +492 +493 +494 +495 +496 +497 +498 +499

    -
    # File 'lib/coinbase/wallet.rb', line 332
    -
    -def default_address
    -  address(@model.default_address&.address_id)
    +      
    # File 'lib/coinbase/wallet.rb', line 490
    +
    +def create_webhook(notification_uri:)
    +  Coinbase.call_api do
    +    webhooks_api.create_wallet_webhook(
    +      id,
    +      create_wallet_webhook_request: {
    +        notification_uri: notification_uri
    +      }
    +    )
    +  end
     end
    @@ -2279,9 +2409,9 @@

    -

    +

    - #exportCoinbase::Wallet::Data + #default_addressAddress @@ -2290,7 +2420,7 @@

    -

    Exports the Wallet's data to a Data object.

    +

    Returns the default address of the Wallet.

    @@ -2303,13 +2433,13 @@

  • - (Coinbase::Wallet::Data) + (Address)
    -

    The Wallet data

    +

    The default address

  • @@ -2322,25 +2452,15 @@

     
     
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    +355 +356 +357

    -
    # File 'lib/coinbase/wallet.rb', line 368
    -
    -def export
    -  # TODO: Improve this check by relying on the backend data to decide whether a wallet is server-signer backed.
    -  raise 'Cannot export data for Server-Signer backed Wallet' if Coinbase.use_server_signer?
    -
    -  raise 'Cannot export Wallet without loaded seed' if @master.nil?
    +      
    # File 'lib/coinbase/wallet.rb', line 355
     
    -  Data.new(wallet_id: id, seed: @master.seed_hex)
    +def default_address
    +  address(@model.default_address&.address_id)
     end
    @@ -2348,9 +2468,9 @@

    -

    +

    - #faucetCoinbase::FaucetTransaction + #deploy_multi_tokenCoinbase::SmartContract @@ -2359,7 +2479,7 @@

    -

    Requests funds from the faucet for the Wallet's default address and returns the faucet transaction. This is only supported on testnet networks.

    +

    Deploys a new ERC1155 multi-token contract with the given URI.

    @@ -2370,16 +2490,16 @@

  • - asset_id + uri - (Symbol) + (String)
    -

    The ID of the Asset to transfer to the wallet.

    +

    The URI for the token metadata, where #id will be replaced with the token ID.

  • @@ -2392,13 +2512,13 @@

  • - (Coinbase::FaucetTransaction) + (Coinbase::SmartContract)
    -

    The successful faucet transaction

    +

    The deployed multi-token contract.

  • @@ -2410,27 +2530,13 @@

  • - (Coinbase::FaucetLimitReachedError) - - - - — -
    -

    If the faucet limit has been reached for the address or user.

    -
    - -
  • - -
  • - - - (Coinbase::Client::ApiError) + (AddressCannotSignError)
    -

    If an unexpected error occurs while requesting faucet funds.

    +

    if the Address does not have a private key backing it.

  • @@ -2443,21 +2549,25 @@

     
     
    -
    +261 +262 +263

    -
    # File 'lib/coinbase/wallet.rb', line 164
    +      
    # File 'lib/coinbase/wallet.rb', line 261
     
    -
    +def_delegators :default_address, :transfer, :trade, :faucet, :stake, :unstake, :claim_stake, :staking_balances, +:stakeable_balance, :unstakeable_balance, :claimable_balance, :sign_payload, :invoke_contract, +:deploy_token, :deploy_nft, :deploy_multi_token
    -

    +

    - #idString + #deploy_nftCoinbase::SmartContract @@ -2466,18 +2576,19 @@

    -

    Returns the Wallet ID.

    +

    Deploys a new ERC721 NFT contract with the given name, symbol, and base URI.

    - -

    Returns:

    -
      +

      Parameters:

      +
      • + name + (String) @@ -2485,25 +2596,450 @@

        -

        The Wallet ID

        +

        The name of the NFT contract.

      • -
      - -
    - - - + + +
    -
    -
    -
    -252
    -253
    -254
    -
    -
    # File 'lib/coinbase/wallet.rb', line 252
    +    
  • + + symbol + + + (String) + + + + — +
    +

    The symbol of the NFT contract.

    +
    + +
  • + +
  • + + base_uri + + + (String) + + + + — +
    +

    The base URI for the NFT contract.

    +
    + +
  • + + + +

    Returns:

    + +

    Raises:

    +
      + +
    • + + + (AddressCannotSignError) + + + + — +
      +

      if the Address does not have a private key backing it.

      +
      + +
    • + +
    + + + + + + +
    +
    +
    +
    +
    +
    +
    # File 'lib/coinbase/wallet.rb', line 247
    +
    +
    +
    + + +
    +

    + + #deploy_tokenCoinbase::SmartContract + + + + + +

    +
    + +

    Deploys a new ERC20 token contract with the given name, symbol, and total supply. whole units.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + name + + + (String) + + + + — +
      +

      The name of the token.

      +
      + +
    • + +
    • + + symbol + + + (String) + + + + — +
      +

      The symbol of the token.

      +
      + +
    • + +
    • + + total_supply + + + (Integer, BigDecimal) + + + + — +
      +

      The total supply of the token, denominated in

      +
      + +
    • + +
    + +

    Returns:

    + +

    Raises:

    +
      + +
    • + + + (AddressCannotSignError) + + + + — +
      +

      if the Address does not have a private key backing it.

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +
    +
    +
    # File 'lib/coinbase/wallet.rb', line 238
    +
    +
    +
    +
    + +
    +

    + + #exportCoinbase::Wallet::Data + + + + + +

    +
    + +

    Exports the Wallet's data to a Data object.

    + + +
    +
    +
    + +

    Returns:

    + + +
    + + + + +
    +
    +
    +
    +391
    +392
    +393
    +394
    +395
    +396
    +397
    +398
    +
    +
    # File 'lib/coinbase/wallet.rb', line 391
    +
    +def export
    +  # TODO: Improve this check by relying on the backend data to decide whether a wallet is server-signer backed.
    +  raise 'Cannot export data for Server-Signer backed Wallet' if Coinbase.use_server_signer?
    +
    +  raise 'Cannot export Wallet without loaded seed' if @master.nil?
    +
    +  Data.new(wallet_id: id, seed: @master.seed_hex)
    +end
    +
    +
    + +
    +

    + + #faucetCoinbase::FaucetTransaction + + + + + +

    +
    + +

    Requests funds from the faucet for the Wallet's default address and returns the faucet transaction. This is only supported on testnet networks.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + asset_id + + + (Symbol) + + + + — +
      +

      The ID of the Asset to transfer to the wallet.

      +
      + +
    • + +
    + +

    Returns:

    + +

    Raises:

    + + +
    + + + + +
    +
    +
    +
    +
    +
    +
    # File 'lib/coinbase/wallet.rb', line 164
    +
    +
    +
    +
    + +
    +

    + + #idString + + + + + +

    +
    + +

    Returns the Wallet ID.

    + + +
    +
    +
    + +

    Returns:

    +
      + +
    • + + + (String) + + + + — +
      +

      The Wallet ID

      +
      + +
    • + +
    + +
    + + +
    +
    +
    +
    +275
    +276
    +277
    +
    +
    # File 'lib/coinbase/wallet.rb', line 275
     
     def id
       @model.id
    @@ -2557,12 +3093,12 @@ 

     
     
    -475
    -476
    -477
    +514 +515 +516

    -
    # File 'lib/coinbase/wallet.rb', line 475
    +      
    # File 'lib/coinbase/wallet.rb', line 514
     
     def inspect
       to_s
    @@ -2618,14 +3154,12 @@ 

     
     
    -239
    -240
    +

    -
    # File 'lib/coinbase/wallet.rb', line 239
    +      
    # File 'lib/coinbase/wallet.rb', line 234
     
    -def_delegators :default_address, :transfer, :trade, :faucet, :stake, :unstake, :claim_stake, :staking_balances,
    -:stakeable_balance, :unstakeable_balance, :claimable_balance, :sign_payload, :invoke_contract
    +
    @@ -2708,29 +3242,6 @@

     
     
    -426
    -427
    -428
    -429
    -430
    -431
    -432
    -433
    -434
    -435
    -436
    -437
    -438
    -439
    -440
    -441
    -442
    -443
    -444
    -445
    -446
    -447
    -448
     449
     450
     451
    @@ -2742,10 +3253,33 @@ 

    457 458 459 -460

    +460 +461 +462 +463 +464 +465 +466 +467 +468 +469 +470 +471 +472 +473 +474 +475 +476 +477 +478 +479 +480 +481 +482 +483

    -
    # File 'lib/coinbase/wallet.rb', line 426
    +      
    # File 'lib/coinbase/wallet.rb', line 449
     
     def load_seed(file_path)
       raise 'Wallet already has seed loaded' unless @master.nil?
    @@ -2831,12 +3365,12 @@ 

     
     
    -258
    -259
    -260
    +281 +282 +283

    -
    # File 'lib/coinbase/wallet.rb', line 258
    +      
    # File 'lib/coinbase/wallet.rb', line 281
     
     def network
       @network ||= Coinbase::Network.from_id(@model.network_id)
    @@ -2930,29 +3464,6 @@ 

     
     
    -391
    -392
    -393
    -394
    -395
    -396
    -397
    -398
    -399
    -400
    -401
    -402
    -403
    -404
    -405
    -406
    -407
    -408
    -409
    -410
    -411
    -412
    -413
     414
     415
     416
    @@ -2960,10 +3471,33 @@ 

    418 419 420 -421

    +421 +422 +423 +424 +425 +426 +427 +428 +429 +430 +431 +432 +433 +434 +435 +436 +437 +438 +439 +440 +441 +442 +443 +444

    -
    # File 'lib/coinbase/wallet.rb', line 391
    +      
    # File 'lib/coinbase/wallet.rb', line 414
     
     def save_seed!(file_path, encrypt: false)
       raise 'Wallet does not have seed loaded' if @master.nil?
    @@ -3060,28 +3594,28 @@ 

     
     
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
    -284
    -285
    -286
    -287
    -288
    +293 +294 +295 +296 +297 +298 +299 +300 +301 +302 +303 +304 +305 +306 +307 +308 +309 +310 +311

    -
    # File 'lib/coinbase/wallet.rb', line 270
    +      
    # File 'lib/coinbase/wallet.rb', line 293
     
     def seed=(seed)
       raise ArgumentError, 'Seed must not be empty' if seed.nil? || seed.empty?
    @@ -3151,12 +3685,12 @@ 

     
     
    -264
    -265
    -266
    +287 +288 +289

    -
    # File 'lib/coinbase/wallet.rb', line 264
    +      
    # File 'lib/coinbase/wallet.rb', line 287
     
     def server_signer_status
       Coinbase.to_sym(@model.server_signer_status)
    @@ -3664,17 +4198,17 @@ 

     
     
    -464
    -465
    -466
    -467
    -468
    -469
    -470
    -471
    +503 +504 +505 +506 +507 +508 +509 +510

    -
    # File 'lib/coinbase/wallet.rb', line 464
    +      
    # File 'lib/coinbase/wallet.rb', line 503
     
     def to_s
       Coinbase.pretty_print_object(
    diff --git a/docs/Coinbase/WalletAddress.html b/docs/Coinbase/WalletAddress.html
    index 4fa41c53..ded0af44 100644
    --- a/docs/Coinbase/WalletAddress.html
    +++ b/docs/Coinbase/WalletAddress.html
    @@ -177,6 +177,78 @@ 

    Claims the given amount of the given Asset.

    + + + +
  • + + + #deploy_multi_token(uri:) ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC1155 multi-token contract with the given URI.

    +
    + +
  • + + +
  • + + + #deploy_nft(name:, symbol:, base_uri:) ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC721 NFT contract with the given name, symbol, and base URI.

    +
    + +
  • + + +
  • + + + #deploy_token(name:, symbol:, total_supply:) ⇒ Coinbase::SmartContract + + + + + + + + + + + + + +
    +

    Deploys a new ERC20 token contract with the given name, symbol, and total supply.

    +
    +
  • @@ -233,7 +305,7 @@

  • - #invoke_contract(contract_address:, abi:, method:, args:) ⇒ Coinbase::ContractInvocation + #invoke_contract(contract_address:, method:, args:, abi: nil, amount: nil, asset_id: nil) ⇒ Coinbase::ContractInvocation @@ -669,12 +741,12 @@

     
     
    -199
    -200
    -201
    +276 +277 +278

  • -
    # File 'lib/coinbase/address/wallet_address.rb', line 199
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 276
     
     def can_sign?
       !@key.nil?
    @@ -854,23 +926,458 @@ 

     
     
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +

    +
    # File 'lib/coinbase/address/wallet_address.rb', line 266
    +
    +def claim_stake(amount, asset_id, mode: :default, options: {}, interval_seconds: 5, timeout_seconds: 600)
    +  validate_can_perform_staking_action!(amount, asset_id, 'claimable_balance', mode, options)
    +
    +  op = StakingOperation.create(amount, network, asset_id, id, wallet_id, 'claim_stake', mode, options)
    +
    +  op.complete(@key, interval_seconds: interval_seconds, timeout_seconds: timeout_seconds)
    +end
    +
    +
    + +
    +

    + + #deploy_multi_token(uri:) ⇒ Coinbase::SmartContract + + + + + +

    +
    + +

    Deploys a new ERC1155 multi-token contract with the given URI.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + uri + + + (String) + + + + — +
      +

      The URI for the token metadata, where Address#id will be replaced with the token ID.

      +
      + +
    • + +
    + +

    Returns:

    + +

    Raises:

    +
      + +
    • + + + (AddressCannotSignError) + + + + — +
      +

      if the Address does not have a private key backing it.

      +
      + +
    • + +
    + +
    + + + +
    +
    +
    +
    +186
    +187
    +188
     189
     190
     191
     192
     193
     194
    -195
    +195 +196 +197 +198 +199 +200
    -
    # File 'lib/coinbase/address/wallet_address.rb', line 189
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 186
     
    -def claim_stake(amount, asset_id, mode: :default, options: {}, interval_seconds: 5, timeout_seconds: 600)
    -  validate_can_perform_staking_action!(amount, asset_id, 'claimable_balance', mode, options)
    +def deploy_multi_token(uri:)
    +  ensure_can_sign!
     
    -  op = StakingOperation.create(amount, network, asset_id, id, wallet_id, 'claim_stake', mode, options)
    +  smart_contract = SmartContract.create_multi_token_contract(
    +    address_id: id,
    +    wallet_id: wallet_id,
    +    uri: uri
    +  )
     
    -  op.complete(@key, interval_seconds: interval_seconds, timeout_seconds: timeout_seconds)
    +  return smart_contract if Coinbase.use_server_signer?
    +
    +  smart_contract.sign(@key)
    +  smart_contract.deploy!
    +  smart_contract
    +end
    +
    +
    + +
    +

    + + #deploy_nft(name:, symbol:, base_uri:) ⇒ Coinbase::SmartContract + + + + + +

    +
    + +

    Deploys a new ERC721 NFT contract with the given name, symbol, and base URI.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + name + + + (String) + + + + — +
      +

      The name of the NFT contract.

      +
      + +
    • + +
    • + + symbol + + + (String) + + + + — +
      +

      The symbol of the NFT contract.

      +
      + +
    • + +
    • + + base_uri + + + (String) + + + + — +
      +

      The base URI for the NFT contract.

      +
      + +
    • + +
    + +

    Returns:

    + +

    Raises:

    +
      + +
    • + + + (AddressCannotSignError) + + + + — +
      +

      if the Address does not have a private key backing it.

      +
      + +
    • + +
    + +
    + + + + +
    +
    +
    +
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +
    +
    # File 'lib/coinbase/address/wallet_address.rb', line 164
    +
    +def deploy_nft(name:, symbol:, base_uri:)
    +  ensure_can_sign!
    +
    +  smart_contract = SmartContract.create_nft_contract(
    +    address_id: id,
    +    wallet_id: wallet_id,
    +    name: name,
    +    symbol: symbol,
    +    base_uri: base_uri
    +  )
    +
    +  return smart_contract if Coinbase.use_server_signer?
    +
    +  smart_contract.sign(@key)
    +  smart_contract.deploy!
    +  smart_contract
    +end
    +
    +
    + +
    +

    + + #deploy_token(name:, symbol:, total_supply:) ⇒ Coinbase::SmartContract + + + + + +

    +
    + +

    Deploys a new ERC20 token contract with the given name, symbol, and total supply. whole units.

    + + +
    +
    +
    +

    Parameters:

    +
      + +
    • + + name + + + (String) + + + + — +
      +

      The name of the token.

      +
      + +
    • + +
    • + + symbol + + + (String) + + + + — +
      +

      The symbol of the token.

      +
      + +
    • + +
    • + + total_supply + + + (Integer, BigDecimal) + + + + — +
      +

      The total supply of the token, denominated in

      +
      + +
    • + +
    + +

    Returns:

    + +

    Raises:

    +
      + +
    • + + + (AddressCannotSignError) + + + + — +
      +

      if the Address does not have a private key backing it.

      +
      + +
    • + +
    + +
    + + + @@ -921,14 +1428,14 @@

     
     
    -205
    -206
    -207
    -208
    -209
    +282 +283 +284 +285 +286

    +
    +
    +
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +
    +
    # File 'lib/coinbase/address/wallet_address.rb', line 140
    +
    +def deploy_token(name:, symbol:, total_supply:)
    +  ensure_can_sign!
    +
    +  smart_contract = SmartContract.create_token_contract(
    +    address_id: id,
    +    wallet_id: wallet_id,
    +    name: name,
    +    symbol: symbol,
    +    total_supply: total_supply
    +  )
    +
    +  return smart_contract if Coinbase.use_server_signer?
    +
    +  smart_contract.sign(@key)
    +  smart_contract.deploy!
    +  smart_contract
     end
    -
    # File 'lib/coinbase/address/wallet_address.rb', line 205
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 282
     
     def export
       raise 'Cannot export key without private key loaded' if @key.nil?
    @@ -943,7 +1450,7 @@ 

    - #invoke_contract(contract_address:, abi:, method:, args:) ⇒ Coinbase::ContractInvocation + #invoke_contract(contract_address:, method:, args:, abi: nil, amount: nil, asset_id: nil) ⇒ Coinbase::ContractInvocation @@ -985,6 +1492,8 @@

    (Array<Hash>) + (defaults to: nil) + —
    @@ -1021,6 +1530,42 @@

    The arguments to pass to the contract method. The keys should be the argument names, and the values should be the argument values.

    +
    + + + +
  • + + amount + + + (Integer, Float, BigDecimal) + + + (defaults to: nil) + + + — +
    +

    (Optional) The amount of the native Asset to send to a payable contract method.

    +
    + +
  • + +
  • + + asset_id + + + (Symbol) + + + (defaults to: nil) + + + — +
    +

    (Optional) The ID of the Asset to send to a payable contract method. The Asset must be a denomination of the native Asset. For Ethereum, :eth, :gwei, and :wei are supported.

  • @@ -1052,10 +1597,6 @@

     
     
    -105
    -106
    -107
    -108
     109
     110
     111
    @@ -1070,13 +1611,22 @@ 

    120 121 122 -123

    +123 +124 +125 +126 +127 +128 +129 +130 +131

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 105
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 109
     
    -def invoke_contract(contract_address:, abi:, method:, args:)
    +def invoke_contract(contract_address:, method:, args:, abi: nil, amount: nil, asset_id: nil)
       ensure_can_sign!
    +  ensure_sufficient_balance!(amount, asset_id) if amount && asset_id
     
       invocation = ContractInvocation.create(
         address_id: id,
    @@ -1084,7 +1634,10 @@ 

    contract_address: contract_address, abi: abi, method: method, - args: args + args: args, + amount: amount, + asset_id: asset_id, + network: network ) # If a server signer is managing keys, it will sign and broadcast the underlying transaction out of band. @@ -1208,12 +1761,12 @@

     
     
    -231
    -232
    -233
    +308 +309 +310

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 231
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 308
     
     def payload_signatures
       PayloadSignature.list(wallet_id: wallet_id, address_id: id)
    @@ -1287,23 +1840,23 @@ 

     
     
    -128
    -129
    -130
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    +205 +206 +207 +208 +209 +210 +211 +212 +213 +214 +215 +216 +217 +218

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 128
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 205
     
     def sign_payload(unsigned_payload:)
       ensure_can_sign!
    @@ -1494,16 +2047,16 @@ 

     
     
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    +230 +231 +232 +233 +234 +235 +236

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 153
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 230
     
     def stake(amount, asset_id, mode: :default, options: {}, interval_seconds: 5, timeout_seconds: 600)
       validate_can_perform_staking_action!(amount, asset_id, 'stakeable_balance', mode, options)
    @@ -1561,12 +2114,12 @@ 

     
     
    -237
    -238
    -239
    +314 +315 +316

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 237
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 314
     
     def to_s
       "Coinbase::Address{id: '#{id}', network_id: '#{network.id}', wallet_id: '#{wallet_id}'}"
    @@ -1771,12 +2324,12 @@ 

     
     
    -223
    -224
    -225
    +300 +301 +302

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 223
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 300
     
     def trades
       Trade.list(wallet_id: wallet_id, address_id: id)
    @@ -1995,12 +2548,12 @@ 

     
     
    -215
    -216
    -217
    +292 +293 +294

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 215
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 292
     
     def transfers
       Transfer.list(wallet_id: wallet_id, address_id: id)
    @@ -2180,16 +2733,16 @@ 

     
     
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    +248 +249 +250 +251 +252 +253 +254

    -
    # File 'lib/coinbase/address/wallet_address.rb', line 171
    +      
    # File 'lib/coinbase/address/wallet_address.rb', line 248
     
     def unstake(amount, asset_id, mode: :default, options: {}, interval_seconds: 5, timeout_seconds: 600)
       validate_can_perform_staking_action!(amount, asset_id, 'unstakeable_balance', mode, options)
    diff --git a/docs/Coinbase/Webhook.html b/docs/Coinbase/Webhook.html
    index 07bbbfbe..ba649208 100644
    --- a/docs/Coinbase/Webhook.html
    +++ b/docs/Coinbase/Webhook.html
    @@ -171,7 +171,7 @@ 

  • - .create(network_id:, notification_uri:, event_type:, event_filters:, signature_header: '') ⇒ Coinbase::Webhook + .create(network_id:, notification_uri:, event_type:, event_filters:) ⇒ Coinbase::Webhook @@ -561,14 +561,14 @@

     
     
    -78
    -79
    -80
    -81
    -82
    +74 +75 +76 +77 +78

  • -
    # File 'lib/coinbase/webhook.rb', line 78
    +      
    # File 'lib/coinbase/webhook.rb', line 74
     
     def initialize(model)
       raise ArgumentError, 'model must be a Webhook' unless model.is_a?(Coinbase::Client::Webhook)
    @@ -590,7 +590,7 @@ 

    Class Method Details

    - .create(network_id:, notification_uri:, event_type:, event_filters:, signature_header: '') ⇒ Coinbase::Webhook + .create(network_id:, notification_uri:, event_type:, event_filters:) ⇒ Coinbase::Webhook @@ -618,8 +618,7 @@

    network_id: :ethereum_mainnet, notification_uri: 'https://example.com/callback', event_type: 'transaction', - event_filters: [{ 'contract_address' => '0x...', 'from_address' => '0x...', 'to_address' => '0x...' }], - signature_header: 'example_header' + event_filters: [{ 'contract_address' => '0x...', 'from_address' => '0x...', 'to_address' => '0x...' }] )

    @@ -691,24 +690,6 @@

    Filters applied to the events that determine which specific events trigger the webhook. Each filter should be a hash that can include keys like `contract_address`, `from_address`, or `to_address`.

    -
    - - - -
  • - - signature_header - - - (String) - - - (defaults to: '') - - - — -
    -

    The custom header to be used for x-webhook-signature header on callbacks, so developers can verify the requests are coming from Coinbase.

  • @@ -740,6 +721,9 @@

     
     
    +34
    +35
    +36
     37
     38
     39
    @@ -750,24 +734,19 @@ 

    44 45 46 -47 -48 -49 -50 -51

    +47

    -
    # File 'lib/coinbase/webhook.rb', line 37
    +      
    # File 'lib/coinbase/webhook.rb', line 34
     
    -def create(network_id:, notification_uri:, event_type:, event_filters:, signature_header: '')
    +def create(network_id:, notification_uri:, event_type:, event_filters:)
       model = Coinbase.call_api do
         webhooks_api.create_webhook(
           create_webhook_request: {
             network_id: Coinbase.normalize_network(network_id),
             notification_uri: notification_uri,
             event_type: event_type,
    -        event_filters: event_filters,
    -        signature_header: signature_header
    +        event_filters: event_filters
           }
         )
       end
    @@ -823,14 +802,14 @@ 

     
     
    -57
    -58
    -59
    -60
    -61
    +53 +54 +55 +56 +57

    -
    # File 'lib/coinbase/webhook.rb', line 57
    +      
    # File 'lib/coinbase/webhook.rb', line 53
     
     def list
       Coinbase::Pagination.enumerate(method(:fetch_webhooks_page).to_proc) do |webhook|
    @@ -904,18 +883,18 @@ 

     
     
    +152
    +153
    +154
    +155
     156
     157
     158
     159
    -160
    -161
    -162
    -163
    -164
    +160

    -
    # File 'lib/coinbase/webhook.rb', line 156
    +      
    # File 'lib/coinbase/webhook.rb', line 152
     
     def delete
       Coinbase.call_api do
    @@ -975,12 +954,12 @@ 

     
     
    -115
    -116
    -117
    +111 +112 +113

    -
    # File 'lib/coinbase/webhook.rb', line 115
    +      
    # File 'lib/coinbase/webhook.rb', line 111
     
     def event_filters
       @model.event_filters
    @@ -1034,12 +1013,12 @@ 

     
     
    -108
    -109
    -110
    +104 +105 +106

    -
    # File 'lib/coinbase/webhook.rb', line 108
    +      
    # File 'lib/coinbase/webhook.rb', line 104
     
     def event_type
       @model.event_type
    @@ -1093,12 +1072,12 @@ 

     
     
    -87
    -88
    -89
    +83 +84 +85

    -
    # File 'lib/coinbase/webhook.rb', line 87
    +      
    # File 'lib/coinbase/webhook.rb', line 83
     
     def id
       @model.id
    @@ -1152,12 +1131,12 @@ 

     
     
    -182
    -183
    -184
    +178 +179 +180

    -
    # File 'lib/coinbase/webhook.rb', line 182
    +      
    # File 'lib/coinbase/webhook.rb', line 178
     
     def inspect
       to_s
    @@ -1211,12 +1190,12 @@ 

     
     
    -94
    -95
    -96
    +90 +91 +92

    -
    # File 'lib/coinbase/webhook.rb', line 94
    +      
    # File 'lib/coinbase/webhook.rb', line 90
     
     def network_id
       Coinbase.to_sym(@model.network_id)
    @@ -1270,12 +1249,12 @@ 

     
     
    -101
    -102
    -103
    +97 +98 +99

    -
    # File 'lib/coinbase/webhook.rb', line 101
    +      
    # File 'lib/coinbase/webhook.rb', line 97
     
     def notification_uri
       @model.notification_uri
    @@ -1329,12 +1308,12 @@ 

     
     
    -123
    -124
    -125
    +119 +120 +121

    -
    # File 'lib/coinbase/webhook.rb', line 123
    +      
    # File 'lib/coinbase/webhook.rb', line 119
     
     def signature_header
       @model.signature_header
    @@ -1388,20 +1367,20 @@ 

     
     
    +164
    +165
    +166
    +167
     168
     169
     170
     171
     172
     173
    -174
    -175
    -176
    -177
    -178
    +174

    -
    # File 'lib/coinbase/webhook.rb', line 168
    +      
    # File 'lib/coinbase/webhook.rb', line 164
     
     def to_s
       Coinbase.pretty_print_object(
    @@ -1495,6 +1474,10 @@ 

     
     
    +130
    +131
    +132
    +133
     134
     135
     136
    @@ -1505,14 +1488,10 @@ 

    141 142 143 -144 -145 -146 -147 -148

    +144

    -
    # File 'lib/coinbase/webhook.rb', line 134
    +      
    # File 'lib/coinbase/webhook.rb', line 130
     
     def update(notification_uri:)
       model = Coinbase.call_api do
    diff --git a/docs/_index.html b/docs/_index.html
    index 33d27c39..947daafc 100644
    --- a/docs/_index.html
    +++ b/docs/_index.html
    @@ -221,6 +221,13 @@ 

    Namespace Listing A-Z

    +
  • + BalanceHistoryApi + + (Coinbase::Client) + +
  • +
  • BalanceMap @@ -284,30 +291,30 @@

    Namespace Listing A-Z

  • - Configuration + Configuration - (Coinbase) + (Coinbase::Client)
  • - Configuration + Configuration - (Coinbase::Client) + (Coinbase)
  • - ContractEvent + ContractEvent - (Coinbase::Client) + (Coinbase)
  • - ContractEvent + ContractEvent - (Coinbase) + (Coinbase::Client)
  • @@ -326,16 +333,16 @@

    Namespace Listing A-Z

  • - ContractInvocation + ContractInvocation - (Coinbase) + (Coinbase::Client)
  • - ContractInvocation + ContractInvocation - (Coinbase::Client) + (Coinbase)
  • @@ -388,6 +395,13 @@

    Namespace Listing A-Z

    +
  • + CreateSmartContractRequest + + (Coinbase::Client) + +
  • +
  • CreateStakingOperationRequest @@ -423,6 +437,13 @@

    Namespace Listing A-Z

  • +
  • + CreateWalletWebhookRequest + + (Coinbase::Client) + +
  • +
  • CreateWebhookRequest @@ -445,6 +466,13 @@

    Namespace Listing A-Z

  • +
  • + DeploySmartContractRequest + + (Coinbase::Client) + +
  • +
  • Destination @@ -461,58 +489,72 @@

    Namespace Listing A-Z

    @@ -868,6 +924,13 @@

    Namespace Listing A-Z

  • N
    • +
    • + NFTContractOptions + + (Coinbase::Client) + +
    • +
    • Network @@ -991,16 +1054,16 @@

      Namespace Listing A-Z

    • - ServerSigner + ServerSigner - (Coinbase::Client) + (Coinbase)
    • - ServerSigner + ServerSigner - (Coinbase) + (Coinbase::Client)
    • @@ -1067,6 +1130,41 @@

      Namespace Listing A-Z

      +
    • + SmartContract + + (Coinbase::Client) + +
    • + +
    • + SmartContractList + + (Coinbase::Client) + +
    • + +
    • + SmartContractOptions + + (Coinbase::Client) + +
    • + +
    • + SmartContractType + + (Coinbase::Client) + +
    • + +
    • + SmartContractsApi + + (Coinbase::Client) + +
    • +
    • SponsoredSend @@ -1166,30 +1264,30 @@

      Namespace Listing A-Z

    • - Status + Status - (Coinbase::ServerSigner) + (Coinbase::Transaction)
    • - Status + Status - (Coinbase::SponsoredSend) + (Coinbase::PayloadSignature)
    • - Status + Status - (Coinbase::Transaction) + (Coinbase::SponsoredSend)
    • - Status + Status - (Coinbase::PayloadSignature) + (Coinbase::ServerSigner)
    • @@ -1201,6 +1299,13 @@

      Namespace Listing A-Z

    • T
      • +
      • + TokenContractOptions + + (Coinbase::Client) + +
      • +
      • Trade @@ -1229,6 +1334,13 @@

        Namespace Listing A-Z

      • +
      • + Transaction + + (Coinbase) + +
      • +
      • Transaction @@ -1237,14 +1349,14 @@

        Namespace Listing A-Z

      • - Transaction + TransactionContent - (Coinbase) + (Coinbase::Client)
      • - TransactionContent + TransactionHistoryApi (Coinbase::Client) @@ -1265,16 +1377,16 @@

        Namespace Listing A-Z

      • - Transfer + Transfer - (Coinbase) + (Coinbase::Client)
      • - Transfer + Transfer - (Coinbase::Client) + (Coinbase)
      • @@ -1354,16 +1466,16 @@

        Namespace Listing A-Z

        • - Validator + Validator - (Coinbase::Client) + (Coinbase)
        • - Validator + Validator - (Coinbase) + (Coinbase::Client)
        • @@ -1445,6 +1557,13 @@

          Namespace Listing A-Z

          +
        • + Webhook + + (Coinbase::Client) + +
        • +
        • Webhook @@ -1453,21 +1572,21 @@

          Namespace Listing A-Z

        • - Webhook + WebhookEventFilter (Coinbase::Client)
        • - WebhookEventFilter + WebhookEventType (Coinbase::Client)
        • - WebhookEventType + WebhookEventTypeFilter (Coinbase::Client) @@ -1480,6 +1599,13 @@

          Namespace Listing A-Z

        • +
        • + WebhookWalletActivityFilter + + (Coinbase::Client) + +
        • +
        • WebhooksApi diff --git a/docs/class_list.html b/docs/class_list.html index 89f9cfdf..63ad8931 100644 --- a/docs/class_list.html +++ b/docs/class_list.html @@ -43,7 +43,7 @@

          Class List

          diff --git a/docs/method_list.html b/docs/method_list.html index d25874fe..e4b0b8af 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -46,296 +46,296 @@

          Method List

        • - #== - Coinbase::Client::WebhookEventFilter + #== + Coinbase::Client::CreateWalletRequestWallet
        • - #== - Coinbase::Client::GetStakingContextRequest + #== + Coinbase::Client::Error
        • - #== - Coinbase::Client::Asset + #== + Coinbase::Client::BroadcastContractInvocationRequest
        • - #== - Coinbase::Client::ValidatorList + #== + Coinbase::Client::StakingReward
        • - #== - Coinbase::Client::ServerSignerEventList + #== + Coinbase::Client::SignatureCreationEventResult
        • - #== - Coinbase::Client::EthereumValidatorMetadata + #== + Coinbase::Client::MultiTokenContractOptions
        • - #== - Coinbase::Client::StakingBalance + #== + Coinbase::Client::Network
        • - #== - Coinbase::Client::BroadcastStakingOperationRequest + #== + Coinbase::Client::CreateSmartContractRequest
        • - #== - Coinbase::Client::StakingContext + #== + Coinbase::Client::CreateWalletWebhookRequest
        • - #== - Coinbase::Client::EthereumTransactionAccess + #== + Coinbase::Client::SponsoredSend
        • - #== - Coinbase::Client::FaucetTransaction + #== + Coinbase::Client::DeploySmartContractRequest
        • - #== - Coinbase::Client::AddressBalanceList + #== + Coinbase::Client::ServerSigner
        • - #== - Coinbase::Client::Trade + #== + Coinbase::Client::CreateAddressRequest
        • - #== - Coinbase::Client::SignatureCreationEvent + #== + Coinbase::Client::TradeList
        • - #== - Coinbase::Client::SeedCreationEventResult + #== + Coinbase::Client::Address
        • - #== - Coinbase::Client::PayloadSignature + #== + Coinbase::Network
        • - #== - Coinbase::Client::Error + #== + Coinbase::Client::BuildStakingOperationRequest
        • - #== - Coinbase::Client::BroadcastTransferRequest + #== + Coinbase::Client::FetchStakingRewardsRequest
        • - #== - Coinbase::Client::StakingRewardUSDValue + #== + Coinbase::Client::SmartContract
        • - #== - Coinbase::Client::StakingOperation + #== + Coinbase::Client::WebhookWalletActivityFilter
        • - #== - Coinbase::Client::CreateAddressRequest + #== + Coinbase::Client::Balance
        • - #== - Coinbase::Client::CreateContractInvocationRequest + #== + Coinbase::Client::TransferList
        • - #== - Coinbase::Client::Address + #== + Coinbase::Client::ContractEvent
        • - #== - Coinbase::Client::TradeList + #== + Coinbase::Client::SmartContractList
        • - #== - Coinbase::Client::Network + #== + Coinbase::Client::AddressHistoricalBalanceList
        • - #== - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #== + Coinbase::Client::EthereumTransaction
        • - #== - Coinbase::Client::ServerSignerEvent + #== + Coinbase::Client::CreateWebhookRequest
        • - #== - Coinbase::Client::CreateWebhookRequest + #== + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #== - Coinbase::Client::FetchStakingRewards200Response + #== + Coinbase::Client::ServerSignerEvent
        • - #== - Coinbase::Client::FeatureSet + #== + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #== - Coinbase::Client::EthereumTransactionAccessList + #== + Coinbase::Client::PayloadSignatureList
        • - #== - Coinbase::Client::CreateWalletRequest + #== + Coinbase::Client::SeedCreationEvent
        • - #== - Coinbase::Client::SeedCreationEvent + #== + Coinbase::Client::FeatureSet
        • - #== - Coinbase::Client::EthereumTransaction + #== + Coinbase::Client::WebhookEventFilter
        • - #== - Coinbase::Client::PayloadSignatureList + #== + Coinbase::Client::TokenContractOptions
        • - #== - Coinbase::Client::CreateStakingOperationRequest + #== + Coinbase::Client::Trade
        • - #== - Coinbase::Client::Transaction + #== + Coinbase::Client::ERC20TransferEvent
        • @@ -350,1056 +350,1056 @@

          Method List

        • - #== - Coinbase::Client::Webhook + #== + Coinbase::Client::BroadcastStakingOperationRequest
        • - #== - Coinbase::Client::Transfer + #== + Coinbase::Client::ContractInvocation
        • - #== - Coinbase::Client::CreatePayloadSignatureRequest + #== + Coinbase::Client::BroadcastTradeRequest
        • - #== - Coinbase::Client::BroadcastContractInvocationRequest + #== + Coinbase::Client::CreateTransferRequest
        • - #== - Coinbase::Client::WalletList + #== + Coinbase::Client::ContractEventList
        • - #== - Coinbase::Client::Wallet + #== + Coinbase::Client::CreateWalletRequest
        • - #== - Coinbase::Client::SignatureCreationEventResult + #== + Coinbase::Client::Transaction
        • - #== - Coinbase::Client::ContractInvocation + #== + Coinbase::Client::NFTContractOptions
        • - #== - Coinbase::Client::BroadcastTradeRequest + #== + Coinbase::Client::CreateContractInvocationRequest
        • - #== - Coinbase::Client::AddressList + #== + Coinbase::Client::StakingContextContext
        • - #== - Coinbase::Client::User + #== + Coinbase::Client::CreateTradeRequest
        • - #== - Coinbase::Client::BuildStakingOperationRequest + #== + Coinbase::Client::AddressTransactionList
        • - #== - Coinbase::Client::WebhookList + #== + Coinbase::Client::Webhook
        • - #== - Coinbase::Client::CreateTransferRequest + #== + Coinbase::Client::ServerSignerList
        • - #== - Coinbase::Client::FetchHistoricalStakingBalances200Response + #== + Coinbase::Client::ContractInvocationList
        • - #== - Coinbase::Client::ServerSigner + #== + Coinbase::Client::ServerSignerEventList
        • - #== - Coinbase::Client::ContractEventList + #== + Coinbase::Client::Validator
        • - #== - Coinbase::Client::TransferList + #== + Coinbase::Client::WalletList
        • - #== - Coinbase::Client::AddressHistoricalBalanceList + #== + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #== - Coinbase::Client::StakingContextContext + #== + Coinbase::Client::HistoricalBalance
        • - #== - Coinbase::Client::EthereumTransactionFlattenedTrace + #== + Coinbase::Client::FetchStakingRewards200Response
        • - #== - Coinbase::Client::FetchStakingRewardsRequest + #== + Coinbase::Client::SignatureCreationEvent
        • - #== - Coinbase::Client::ContractEvent + #== + Coinbase::Client::FaucetTransaction
        • - #== - Coinbase::Client::ServerSignerList + #== + Coinbase::Client::StakingRewardUSDValue
        • - #== - Coinbase::Client::SponsoredSend + #== + Coinbase::Client::Transfer
        • - #== - Coinbase::Client::AddressTransactionList + #== + Coinbase::Client::StakingOperation
        • - #== - Coinbase::Network + #== + Coinbase::Client::EthereumTransactionAccessList
        • - #== - Coinbase::Client::CreateTradeRequest + #== + Coinbase::Client::BroadcastTransferRequest
        • - #== - Coinbase::Client::Balance + #== + Coinbase::Client::AddressList
        • - #== - Coinbase::Client::CreateWalletRequestWallet + #== + Coinbase::Client::PayloadSignature
        • - #== - Coinbase::Client::ContractInvocationList + #== + Coinbase::Client::SeedCreationEventResult
        • - #== - Coinbase::Client::StakingReward + #== + Coinbase::Client::Asset
        • - #== - Coinbase::Client::Validator + #== + Coinbase::Client::ERC721TransferEvent
        • - #== - Coinbase::Client::CreateServerSignerRequest + #== + Coinbase::Client::CreateStakingOperationRequest
        • - #== - Coinbase::Client::HistoricalBalance + #== + Coinbase::Client::EthereumTransactionAccess
        • - _deserialize - Coinbase::Client::Network + #== + Coinbase::Client::StakingContext
        • - _deserialize - Coinbase::Client::ContractInvocationList + #== + Coinbase::Client::EthereumValidatorMetadata
        • - _deserialize - Coinbase::Client::AddressHistoricalBalanceList + #== + Coinbase::Client::StakingBalance
        • - _deserialize - Coinbase::Client::Transaction + #== + Coinbase::Client::Wallet
        • - _deserialize - Coinbase::Client::EthereumTransactionFlattenedTrace + #== + Coinbase::Client::WebhookList
        • - _deserialize - Coinbase::Client::ValidatorList + #== + Coinbase::Client::AddressBalanceList
        • - _deserialize - Coinbase::Client::BroadcastStakingOperationRequest + #== + Coinbase::Client::User
        • - _deserialize - Coinbase::Client::WebhookEventFilter + #== + Coinbase::Client::CreatePayloadSignatureRequest
        • - _deserialize - Coinbase::Client::EthereumValidatorMetadata + #== + Coinbase::Client::GetStakingContextRequest
        • - _deserialize - Coinbase::Client::CreatePayloadSignatureRequest + #== + Coinbase::Client::CreateServerSignerRequest
        • - _deserialize - Coinbase::Client::BroadcastContractInvocationRequest + #== + Coinbase::Client::ValidatorList
        • - _deserialize - Coinbase::Client::ServerSignerEventList + _deserialize + Coinbase::Client::EthereumTransaction
        • - _deserialize - Coinbase::Client::CreateTransferRequest + _deserialize + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - _deserialize - Coinbase::Client::StakingBalance + _deserialize + Coinbase::Client::Transfer
        • - _deserialize - Coinbase::Client::SponsoredSend + _deserialize + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - _deserialize - Coinbase::Client::AddressBalanceList + _deserialize + Coinbase::Client::Validator
        • - _deserialize - Coinbase::Client::EthereumTransactionAccess + _deserialize + Coinbase::Client::BroadcastContractInvocationRequest
        • - _deserialize - Coinbase::Client::Asset + _deserialize + Coinbase::Client::TradeList
        • - _deserialize - Coinbase::Client::FaucetTransaction + _deserialize + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - _deserialize - Coinbase::Client::ContractInvocation + _deserialize + Coinbase::Client::FeatureSet
        • - _deserialize - Coinbase::Client::StakingContext + _deserialize + Coinbase::Client::BroadcastStakingOperationRequest
        • - _deserialize - Coinbase::Client::UpdateWebhookRequest + _deserialize + Coinbase::Client::CreateContractInvocationRequest
        • - _deserialize - Coinbase::Client::Wallet + _deserialize + Coinbase::Client::Webhook
        • - _deserialize - Coinbase::Client::StakingReward + _deserialize + Coinbase::Client::Transaction
        • - _deserialize - Coinbase::Client::SignedVoluntaryExitMessageMetadata + _deserialize + Coinbase::Client::FetchStakingRewards200Response
        • - _deserialize - Coinbase::Client::Trade + _deserialize + Coinbase::Client::WalletList
        • - _deserialize - Coinbase::Client::Validator + _deserialize + Coinbase::Client::EthereumTransactionAccessList
        • - _deserialize - Coinbase::Client::FetchHistoricalStakingBalances200Response + _deserialize + Coinbase::Client::CreateStakingOperationRequest
        • - _deserialize - Coinbase::Client::SeedCreationEventResult + _deserialize + Coinbase::Client::AddressList
        • - _deserialize - Coinbase::Client::SignatureCreationEventResult + _deserialize + Coinbase::Client::CreatePayloadSignatureRequest
        • - _deserialize - Coinbase::Client::AddressTransactionList + _deserialize + Coinbase::Client::WebhookList
        • - _deserialize - Coinbase::Client::SignatureCreationEvent + _deserialize + Coinbase::Client::SignatureCreationEventResult
        • - _deserialize - Coinbase::Client::TransferList + _deserialize + Coinbase::Client::Network
        • - _deserialize - Coinbase::Client::CreateContractInvocationRequest + _deserialize + Coinbase::Client::ServerSigner
        • - _deserialize - Coinbase::Client::BroadcastTransferRequest + _deserialize + Coinbase::Client::BuildStakingOperationRequest
        • - _deserialize - Coinbase::Client::Balance + _deserialize + Coinbase::Client::AddressHistoricalBalanceList
        • - _deserialize - Coinbase::Client::WalletList + _deserialize + Coinbase::Client::TransferList
        • - _deserialize - Coinbase::Client::Error + _deserialize + Coinbase::Client::Balance
        • - _deserialize - Coinbase::Client::PayloadSignature + _deserialize + Coinbase::Client::ContractEvent
        • - _deserialize - Coinbase::Client::Address + _deserialize + Coinbase::Client::WebhookWalletActivityFilter
        • - _deserialize - Coinbase::Client::CreateWalletRequest + _deserialize + Coinbase::Client::FetchStakingRewardsRequest
        • - _deserialize - Coinbase::Client::HistoricalBalance + _deserialize + Coinbase::Client::SmartContract
        • - _deserialize - Coinbase::Client::FetchStakingRewardsRequest + _deserialize + Coinbase::Client::Address
        • - _deserialize - Coinbase::Client::StakingRewardUSDValue + _deserialize + Coinbase::Client::DeploySmartContractRequest
        • - _deserialize - Coinbase::Client::BroadcastTradeRequest + _deserialize + Coinbase::Client::CreateWalletWebhookRequest
        • - _deserialize - Coinbase::Client::StakingOperation + _deserialize + Coinbase::Client::SponsoredSend
        • - _deserialize - Coinbase::Client::CreateAddressRequest + _deserialize + Coinbase::Client::CreateSmartContractRequest
        • - _deserialize - Coinbase::Client::AddressList + _deserialize + Coinbase::Client::MultiTokenContractOptions
        • - _deserialize - Coinbase::Client::Transfer + _deserialize + Coinbase::Client::StakingReward
        • - _deserialize - Coinbase::Client::ServerSignerEvent + _deserialize + Coinbase::Client::CreateWalletRequestWallet
        • - _deserialize - Coinbase::Client::TradeList + _deserialize + Coinbase::Client::ValidatorList
        • - _deserialize - Coinbase::Client::Webhook + _deserialize + Coinbase::Client::CreateServerSignerRequest
        • - _deserialize - Coinbase::Client::FetchStakingRewards200Response + _deserialize + Coinbase::Client::GetStakingContextRequest
        • - _deserialize - Coinbase::Client::BuildStakingOperationRequest + _deserialize + Coinbase::Client::Wallet
        • - _deserialize - Coinbase::Client::ServerSignerList + _deserialize + Coinbase::Client::EthereumValidatorMetadata
        • - _deserialize - Coinbase::Client::CreateServerSignerRequest + _deserialize + Coinbase::Client::StakingBalance
        • - _deserialize - Coinbase::Client::ContractEventList + _deserialize + Coinbase::Client::EthereumTransactionAccess
        • - _deserialize - Coinbase::Client::SeedCreationEvent + _deserialize + Coinbase::Client::StakingContext
        • - _deserialize - Coinbase::Client::StakingContextContext + _deserialize + Coinbase::Client::SeedCreationEventResult
        • - _deserialize - Coinbase::Client::EthereumTransaction + _deserialize + Coinbase::Client::BroadcastTransferRequest
        • - _deserialize - Coinbase::Client::EthereumTransactionAccessList + _deserialize + Coinbase::Client::PayloadSignature
        • - _deserialize - Coinbase::Client::FeatureSet + _deserialize + Coinbase::Client::StakingOperation
        • - _deserialize - Coinbase::Client::CreateWalletRequestWallet + _deserialize + Coinbase::Client::StakingRewardUSDValue
        • - _deserialize - Coinbase::Client::CreateWebhookRequest + _deserialize + Coinbase::Client::SignatureCreationEvent
        • - _deserialize - Coinbase::Client::WebhookList + _deserialize + Coinbase::Client::FaucetTransaction
        • - _deserialize - Coinbase::Client::ContractEvent + _deserialize + Coinbase::Client::ServerSignerEventList
        • - _deserialize - Coinbase::Client::User + _deserialize + Coinbase::Client::HistoricalBalance
        • - _deserialize - Coinbase::Client::CreateStakingOperationRequest + _deserialize + Coinbase::Client::ContractInvocationList
        • - _deserialize - Coinbase::Client::CreateTradeRequest + _deserialize + Coinbase::Client::AddressTransactionList
        • - _deserialize - Coinbase::Client::ServerSigner + _deserialize + Coinbase::Client::ServerSignerList
        • - _deserialize - Coinbase::Client::PayloadSignatureList + _deserialize + Coinbase::Client::StakingContextContext
        • - _deserialize - Coinbase::Client::GetStakingContextRequest + _deserialize + Coinbase::Client::CreateTransferRequest
        • - #_to_hash - Coinbase::Client::Validator + _deserialize + Coinbase::Client::ContractEventList
        • - #_to_hash - Coinbase::Client::FetchHistoricalStakingBalances200Response + _deserialize + Coinbase::Client::BroadcastTradeRequest
        • - #_to_hash - Coinbase::Client::Network + _deserialize + Coinbase::Client::UpdateWebhookRequest
        • - #_to_hash - Coinbase::Client::SignedVoluntaryExitMessageMetadata + _deserialize + Coinbase::Client::Trade
        • - #_to_hash - Coinbase::Client::Webhook + _deserialize + Coinbase::Client::ContractInvocation
        • - #_to_hash - Coinbase::Client::BroadcastContractInvocationRequest + _deserialize + Coinbase::Client::TokenContractOptions
        • - #_to_hash - Coinbase::Client::EthereumTransactionFlattenedTrace + _deserialize + Coinbase::Client::PayloadSignatureList
        • - #_to_hash - Coinbase::Client::Transfer + _deserialize + Coinbase::Client::SeedCreationEvent
        • - #_to_hash - Coinbase::Client::Balance + _deserialize + Coinbase::Client::CreateWebhookRequest
        • - #_to_hash - Coinbase::Client::BroadcastStakingOperationRequest + _deserialize + Coinbase::Client::ServerSignerEvent
        • - #_to_hash - Coinbase::Client::WebhookEventFilter + _deserialize + Coinbase::Client::CreateAddressRequest
        • - #_to_hash - Coinbase::Client::Address + _deserialize + Coinbase::Client::Error
        • - #_to_hash - Coinbase::Client::CreateContractInvocationRequest + _deserialize + Coinbase::Client::SmartContractList
        • - #_to_hash - Coinbase::Client::FetchStakingRewards200Response + _deserialize + Coinbase::Client::ERC721TransferEvent
        • - #_to_hash - Coinbase::Client::TradeList + _deserialize + Coinbase::Client::Asset
        • - #_to_hash - Coinbase::Client::EthereumTransactionAccessList + _deserialize + Coinbase::Client::AddressBalanceList
        • - #_to_hash - Coinbase::Client::FeatureSet + _deserialize + Coinbase::Client::CreateWalletRequest
        • - #_to_hash - Coinbase::Client::CreateStakingOperationRequest + _deserialize + Coinbase::Client::CreateTradeRequest
        • - #_to_hash - Coinbase::Client::CreatePayloadSignatureRequest + _deserialize + Coinbase::Client::WebhookEventFilter
        • - #_to_hash - Coinbase::Client::Wallet + _deserialize + Coinbase::Client::ERC20TransferEvent
        • - #_to_hash - Coinbase::Client::Transaction + _deserialize + Coinbase::Client::NFTContractOptions
        • - #_to_hash - Coinbase::Client::SignatureCreationEventResult + _deserialize + Coinbase::Client::User
        • - #_to_hash - Coinbase::Client::WalletList + #_to_hash + Coinbase::Client::CreateWalletRequestWallet
        • - #_to_hash - Coinbase::Client::AddressList + #_to_hash + Coinbase::Client::StakingReward
        • - #_to_hash - Coinbase::Client::BuildStakingOperationRequest + #_to_hash + Coinbase::Client::SignatureCreationEventResult
        • @@ -1414,128 +1414,128 @@

          Method List

        • - #_to_hash - Coinbase::Client::AddressHistoricalBalanceList + #_to_hash + Coinbase::Client::CreateServerSignerRequest
        • - #_to_hash - Coinbase::Client::ServerSigner + #_to_hash + Coinbase::Client::Wallet
        • - #_to_hash - Coinbase::Client::TransferList + #_to_hash + Coinbase::Client::SmartContractList
        • - #_to_hash - Coinbase::Client::FetchStakingRewardsRequest + #_to_hash + Coinbase::Client::ValidatorList
        • - #_to_hash - Coinbase::Client::ContractEvent + #_to_hash + Coinbase::Client::GetStakingContextRequest
        • - #_to_hash - Coinbase::Client::CreateWalletRequestWallet + #_to_hash + Coinbase::Client::Asset
        • - #_to_hash - Coinbase::Client::SponsoredSend + #_to_hash + Coinbase::Client::Network
        • - #_to_hash - Coinbase::Client::CreateServerSignerRequest + #_to_hash + Coinbase::Client::CreatePayloadSignatureRequest
        • - #_to_hash - Coinbase::Client::StakingReward + #_to_hash + Coinbase::Client::EthereumValidatorMetadata
        • - #_to_hash - Coinbase::Client::GetStakingContextRequest + #_to_hash + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #_to_hash - Coinbase::Client::ValidatorList + #_to_hash + Coinbase::Client::StakingBalance
        • - #_to_hash - Coinbase::Client::EthereumValidatorMetadata + #_to_hash + Coinbase::Client::EthereumTransactionAccess
        • - #_to_hash - Coinbase::Client::StakingBalance + #_to_hash + Coinbase::Client::ERC721TransferEvent
        • - #_to_hash - Coinbase::Client::EthereumTransactionAccess + #_to_hash + Coinbase::Client::AddressList
        • - #_to_hash - Coinbase::Client::StakingContext + #_to_hash + Coinbase::Client::NFTContractOptions
        • - #_to_hash - Coinbase::Client::Trade + #_to_hash + Coinbase::Client::StakingContext
        • @@ -1550,447 +1550,447 @@

          Method List

        • - #_to_hash - Coinbase::Client::BroadcastTransferRequest + #_to_hash + Coinbase::Client::CreateStakingOperationRequest
        • - #_to_hash - Coinbase::Client::PayloadSignature + #_to_hash + Coinbase::Client::BroadcastTransferRequest
        • - #_to_hash - Coinbase::Client::StakingRewardUSDValue + #_to_hash + Coinbase::Client::BroadcastContractInvocationRequest
        • - #_to_hash - Coinbase::Client::Error + #_to_hash + Coinbase::Client::Validator
        • - #_to_hash - Coinbase::Client::StakingOperation + #_to_hash + Coinbase::Client::PayloadSignature
        • - #_to_hash - Coinbase::Client::SignatureCreationEvent + #_to_hash + Coinbase::Client::StakingRewardUSDValue
        • - #_to_hash - Coinbase::Client::FaucetTransaction + #_to_hash + Coinbase::Client::StakingOperation
        • - #_to_hash - Coinbase::Client::Asset + #_to_hash + Coinbase::Client::EthereumTransactionAccessList
        • - #_to_hash - Coinbase::Client::ServerSignerEventList + #_to_hash + Coinbase::Client::WalletList
        • - #_to_hash - Coinbase::Client::ContractInvocationList + #_to_hash + Coinbase::Client::SignatureCreationEvent
        • - #_to_hash - Coinbase::Client::HistoricalBalance + #_to_hash + Coinbase::Client::AddressBalanceList
        • - #_to_hash - Coinbase::Client::AddressTransactionList + #_to_hash + Coinbase::Client::FaucetTransaction
        • - #_to_hash - Coinbase::Client::StakingContextContext + #_to_hash + Coinbase::Client::ServerSignerEventList
        • - #_to_hash - Coinbase::Client::ServerSignerList + #_to_hash + Coinbase::Client::FetchStakingRewards200Response
        • - #_to_hash - Coinbase::Client::User + #_to_hash + Coinbase::Client::CreateWalletRequest
        • - #_to_hash - Coinbase::Client::CreateTransferRequest + #_to_hash + Coinbase::Client::ContractInvocationList
        • - #_to_hash - Coinbase::Client::ContractEventList + #_to_hash + Coinbase::Client::Transfer
        • - #_to_hash - Coinbase::Client::BroadcastTradeRequest + #_to_hash + Coinbase::Client::HistoricalBalance
        • - #_to_hash - Coinbase::Client::UpdateWebhookRequest + #_to_hash + Coinbase::Client::AddressTransactionList
        • - #_to_hash - Coinbase::Client::ContractInvocation + #_to_hash + Coinbase::Client::Transaction
        • - #_to_hash - Coinbase::Client::PayloadSignatureList + #_to_hash + Coinbase::Client::StakingContextContext
        • - #_to_hash - Coinbase::Client::CreateWebhookRequest + #_to_hash + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #_to_hash - Coinbase::Client::SeedCreationEvent + #_to_hash + Coinbase::Client::ServerSignerList
        • - #_to_hash - Coinbase::Client::CreateAddressRequest + #_to_hash + Coinbase::Client::CreateContractInvocationRequest
        • - #_to_hash - Coinbase::Client::ServerSignerEvent + #_to_hash + Coinbase::Client::CreateTransferRequest
        • - #_to_hash - Coinbase::Client::AddressBalanceList + #_to_hash + Coinbase::Client::ContractEventList
        • - #_to_hash - Coinbase::Client::CreateTradeRequest + #_to_hash + Coinbase::Client::BroadcastTradeRequest
        • - #_to_hash - Coinbase::Client::CreateWalletRequest + #_to_hash + Coinbase::Client::EthereumTransaction
        • - #_to_hash - Coinbase::Client::EthereumTransaction + #_to_hash + Coinbase::Client::Trade
        • - #abi - Coinbase::Client::CreateContractInvocationRequest + #_to_hash + Coinbase::Client::UpdateWebhookRequest
        • - #abi - Coinbase::Client::ContractInvocation + #_to_hash + Coinbase::Client::Webhook
        • - #abi - Coinbase::ContractInvocation + #_to_hash + Coinbase::Client::CreateTradeRequest
        • - acceptable_attributes - Coinbase::Client::AddressBalanceList + #_to_hash + Coinbase::Client::TokenContractOptions
        • - acceptable_attributes - Coinbase::Client::Asset + #_to_hash + Coinbase::Client::BroadcastStakingOperationRequest
        • - acceptable_attributes - Coinbase::Client::BroadcastStakingOperationRequest + #_to_hash + Coinbase::Client::FeatureSet
        • - acceptable_attributes - Coinbase::Client::ServerSignerList + #_to_hash + Coinbase::Client::ContractInvocation
        • - acceptable_attributes - Coinbase::Client::AddressTransactionList + #_to_hash + Coinbase::Client::PayloadSignatureList
        • - acceptable_attributes - Coinbase::Client::SponsoredSend + #_to_hash + Coinbase::Client::WebhookEventFilter
        • - acceptable_attributes - Coinbase::Client::Balance + #_to_hash + Coinbase::Client::SeedCreationEvent
        • - acceptable_attributes - Coinbase::Client::FetchStakingRewardsRequest + #_to_hash + Coinbase::Client::TradeList
        • - acceptable_attributes - Coinbase::Client::ContractEvent + #_to_hash + Coinbase::Client::CreateWebhookRequest
        • - acceptable_attributes - Coinbase::Client::AddressHistoricalBalanceList + #_to_hash + Coinbase::Client::ERC20TransferEvent
        • - acceptable_attributes - Coinbase::Client::StakingContextContext + #_to_hash + Coinbase::Client::TransferList
        • - acceptable_attributes - Coinbase::Client::Webhook + #_to_hash + Coinbase::Client::Balance
        • - acceptable_attributes - Coinbase::Client::CreateTradeRequest + #_to_hash + Coinbase::Client::AddressHistoricalBalanceList
        • - acceptable_attributes - Coinbase::Client::Validator + #_to_hash + Coinbase::Client::ServerSignerEvent
        • - acceptable_attributes - Coinbase::Client::ContractEventList + #_to_hash + Coinbase::Client::WebhookWalletActivityFilter
        • - acceptable_attributes - Coinbase::Client::TransferList + #_to_hash + Coinbase::Client::ContractEvent
        • - acceptable_attributes - Coinbase::Client::ServerSigner + #_to_hash + Coinbase::Client::FetchStakingRewardsRequest
        • - acceptable_attributes - Coinbase::Client::CreateServerSignerRequest + #_to_hash + Coinbase::Client::Error
        • - acceptable_attributes - Coinbase::Client::ContractInvocationList + #_to_hash + Coinbase::Client::Address
        • - acceptable_attributes - Coinbase::Client::CreateWalletRequestWallet + #_to_hash + Coinbase::Client::SmartContract
        • - acceptable_attributes - Coinbase::Client::StakingBalance + #_to_hash + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - acceptable_attributes - Coinbase::Client::ServerSignerEventList + #_to_hash + Coinbase::Client::ServerSigner
        • - acceptable_attributes - Coinbase::Client::GetStakingContextRequest + #_to_hash + Coinbase::Client::DeploySmartContractRequest
        • - acceptable_attributes + #_to_hash Coinbase::Client::CreateAddressRequest
        • @@ -1998,1599 +1998,1599 @@

          Method List

        • - acceptable_attributes - Coinbase::Client::ValidatorList + #_to_hash + Coinbase::Client::BuildStakingOperationRequest
        • - acceptable_attributes - Coinbase::Client::StakingReward + #_to_hash + Coinbase::Client::CreateWalletWebhookRequest
        • - acceptable_attributes - Coinbase::Client::CreateTransferRequest + #_to_hash + Coinbase::Client::SponsoredSend
        • - acceptable_attributes - Coinbase::Client::BuildStakingOperationRequest + #_to_hash + Coinbase::Client::CreateSmartContractRequest
        • - acceptable_attributes - Coinbase::Client::WebhookList + #_to_hash + Coinbase::Client::User
        • - acceptable_attributes - Coinbase::Client::EthereumTransactionFlattenedTrace + #_to_hash + Coinbase::Client::MultiTokenContractOptions
        • - acceptable_attributes - Coinbase::Client::WebhookEventFilter + #abi + Coinbase::SmartContract
        • - acceptable_attributes - Coinbase::Client::Wallet + #abi + Coinbase::Client::CreateContractInvocationRequest
        • - acceptable_attributes - Coinbase::Client::AddressList + #abi + Coinbase::Client::SmartContract
        • - acceptable_attributes - Coinbase::Client::User + #abi + Coinbase::Client::ContractInvocation
        • - acceptable_attributes - Coinbase::Client::BroadcastTradeRequest + #abi + Coinbase::ContractInvocation
        • - acceptable_attributes - Coinbase::Client::ContractInvocation + acceptable_attributes + Coinbase::Client::ServerSignerList
        • - acceptable_attributes - Coinbase::Client::SignatureCreationEventResult + acceptable_attributes + Coinbase::Client::WebhookWalletActivityFilter
        • - acceptable_attributes - Coinbase::Client::EthereumTransaction + acceptable_attributes + Coinbase::Client::CreateTradeRequest
        • - acceptable_attributes - Coinbase::Client::WalletList + acceptable_attributes + Coinbase::Client::AddressTransactionList
        • - acceptable_attributes - Coinbase::Client::CreatePayloadSignatureRequest + acceptable_attributes + Coinbase::Client::Validator
        • - acceptable_attributes - Coinbase::Client::UpdateWebhookRequest + acceptable_attributes + Coinbase::Client::CreateWalletWebhookRequest
        • - acceptable_attributes - Coinbase::Client::FetchHistoricalStakingBalances200Response + acceptable_attributes + Coinbase::Client::CreateWebhookRequest
        • - acceptable_attributes - Coinbase::Client::BroadcastContractInvocationRequest + acceptable_attributes + Coinbase::Client::SignatureCreationEventResult
        • - acceptable_attributes - Coinbase::Client::CreateStakingOperationRequest + acceptable_attributes + Coinbase::Client::WalletList
        • - acceptable_attributes - Coinbase::Client::SeedCreationEvent + acceptable_attributes + Coinbase::Client::ContractInvocationList
        • - acceptable_attributes - Coinbase::Client::Transaction + acceptable_attributes + Coinbase::Client::CreateAddressRequest
        • - acceptable_attributes - Coinbase::Client::PayloadSignatureList + acceptable_attributes + Coinbase::Client::EthereumValidatorMetadata
        • - acceptable_attributes - Coinbase::Client::Transfer + acceptable_attributes + Coinbase::Client::Wallet
        • - acceptable_attributes - Coinbase::Client::EthereumTransactionAccessList + acceptable_attributes + Coinbase::Client::StakingContext
        • - acceptable_attributes - Coinbase::Client::FetchStakingRewards200Response + acceptable_attributes + Coinbase::Client::Trade
        • - acceptable_attributes - Coinbase::Client::SignedVoluntaryExitMessageMetadata + acceptable_attributes + Coinbase::Client::User
        • - acceptable_attributes - Coinbase::Client::ServerSignerEvent + acceptable_attributes + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - acceptable_attributes - Coinbase::Client::FeatureSet + acceptable_attributes + Coinbase::Client::CreateStakingOperationRequest
        • - acceptable_attributes - Coinbase::Client::CreateWebhookRequest + acceptable_attributes + Coinbase::Client::EthereumTransactionAccess
        • - acceptable_attributes - Coinbase::Client::Address + acceptable_attributes + Coinbase::Client::PayloadSignatureList
        • - acceptable_attributes - Coinbase::Client::StakingOperation + acceptable_attributes + Coinbase::Client::SponsoredSend
        • - acceptable_attributes - Coinbase::Client::StakingRewardUSDValue + acceptable_attributes + Coinbase::Client::ServerSignerEvent
        • - acceptable_attributes - Coinbase::Client::BroadcastTransferRequest -
          + acceptable_attributes + Coinbase::Client::PayloadSignature +
        • - acceptable_attributes - Coinbase::Client::Trade + acceptable_attributes + Coinbase::Client::SeedCreationEventResult
        • - acceptable_attributes - Coinbase::Client::Network + acceptable_attributes + Coinbase::Client::DeploySmartContractRequest
        • - acceptable_attributes - Coinbase::Client::SeedCreationEventResult + acceptable_attributes + Coinbase::Client::Transfer
        • - acceptable_attributes - Coinbase::Client::FaucetTransaction + acceptable_attributes + Coinbase::Client::EthereumTransactionAccessList
        • - acceptable_attributes - Coinbase::Client::PayloadSignature + acceptable_attributes + Coinbase::Client::BroadcastTransferRequest
        • - acceptable_attributes - Coinbase::Client::SignatureCreationEvent + acceptable_attributes + Coinbase::Client::BroadcastContractInvocationRequest
        • - acceptable_attributes - Coinbase::Client::EthereumTransactionAccess + acceptable_attributes + Coinbase::Client::StakingOperation
        • - acceptable_attributes - Coinbase::Client::StakingContext + acceptable_attributes + Coinbase::Client::AddressList
        • - acceptable_attributes - Coinbase::Client::CreateContractInvocationRequest + acceptable_attributes + Coinbase::Client::ERC721TransferEvent
        • - acceptable_attributes - Coinbase::Client::Error + acceptable_attributes + Coinbase::Client::StakingReward
        • - acceptable_attributes - Coinbase::Client::CreateWalletRequest + acceptable_attributes + Coinbase::Client::EthereumTransaction
        • - acceptable_attributes - Coinbase::Client::TradeList + acceptable_attributes + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - acceptable_attributes - Coinbase::Client::EthereumValidatorMetadata + acceptable_attributes + Coinbase::Client::StakingRewardUSDValue
        • - acceptable_attributes - Coinbase::Client::HistoricalBalance + acceptable_attributes + Coinbase::Client::FaucetTransaction
        • - #access_list - Coinbase::Client::EthereumTransactionAccessList + acceptable_attributes + Coinbase::Client::AddressHistoricalBalanceList
        • - #access_token - Coinbase::Client::Configuration + acceptable_attributes + Coinbase::Client::ContractEvent
        • - #access_token_getter - Coinbase::Client::Configuration + acceptable_attributes + Coinbase::Client::NFTContractOptions
        • - #access_token_with_refresh - Coinbase::Client::Configuration + acceptable_attributes + Coinbase::Client::FetchStakingRewards200Response
        • - #action - Coinbase::Client::BuildStakingOperationRequest + acceptable_attributes + Coinbase::Client::SignatureCreationEvent
        • - #action - Coinbase::Client::CreateStakingOperationRequest + acceptable_attributes + Coinbase::Client::WebhookEventFilter
        • - #activation_epoch - Coinbase::Client::EthereumValidatorMetadata + acceptable_attributes + Coinbase::Client::HistoricalBalance
        • - #add - Coinbase::BalanceMap + acceptable_attributes + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #address - Coinbase::Client::StakingBalance + acceptable_attributes + Coinbase::Client::Webhook
        • - #address - Coinbase::Client::EthereumTransactionAccess + acceptable_attributes + Coinbase::Client::ServerSignerEventList
        • - #address - Coinbase::StakingBalance + acceptable_attributes + Coinbase::Client::MultiTokenContractOptions
        • - #address - Coinbase::Wallet + acceptable_attributes + Coinbase::Client::SmartContract
        • - #address - Coinbase::SmartContract + acceptable_attributes + Coinbase::Client::CreateContractInvocationRequest
        • - #address_id - Coinbase::Asset + acceptable_attributes + Coinbase::Client::StakingContextContext
        • - #address_id - Coinbase::PayloadSignature + acceptable_attributes + Coinbase::Client::ContractEventList
        • - #address_id - Coinbase::StakingReward + acceptable_attributes + Coinbase::Client::TransferList
        • - #address_id - Coinbase::Client::Transfer + acceptable_attributes + Coinbase::Client::Balance
        • - #address_id - Coinbase::Destination + acceptable_attributes + Coinbase::Client::CreateWalletRequest
        • - #address_id - Coinbase::StakingOperation + acceptable_attributes + Coinbase::Client::Transaction
        • - #address_id - Coinbase::Client::Address + acceptable_attributes + Coinbase::Client::CreateTransferRequest
        • - #address_id - Coinbase::Client::BuildStakingOperationRequest + acceptable_attributes + Coinbase::Client::Asset
        • - #address_id - Coinbase::Client::SignatureCreationEventResult + acceptable_attributes + Coinbase::Client::Address
        • - #address_id - Coinbase::ContractInvocation + acceptable_attributes + Coinbase::Client::BuildStakingOperationRequest
        • - #address_id - Coinbase::Client::Trade + acceptable_attributes + Coinbase::Client::BroadcastStakingOperationRequest
        • - #address_id - Coinbase::Client::ContractInvocation + acceptable_attributes + Coinbase::Client::BroadcastTradeRequest
        • - #address_id - Coinbase::Trade + acceptable_attributes + Coinbase::Client::FetchStakingRewardsRequest
        • - #address_id - Coinbase::Client::StakingOperation + acceptable_attributes + Coinbase::Client::ContractInvocation
        • - #address_id - Coinbase::Client::SignatureCreationEvent + acceptable_attributes + Coinbase::Client::Network
        • - #address_id - Coinbase::Client::StakingReward + acceptable_attributes + Coinbase::Client::SmartContractList
        • - #address_id - Coinbase::Client::PayloadSignature + acceptable_attributes + Coinbase::Client::UpdateWebhookRequest
        • - #address_id - Coinbase::Client::GetStakingContextRequest + acceptable_attributes + Coinbase::Client::ValidatorList
        • - #address_ids - Coinbase::Client::FetchStakingRewardsRequest + acceptable_attributes + Coinbase::Client::TradeList
        • - #address_index - Coinbase::Client::SignatureCreationEvent + acceptable_attributes + Coinbase::Client::ServerSigner
        • - #address_index - Coinbase::Client::CreateAddressRequest + acceptable_attributes + Coinbase::Client::CreateWalletRequestWallet
        • - #address_path_prefix - Coinbase::Client::Network + acceptable_attributes + Coinbase::Client::ERC20TransferEvent
        • - #address_path_prefix - Coinbase::Network + acceptable_attributes + Coinbase::Client::CreateSmartContractRequest
        • - #addresses - Coinbase::Wallet + acceptable_attributes + Coinbase::Client::CreatePayloadSignatureRequest
        • - all_vars - Coinbase::Client::ValidatorStatus + acceptable_attributes + Coinbase::Client::CreateServerSignerRequest
        • - all_vars - Coinbase::Client::TransactionType + acceptable_attributes + Coinbase::Client::Error
        • - all_vars - Coinbase::Client::Feature + acceptable_attributes + Coinbase::Client::TokenContractOptions
        • - all_vars - Coinbase::Client::NetworkIdentifier + acceptable_attributes + Coinbase::Client::GetStakingContextRequest
        • - all_vars - Coinbase::Client::StakingRewardFormat + acceptable_attributes + Coinbase::Client::SeedCreationEvent
        • - all_vars - Coinbase::Client::WebhookEventType + acceptable_attributes + Coinbase::Client::StakingBalance
        • - #allowable_values - Coinbase::Client::Transfer::EnumAttributeValidator + acceptable_attributes + Coinbase::Client::WebhookList
        • - #allowable_values - Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator + acceptable_attributes + Coinbase::Client::FeatureSet
        • - #allowable_values - Coinbase::Client::StakingOperation::EnumAttributeValidator + acceptable_attributes + Coinbase::Client::AddressBalanceList
        • - #allowable_values - Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator + #access_list + Coinbase::Client::EthereumTransactionAccessList
        • - #allowable_values - Coinbase::Client::Wallet::EnumAttributeValidator + #access_token + Coinbase::Client::Configuration
        • - #allowable_values - Coinbase::Client::PayloadSignature::EnumAttributeValidator + #access_token_getter + Coinbase::Client::Configuration
        • - #allowable_values - Coinbase::Client::Transaction::EnumAttributeValidator + #access_token_with_refresh + Coinbase::Client::Configuration
        • - #allowable_values - Coinbase::Client::StakingReward::EnumAttributeValidator + #action + Coinbase::Client::BuildStakingOperationRequest
        • - #allowable_values - Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator + #action + Coinbase::Client::CreateStakingOperationRequest
        • - #allowable_values - Coinbase::Client::Webhook::EnumAttributeValidator + #activation_epoch + Coinbase::Client::EthereumValidatorMetadata
        • - #allowable_values - Coinbase::Client::Validator::EnumAttributeValidator + #add + Coinbase::BalanceMap
        • - #allowable_values - Coinbase::Client::Network::EnumAttributeValidator + #address + Coinbase::Client::EthereumTransactionAccess
        • - #allowable_values - Coinbase::Client::SponsoredSend::EnumAttributeValidator + #address + Coinbase::Client::StakingBalance
        • - #allowable_values - Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator + #address + Coinbase::Wallet
        • - #amount - Coinbase::Client::StakingReward + #address + Coinbase::StakingBalance
        • - #amount - Coinbase::Balance + #address_id + Coinbase::Client::StakingOperation
        • - #amount - Coinbase::Client::HistoricalBalance + #address_id + Coinbase::StakingOperation
        • - #amount - Coinbase::Client::CreateTradeRequest + #address_id + Coinbase::Trade
        • - #amount - Coinbase::HistoricalBalance + #address_id + Coinbase::PayloadSignature
        • - #amount - Coinbase::Client::StakingRewardUSDValue + #address_id + Coinbase::Client::BuildStakingOperationRequest
        • - #amount - Coinbase::StakingReward + #address_id + Coinbase::Client::Transfer
        • - #amount - Coinbase::Client::Balance + #address_id + Coinbase::Client::Trade
        • - #amount - Coinbase::Client::Transfer + #address_id + Coinbase::Client::StakingReward
        • - #amount - Coinbase::Client::CreateTransferRequest + #address_id + Coinbase::Client::SignatureCreationEvent
        • - #amount - Coinbase::Transfer + #address_id + Coinbase::Client::Address
        • - #api_client - Coinbase::Client::ExternalAddressesApi + #address_id + Coinbase::Asset
        • - #api_client - Coinbase::Client::AddressesApi + #address_id + Coinbase::ContractInvocation
        • - #api_client - Coinbase::Client::WalletsApi + #address_id + Coinbase::Client::PayloadSignature
        • - #api_client - Coinbase::Client::TradesApi + #address_id + Coinbase::Client::GetStakingContextRequest
        • - #api_client - Coinbase::Configuration + #address_id + Coinbase::Client::ContractInvocation
        • - #api_client - Coinbase::Client::AssetsApi + #address_id + Coinbase::StakingReward
        • - #api_client - Coinbase::Client::StakeApi + #address_id + Coinbase::Client::SignatureCreationEventResult
        • - #api_client - Coinbase::Client::ServerSignersApi + #address_id + Coinbase::Destination
        • - #api_client - Coinbase::Client::ContractInvocationsApi + #address_ids + Coinbase::Client::FetchStakingRewardsRequest
        • - #api_client - Coinbase::Client::NetworksApi + #address_index + Coinbase::Client::SignatureCreationEvent
        • - #api_client - Coinbase::Client::ValidatorsApi + #address_index + Coinbase::Client::CreateAddressRequest
        • - #api_client - Coinbase::Client::TransfersApi + #address_path_prefix + Coinbase::Network
        • - #api_client - Coinbase::Client::UsersApi + #address_path_prefix + Coinbase::Client::Network
        • - #api_client - Coinbase::Client::WalletStakeApi + #addresses + Coinbase::Client::WebhookWalletActivityFilter
        • - #api_client - Coinbase::Client::WebhooksApi + #addresses + Coinbase::Wallet
        • - #api_client - Coinbase::Client::ContractEventsApi + all_vars + Coinbase::Client::TransactionType
        • - #api_code - Coinbase::APIError + all_vars + Coinbase::Client::StakingRewardFormat
        • - #api_key - Coinbase::Client::Configuration + all_vars + Coinbase::Client::SmartContractType
        • - #api_key_name - Coinbase::Configuration + all_vars + Coinbase::Client::WebhookEventType
        • - #api_key_prefix - Coinbase::Client::Configuration + all_vars + Coinbase::Client::NetworkIdentifier
        • - #api_key_private_key - Coinbase::Configuration + all_vars + Coinbase::Client::ValidatorStatus
        • - #api_key_with_prefix - Coinbase::Client::Configuration + #allowable_values + Coinbase::Client::Validator::EnumAttributeValidator
        • - #api_message - Coinbase::APIError + #allowable_values + Coinbase::Client::StakingOperation::EnumAttributeValidator
        • - #api_url - Coinbase::Configuration + #allowable_values + Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator
        • - #approve_transaction - Coinbase::Trade + #allowable_values + Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator
        • - #approve_transaction - Coinbase::Client::Trade + #allowable_values + Coinbase::Client::Webhook::EnumAttributeValidator
        • - #approve_transaction_signed_payload - Coinbase::Client::BroadcastTradeRequest + #allowable_values + Coinbase::Client::Wallet::EnumAttributeValidator
        • - #args - Coinbase::Client::CreateContractInvocationRequest + #allowable_values + Coinbase::Client::Transaction::EnumAttributeValidator
        • - #args - Coinbase::ContractInvocation + #allowable_values + Coinbase::Client::Transfer::EnumAttributeValidator
        • - #args - Coinbase::Client::ContractInvocation + #allowable_values + Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator
        • - #asset - Coinbase::Client::Balance + #allowable_values + Coinbase::Client::PayloadSignature::EnumAttributeValidator
        • - #asset - Coinbase::HistoricalBalance + #allowable_values + Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator
        • - #asset - Coinbase::Client::Transfer + #allowable_values + Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator
        • - #asset - Coinbase::Balance + #allowable_values + Coinbase::Client::StakingReward::EnumAttributeValidator
        • - #asset - Coinbase::Client::HistoricalBalance + #allowable_values + Coinbase::Client::SponsoredSend::EnumAttributeValidator
        • - #asset - Coinbase::Transfer + #allowable_values + Coinbase::Client::SmartContract::EnumAttributeValidator
        • - #asset_id - Coinbase::Asset + #allowable_values + Coinbase::Client::Network::EnumAttributeValidator
        • - #asset_id - Coinbase::Client::FetchStakingRewardsRequest + #amount + Coinbase::Client::StakingReward
        • - #asset_id - Coinbase::Balance + #amount + Coinbase::Client::ContractInvocation
        • - #asset_id - Coinbase::Client::CreateTransferRequest + #amount + Coinbase::StakingReward
        • - #asset_id - Coinbase::Client::Transfer + #amount + Coinbase::Client::CreateTransferRequest
        • - #asset_id - Coinbase::Client::Validator + #amount + Coinbase::Client::StakingRewardUSDValue
        • - #asset_id - Coinbase::Transfer + #amount + Coinbase::ContractInvocation
        • - #asset_id - Coinbase::Client::CreateStakingOperationRequest + #amount + Coinbase::Client::HistoricalBalance
        • - #asset_id - Coinbase::Client::Asset + #amount + Coinbase::Client::CreateContractInvocationRequest
        • - #asset_id - Coinbase::Client::BuildStakingOperationRequest + #amount + Coinbase::Client::Transfer
        • - #asset_id - Coinbase::Client::GetStakingContextRequest + #amount + Coinbase::Client::CreateTradeRequest
        • - #attestation - Coinbase::Client::CreateAddressRequest + #amount + Coinbase::Transfer
        • - attribute_map - Coinbase::Client::SignatureCreationEvent + #amount + Coinbase::Balance
        • - attribute_map - Coinbase::Client::Webhook + #amount + Coinbase::HistoricalBalance
        • - attribute_map - Coinbase::Client::FetchHistoricalStakingBalances200Response + #amount + Coinbase::Client::Balance
        • - attribute_map - Coinbase::Client::WebhookEventFilter + #api_client + Coinbase::Client::AssetsApi
        • - attribute_map - Coinbase::Client::CreateWalletRequest + #api_client + Coinbase::Client::TradesApi
        • - attribute_map - Coinbase::Client::EthereumTransaction + #api_client + Coinbase::Client::ServerSignersApi
        • - attribute_map - Coinbase::Client::Network + #api_client + Coinbase::Client::SmartContractsApi
        • - attribute_map - Coinbase::Client::CreateTradeRequest + #api_client + Coinbase::Client::ValidatorsApi
        • - attribute_map - Coinbase::Client::Transfer + #api_client + Coinbase::Client::NetworksApi
        • - attribute_map - Coinbase::Client::CreateAddressRequest + #api_client + Coinbase::Configuration
        • - attribute_map - Coinbase::Client::AddressBalanceList + #api_client + Coinbase::Client::WalletStakeApi
        • - attribute_map - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #api_client + Coinbase::Client::AddressesApi
        • - attribute_map - Coinbase::Client::CreateWebhookRequest + #api_client + Coinbase::Client::ExternalAddressesApi
        • - attribute_map - Coinbase::Client::ServerSignerEvent + #api_client + Coinbase::Client::ContractInvocationsApi
        • - attribute_map - Coinbase::Client::BroadcastContractInvocationRequest + #api_client + Coinbase::Client::WebhooksApi
        • - attribute_map - Coinbase::Client::PayloadSignatureList + #api_client + Coinbase::Client::TransactionHistoryApi
        • - attribute_map - Coinbase::Client::SeedCreationEvent + #api_client + Coinbase::Client::TransfersApi
        • - attribute_map - Coinbase::Client::UpdateWebhookRequest + #api_client + Coinbase::Client::BalanceHistoryApi
        • - attribute_map - Coinbase::Client::BroadcastTradeRequest + #api_client + Coinbase::Client::WalletsApi
        • - attribute_map - Coinbase::Client::User + #api_client + Coinbase::Client::ContractEventsApi
        • - attribute_map - Coinbase::Client::ContractInvocation + #api_client + Coinbase::Client::StakeApi
        • - attribute_map - Coinbase::Client::CreateTransferRequest + #api_client + Coinbase::Client::UsersApi
        • - attribute_map - Coinbase::Client::Validator + #api_code + Coinbase::APIError
        • - attribute_map - Coinbase::Client::EthereumTransactionFlattenedTrace + #api_key + Coinbase::Client::Configuration
        • - attribute_map - Coinbase::Client::ContractEventList + #api_key_name + Coinbase::Configuration
        • - attribute_map - Coinbase::Client::StakingContextContext + #api_key_prefix + Coinbase::Client::Configuration
        • - attribute_map - Coinbase::Client::Balance + #api_key_private_key + Coinbase::Configuration
        • - attribute_map - Coinbase::Client::AddressTransactionList + #api_key_with_prefix + Coinbase::Client::Configuration
        • - attribute_map - Coinbase::Client::ServerSignerList + #api_message + Coinbase::APIError
        • - attribute_map - Coinbase::Client::BroadcastStakingOperationRequest + #api_url + Coinbase::Configuration
        • - attribute_map - Coinbase::Client::Asset + #approve_transaction + Coinbase::Trade
        • - attribute_map - Coinbase::Client::ContractInvocationList + #approve_transaction + Coinbase::Client::Trade
        • - attribute_map - Coinbase::Client::TradeList + #approve_transaction_signed_payload + Coinbase::Client::BroadcastTradeRequest
        • - attribute_map - Coinbase::Client::ServerSignerEventList + #args + Coinbase::Client::ContractInvocation
        • - attribute_map - Coinbase::Client::HistoricalBalance + #args + Coinbase::ContractInvocation
        • - attribute_map + #args Coinbase::Client::CreateContractInvocationRequest
        • @@ -3598,375 +3598,375 @@

          Method List

        • - attribute_map - Coinbase::Client::Error + #asset + Coinbase::HistoricalBalance
        • - attribute_map - Coinbase::Client::ServerSigner + #asset + Coinbase::Client::Balance
        • - attribute_map - Coinbase::Client::FaucetTransaction + #asset + Coinbase::Balance
        • - attribute_map - Coinbase::Client::Address + #asset + Coinbase::Transfer
        • - attribute_map - Coinbase::Client::StakingRewardUSDValue + #asset + Coinbase::Client::HistoricalBalance
        • - attribute_map - Coinbase::Client::FeatureSet + #asset + Coinbase::Client::Transfer
        • - attribute_map - Coinbase::Client::StakingOperation + #asset_id + Coinbase::Client::CreateStakingOperationRequest
        • - attribute_map - Coinbase::Client::BroadcastTransferRequest + #asset_id + Coinbase::Client::BuildStakingOperationRequest
        • - attribute_map - Coinbase::Client::FetchStakingRewards200Response + #asset_id + Coinbase::Balance
        • - attribute_map - Coinbase::Client::EthereumTransactionAccessList + #asset_id + Coinbase::Client::Transfer
        • - attribute_map - Coinbase::Client::Trade + #asset_id + Coinbase::Client::GetStakingContextRequest
        • - attribute_map - Coinbase::Client::SeedCreationEventResult + #asset_id + Coinbase::Transfer
        • - attribute_map - Coinbase::Client::PayloadSignature + #asset_id + Coinbase::Client::Asset
        • - attribute_map - Coinbase::Client::Transaction + #asset_id + Coinbase::Client::CreateTransferRequest
        • - attribute_map - Coinbase::Client::EthereumTransactionAccess + #asset_id + Coinbase::Client::Validator
        • - attribute_map - Coinbase::Client::CreateStakingOperationRequest + #asset_id + Coinbase::Asset
        • - attribute_map - Coinbase::Client::StakingContext + #asset_id + Coinbase::Client::FetchStakingRewardsRequest
        • - attribute_map - Coinbase::Client::EthereumValidatorMetadata + #attestation + Coinbase::Client::CreateAddressRequest
        • - attribute_map - Coinbase::Client::WalletList + attribute_map + Coinbase::Client::User
        • - attribute_map - Coinbase::Client::StakingBalance + attribute_map + Coinbase::Client::EthereumTransaction
        • - attribute_map - Coinbase::Client::CreatePayloadSignatureRequest + attribute_map + Coinbase::Client::WebhookEventFilter
        • - attribute_map - Coinbase::Client::SignatureCreationEventResult + attribute_map + Coinbase::Client::ERC20TransferEvent
        • - attribute_map - Coinbase::Client::GetStakingContextRequest + attribute_map + Coinbase::Client::Asset
        • - attribute_map - Coinbase::Client::ValidatorList + attribute_map + Coinbase::Client::CreateWalletRequest
        • - attribute_map - Coinbase::Client::CreateServerSignerRequest + attribute_map + Coinbase::Client::CreateTradeRequest
        • - attribute_map - Coinbase::Client::AddressList + attribute_map + Coinbase::Client::ERC721TransferEvent
        • - attribute_map - Coinbase::Client::CreateWalletRequestWallet + attribute_map + Coinbase::Client::AddressBalanceList
        • - attribute_map - Coinbase::Client::StakingReward + attribute_map + Coinbase::Client::Error
        • - attribute_map - Coinbase::Client::Wallet + attribute_map + Coinbase::Client::CreateAddressRequest
        • - attribute_map - Coinbase::Client::FetchStakingRewardsRequest + attribute_map + Coinbase::Client::CreateWebhookRequest
        • - attribute_map - Coinbase::Client::SponsoredSend + attribute_map + Coinbase::Client::SmartContractList
        • - attribute_map - Coinbase::Client::WebhookList + attribute_map + Coinbase::Client::PayloadSignatureList
        • - attribute_map - Coinbase::Client::ContractEvent + attribute_map + Coinbase::Client::ServerSignerEvent
        • - attribute_map - Coinbase::Client::BuildStakingOperationRequest + attribute_map + Coinbase::Client::Trade
        • - attribute_map - Coinbase::Client::AddressHistoricalBalanceList + attribute_map + Coinbase::Client::TokenContractOptions
        • - attribute_map - Coinbase::Client::TransferList + attribute_map + Coinbase::Client::SeedCreationEvent
        • - #auth_settings - Coinbase::Client::Configuration + attribute_map + Coinbase::Client::UpdateWebhookRequest
        • - #balance - Coinbase::Client::EthereumValidatorMetadata + attribute_map + Coinbase::Client::ContractInvocation
        • - #balance - Coinbase::Wallet + attribute_map + Coinbase::Client::BroadcastTradeRequest
        • - #balance - Coinbase::Address + attribute_map + Coinbase::Client::CreateTransferRequest
        • - #balances - Coinbase::Address + attribute_map + Coinbase::Client::StakingContextContext
        • - #balances - Coinbase::Wallet + attribute_map + Coinbase::Client::ContractEventList
        • - #base_path - Coinbase::Client::Configuration + attribute_map + Coinbase::Client::AddressTransactionList
        • - #base_url - Coinbase::Client::Configuration + attribute_map + Coinbase::Client::ContractInvocationList
        • - #basic_auth - Coinbase::Client::ApiClient + attribute_map + Coinbase::Client::ServerSignerList
        • - #basic_auth_token - Coinbase::Client::Configuration + attribute_map + Coinbase::Client::ServerSignerEventList
        • - #block_hash + attribute_map Coinbase::Client::HistoricalBalance
        • @@ -3974,1063 +3974,1063 @@

          Method List

        • - #block_hash - Coinbase::Transaction + attribute_map + Coinbase::Client::SignatureCreationEvent
        • - #block_hash - Coinbase::Client::Transaction + attribute_map + Coinbase::Client::StakingRewardUSDValue
        • - #block_hash - Coinbase::Client::EthereumTransactionFlattenedTrace + attribute_map + Coinbase::Client::FaucetTransaction
        • - #block_hash - Coinbase::HistoricalBalance + attribute_map + Coinbase::Client::StakingOperation
        • - #block_height - Coinbase::Client::Transaction + attribute_map + Coinbase::Client::BroadcastTransferRequest
        • - #block_height - Coinbase::Transaction + attribute_map + Coinbase::Client::SeedCreationEventResult
        • - #block_height - Coinbase::Client::HistoricalBalance + attribute_map + Coinbase::Client::PayloadSignature
        • - #block_height - Coinbase::Client::ContractEvent + attribute_map + Coinbase::Client::Transfer
        • - #block_height - Coinbase::HistoricalBalance + attribute_map + Coinbase::Client::EthereumTransactionAccess
        • - #block_height - Coinbase::ContractEvent + attribute_map + Coinbase::Client::StakingContext
        • - #block_number - Coinbase::Client::EthereumTransactionFlattenedTrace + attribute_map + Coinbase::Client::Wallet
        • - #block_time - Coinbase::Client::ContractEvent + attribute_map + Coinbase::Client::EthereumValidatorMetadata
        • - #block_time - Coinbase::ContractEvent + attribute_map + Coinbase::Client::GetStakingContextRequest
        • - #block_timestamp - Coinbase::Client::EthereumTransaction + attribute_map + Coinbase::Client::StakingBalance
        • - #bonded_stake - Coinbase::Client::StakingBalance + attribute_map + Coinbase::Client::CreateServerSignerRequest
        • - #bonded_stake - Coinbase::StakingBalance + attribute_map + Coinbase::Client::CreateWalletRequestWallet
        • - #broadcast! - Coinbase::Transfer + attribute_map + Coinbase::Client::ValidatorList
        • - #broadcast! - Coinbase::StakingOperation + attribute_map + Coinbase::Client::MultiTokenContractOptions
        • - #broadcast! - Coinbase::Trade + attribute_map + Coinbase::Client::StakingReward
        • - #broadcast! - Coinbase::ContractInvocation + attribute_map + Coinbase::Client::CreateSmartContractRequest
        • - #broadcast_contract_invocation - Coinbase::Client::ContractInvocationsApi + attribute_map + Coinbase::Client::Address
        • - #broadcast_contract_invocation_with_http_info - Coinbase::Client::ContractInvocationsApi + attribute_map + Coinbase::Client::CreateWalletWebhookRequest
        • - #broadcast_staking_operation - Coinbase::Client::WalletStakeApi + attribute_map + Coinbase::Client::DeploySmartContractRequest
        • - #broadcast_staking_operation_with_http_info - Coinbase::Client::WalletStakeApi + attribute_map + Coinbase::Client::SponsoredSend
        • - #broadcast_trade - Coinbase::Client::TradesApi + attribute_map + Coinbase::Client::FetchStakingRewardsRequest
        • - #broadcast_trade_with_http_info - Coinbase::Client::TradesApi + attribute_map + Coinbase::Client::Balance
        • - #broadcast_transfer - Coinbase::Client::TransfersApi + attribute_map + Coinbase::Client::SmartContract
        • - #broadcast_transfer_with_http_info - Coinbase::Client::TransfersApi + attribute_map + Coinbase::Client::WebhookWalletActivityFilter
        • - build - Coinbase::Client::ValidatorDetails + attribute_map + Coinbase::Client::AddressHistoricalBalanceList
        • - build - Coinbase::StakingOperation + attribute_map + Coinbase::Client::ContractEvent
        • - build - Coinbase::Client::StakingOperationMetadata + attribute_map + Coinbase::Client::BuildStakingOperationRequest
        • - build - Coinbase::Client::ServerSignerEventEvent + attribute_map + Coinbase::Client::TransferList
        • - build - Coinbase::Client::TransactionContent + attribute_map + Coinbase::Client::Network
        • - #build_claim_stake_operation - Coinbase::Address + attribute_map + Coinbase::Client::SignatureCreationEventResult
        • - #build_collection_param - Coinbase::Client::ApiClient + attribute_map + Coinbase::Client::ServerSigner
        • - #build_connection - Coinbase::Client::ApiClient + attribute_map + Coinbase::Client::CreatePayloadSignatureRequest
        • - build_from_hash - Coinbase::Client::AddressHistoricalBalanceList + attribute_map + Coinbase::Client::WebhookList
        • - build_from_hash - Coinbase::Client::TransferList + attribute_map + Coinbase::Client::CreateStakingOperationRequest
        • - build_from_hash - Coinbase::Client::WebhookList + attribute_map + Coinbase::Client::EthereumTransactionAccessList
        • - build_from_hash - Coinbase::Client::CreatePayloadSignatureRequest + attribute_map + Coinbase::Client::AddressList
        • - build_from_hash - Coinbase::Client::ServerSigner + attribute_map + Coinbase::Client::FetchStakingRewards200Response
        • - build_from_hash - Coinbase::Client::BroadcastStakingOperationRequest + attribute_map + Coinbase::Client::Webhook
        • - build_from_hash - Coinbase::Client::Validator + attribute_map + Coinbase::Client::WalletList
        • - build_from_hash - Coinbase::Client::CreateTransferRequest + attribute_map + Coinbase::Client::CreateContractInvocationRequest
        • - build_from_hash - Coinbase::Client::User + attribute_map + Coinbase::Client::BroadcastStakingOperationRequest
        • - build_from_hash - Coinbase::Client::ContractEventList + attribute_map + Coinbase::Client::Transaction
        • - build_from_hash - Coinbase::Client::Balance + attribute_map + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - build_from_hash - Coinbase::Client::EthereumTransactionFlattenedTrace + attribute_map + Coinbase::Client::FeatureSet
        • - build_from_hash - Coinbase::Client::BroadcastTradeRequest + attribute_map + Coinbase::Client::BroadcastContractInvocationRequest
        • - build_from_hash - Coinbase::Client::ContractInvocation + attribute_map + Coinbase::Client::TradeList
        • - build_from_hash - Coinbase::Client::UpdateWebhookRequest + attribute_map + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - build_from_hash - Coinbase::Client::PayloadSignatureList + attribute_map + Coinbase::Client::Validator
        • - build_from_hash - Coinbase::Client::Feature + attribute_map + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #build_from_hash - Coinbase::Client::Feature + attribute_map + Coinbase::Client::NFTContractOptions
        • - build_from_hash - Coinbase::Client::SeedCreationEvent + #auth_settings + Coinbase::Client::Configuration
        • - build_from_hash - Coinbase::Client::CreateWebhookRequest + #balance + Coinbase::Wallet
        • - build_from_hash - Coinbase::Client::Transfer + #balance + Coinbase::Client::EthereumValidatorMetadata
        • - build_from_hash - Coinbase::Client::BroadcastContractInvocationRequest + #balance + Coinbase::Address
        • - build_from_hash - Coinbase::Client::ServerSignerEvent + #balances + Coinbase::Wallet
        • - build_from_hash - Coinbase::Client::CreateAddressRequest + #balances + Coinbase::Address
        • - build_from_hash - Coinbase::Client::AddressBalanceList + #base_path + Coinbase::Client::Configuration
        • - #build_from_hash - Coinbase::Client::StakingRewardFormat + #base_uri + Coinbase::Client::NFTContractOptions
        • - build_from_hash - Coinbase::Client::CreateTradeRequest + #base_url + Coinbase::Client::Configuration
        • - build_from_hash - Coinbase::Client::StakingRewardFormat + #basic_auth + Coinbase::Client::ApiClient
        • - build_from_hash - Coinbase::Client::CreateWalletRequest + #basic_auth_token + Coinbase::Client::Configuration
        • - build_from_hash - Coinbase::Client::EthereumTransaction + #block_hash + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - build_from_hash - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #block_hash + Coinbase::Client::Transaction
        • - build_from_hash - Coinbase::Client::Network + #block_hash + Coinbase::Transaction
        • - build_from_hash - Coinbase::Client::FetchHistoricalStakingBalances200Response + #block_hash + Coinbase::Client::HistoricalBalance
        • - build_from_hash - Coinbase::Client::Webhook + #block_hash + Coinbase::HistoricalBalance
        • - build_from_hash - Coinbase::Client::WebhookEventFilter + #block_hash + Coinbase::Client::ERC20TransferEvent
        • - build_from_hash - Coinbase::Client::BuildStakingOperationRequest + #block_hash + Coinbase::Client::ERC721TransferEvent
        • - build_from_hash - Coinbase::Client::FetchStakingRewardsRequest + #block_height + Coinbase::HistoricalBalance
        • - build_from_hash - Coinbase::Client::ContractEvent + #block_height + Coinbase::Transaction
        • - build_from_hash - Coinbase::Client::AddressList + #block_height + Coinbase::Client::Transaction
        • - build_from_hash - Coinbase::Client::SponsoredSend + #block_height + Coinbase::Client::HistoricalBalance
        • - build_from_hash - Coinbase::Client::CreateWalletRequestWallet + #block_height + Coinbase::ContractEvent
        • - build_from_hash - Coinbase::Client::StakingReward + #block_height + Coinbase::Client::ContractEvent
        • - build_from_hash - Coinbase::Client::CreateServerSignerRequest + #block_number + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - build_from_hash - Coinbase::Client::GetStakingContextRequest + #block_number + Coinbase::Client::ERC721TransferEvent
        • - build_from_hash - Coinbase::Client::ValidatorList + #block_number + Coinbase::Client::ERC20TransferEvent
        • - build_from_hash - Coinbase::Client::SignatureCreationEventResult + #block_time + Coinbase::Client::ContractEvent
        • - build_from_hash - Coinbase::Client::WalletList + #block_time + Coinbase::Client::ERC20TransferEvent
        • - build_from_hash - Coinbase::Client::Wallet + #block_time + Coinbase::Client::ERC721TransferEvent
        • - build_from_hash - Coinbase::Client::EthereumValidatorMetadata + #block_time + Coinbase::ContractEvent
        • - build_from_hash - Coinbase::Client::StakingBalance + #block_timestamp + Coinbase::Client::EthereumTransaction
        • - build_from_hash - Coinbase::Client::StakingContext + #bonded_stake + Coinbase::Client::StakingBalance
        • - build_from_hash - Coinbase::Client::Transaction + #bonded_stake + Coinbase::StakingBalance
        • - build_from_hash - Coinbase::Client::EthereumTransactionAccess + #broadcast! + Coinbase::Transfer
        • - build_from_hash - Coinbase::Client::TransactionType + #broadcast! + Coinbase::ContractInvocation
        • - build_from_hash - Coinbase::Client::CreateStakingOperationRequest + #broadcast! + Coinbase::Trade
        • - #build_from_hash - Coinbase::Client::TransactionType + #broadcast! + Coinbase::StakingOperation
        • - build_from_hash - Coinbase::Client::Trade + #broadcast_contract_invocation + Coinbase::Client::ContractInvocationsApi
        • - build_from_hash - Coinbase::Client::ValidatorStatus + #broadcast_contract_invocation_with_http_info + Coinbase::Client::ContractInvocationsApi
        • - #build_from_hash - Coinbase::Client::ValidatorStatus + #broadcast_staking_operation + Coinbase::Client::WalletStakeApi
        • - build_from_hash - Coinbase::Client::SeedCreationEventResult + #broadcast_staking_operation_with_http_info + Coinbase::Client::WalletStakeApi
        • - build_from_hash - Coinbase::Client::BroadcastTransferRequest + #broadcast_trade + Coinbase::Client::TradesApi
        • - build_from_hash - Coinbase::Client::PayloadSignature + #broadcast_trade_with_http_info + Coinbase::Client::TradesApi
        • - build_from_hash - Coinbase::Client::EthereumTransactionAccessList + #broadcast_transfer + Coinbase::Client::TransfersApi
        • - build_from_hash - Coinbase::Client::FeatureSet + #broadcast_transfer_with_http_info + Coinbase::Client::TransfersApi
        • - build_from_hash - Coinbase::Client::StakingRewardUSDValue + build + Coinbase::Client::ServerSignerEventEvent
        • - build_from_hash - Coinbase::Client::StakingOperation + build + Coinbase::Client::TransactionContent
        • - build_from_hash - Coinbase::Client::Error + build + Coinbase::Client::StakingOperationMetadata
        • - build_from_hash - Coinbase::Client::SignatureCreationEvent + build + Coinbase::StakingOperation
        • - build_from_hash - Coinbase::Client::FaucetTransaction + build + Coinbase::Client::ValidatorDetails
        • - build_from_hash - Coinbase::Client::FetchStakingRewards200Response + build + Coinbase::Client::WebhookEventTypeFilter
        • - build_from_hash - Coinbase::Client::TradeList + build + Coinbase::Client::SmartContractOptions
        • - build_from_hash - Coinbase::Client::Asset + #build_claim_stake_operation + Coinbase::Address
        • - build_from_hash - Coinbase::Client::ServerSignerEventList + #build_collection_param + Coinbase::Client::ApiClient
        • - build_from_hash - Coinbase::Client::ContractInvocationList + #build_connection + Coinbase::Client::ApiClient
        • - build_from_hash - Coinbase::Client::HistoricalBalance + build_from_hash + Coinbase::Client::TransactionType
        • - build_from_hash - Coinbase::Client::Address + build_from_hash + Coinbase::Client::TokenContractOptions
        • - build_from_hash - Coinbase::Client::CreateContractInvocationRequest + build_from_hash + Coinbase::Client::WebhookEventFilter
        • - build_from_hash - Coinbase::Client::NetworkIdentifier + build_from_hash + Coinbase::Client::StakingContext
        • - #build_from_hash - Coinbase::Client::NetworkIdentifier + build_from_hash + Coinbase::Client::EthereumTransactionAccess
        • - build_from_hash - Coinbase::Client::AddressTransactionList + build_from_hash + Coinbase::Client::BroadcastStakingOperationRequest
        • - build_from_hash - Coinbase::Client::ServerSignerList + build_from_hash + Coinbase::Client::CreateTradeRequest
        • - build_from_hash - Coinbase::Client::StakingContextContext + build_from_hash + Coinbase::Client::EthereumValidatorMetadata
        • - build_from_hash - Coinbase::Client::WebhookEventType + build_from_hash + Coinbase::Client::StakingBalance
        • - #build_from_hash - Coinbase::Client::WebhookEventType + build_from_hash + Coinbase::Client::SeedCreationEvent
        • - #build_jwt - Coinbase::Authenticator + build_from_hash + Coinbase::Client::Wallet
        • - #build_request - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::GetStakingContextRequest
        • - #build_request_body - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::CreateServerSignerRequest
        • - #build_request_url - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::PayloadSignatureList
        • - #build_stake_operation - Coinbase::Address + build_from_hash + Coinbase::Client::ValidatorList
        • - #build_staking_operation - Coinbase::Client::StakeApi + build_from_hash + Coinbase::Client::CreateWalletRequestWallet
        • - #build_staking_operation_with_http_info - Coinbase::Client::StakeApi + build_from_hash + Coinbase::Client::FeatureSet
        • - #build_unstake_operation - Coinbase::Address + build_from_hash + Coinbase::Client::ServerSignerEvent
        • - #call - Coinbase::Correlation + build_from_hash + Coinbase::Client::StakingReward
        • - #call - Coinbase::Authenticator + build_from_hash + Coinbase::Client::MultiTokenContractOptions
        • - call_api - Coinbase + build_from_hash + Coinbase::Client::CreateWebhookRequest
        • - #call_api - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::CreateSmartContractRequest
        • - #call_type + build_from_hash Coinbase::Client::EthereumTransactionFlattenedTrace
        • @@ -5038,3271 +5038,5463 @@

          Method List

        • - #can_sign? - Coinbase::WalletAddress + build_from_hash + Coinbase::Client::CreateWalletWebhookRequest
        • - #can_sign? - Coinbase::Address + build_from_hash + Coinbase::Client::SponsoredSend
        • - #can_sign? - Coinbase::Wallet + build_from_hash + Coinbase::Client::DeploySmartContractRequest
        • - #chain_id - Coinbase::Network + build_from_hash + Coinbase::Client::Error
        • - #chain_id - Coinbase::Client::Network + build_from_hash + Coinbase::Client::Address
        • - #claim_stake - Coinbase::Wallet + build_from_hash + Coinbase::Client::SmartContractList
        • - #claim_stake - Coinbase::WalletAddress + build_from_hash + Coinbase::Client::SmartContract
        • - #claimable_balance - Coinbase::Address + build_from_hash + Coinbase::Client::FetchStakingRewardsRequest
        • - #claimable_balance - Coinbase::Wallet + build_from_hash + Coinbase::Client::CreateAddressRequest
        • - #claimable_balance - Coinbase::Client::StakingContextContext + build_from_hash + Coinbase::Client::Transfer
        • - #client_side_validation - Coinbase::Client::Configuration + build_from_hash + Coinbase::Client::TradeList
        • - #code - Coinbase::Client::Error + build_from_hash + Coinbase::Client::SmartContractType
        • - #code - Coinbase::Client::ApiError + #build_from_hash + Coinbase::Client::SmartContractType
        • - #complete - Coinbase::StakingOperation + build_from_hash + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #completed? - Coinbase::StakingOperation + build_from_hash + Coinbase::Client::BroadcastContractInvocationRequest
        • - config - Coinbase::Middleware + build_from_hash + Coinbase::Client::WebhookWalletActivityFilter
        • - #config - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::Balance
        • - configuration - Coinbase + build_from_hash + Coinbase::Client::ContractEvent
        • - configure - Coinbase::Client + build_from_hash + Coinbase::Client::NFTContractOptions
        • - #configure - Coinbase::Client::Configuration + build_from_hash + Coinbase::Client::TransferList
        • - configure - Coinbase + build_from_hash + Coinbase::Client::AddressHistoricalBalanceList
        • - #configure_connection - Coinbase::Client::Configuration + #build_from_hash + Coinbase::Client::StakingRewardFormat
        • - #configure_faraday_connection - Coinbase::Client::Configuration + build_from_hash + Coinbase::Client::BuildStakingOperationRequest
        • - configure_from_json - Coinbase + build_from_hash + Coinbase::Client::ServerSigner
        • - #configure_middleware - Coinbase::Client::Configuration + build_from_hash + Coinbase::Client::StakingRewardFormat
        • - configured? - Coinbase + build_from_hash + Coinbase::Client::Network
        • - #connection - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::SignatureCreationEventResult
        • - #connection_multipart - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::ERC721TransferEvent
        • - #connection_regular - Coinbase::Client::ApiClient + #build_from_hash + Coinbase::Client::NetworkIdentifier
        • - #content - Coinbase::Client::Transaction + build_from_hash + Coinbase::Client::NetworkIdentifier
        • - #content - Coinbase::Transaction + build_from_hash + Coinbase::Client::ContractInvocationList
        • - #context - Coinbase::Client::StakingContext + build_from_hash + Coinbase::Client::StakingContextContext
        • - #contract_address - Coinbase::Client::ContractInvocation + build_from_hash + Coinbase::Client::HistoricalBalance
        • - #contract_address - Coinbase::Client::WebhookEventFilter + build_from_hash + Coinbase::Client::ServerSignerEventList
        • - #contract_address - Coinbase::ContractEvent + build_from_hash + Coinbase::Client::WebhookEventType
        • - #contract_address - Coinbase::Client::Asset + #build_from_hash + Coinbase::Client::WebhookEventType
        • - #contract_address - Coinbase::Client::CreateContractInvocationRequest + build_from_hash + Coinbase::Client::CreateTransferRequest
        • - #contract_address - Coinbase::ContractInvocation + build_from_hash + Coinbase::Client::ERC20TransferEvent
        • - #contract_address - Coinbase::Client::ContractEvent + build_from_hash + Coinbase::Client::SignatureCreationEvent
        • - contract_events_api - Coinbase::SmartContract + build_from_hash + Coinbase::Client::FaucetTransaction
        • - #contract_invocation_id - Coinbase::Client::ContractInvocation + build_from_hash + Coinbase::Client::ContractEventList
        • - #contract_name - Coinbase::Client::ContractEvent + build_from_hash + Coinbase::Client::CreateWalletRequest
        • - #contract_name - Coinbase::ContractEvent + build_from_hash + Coinbase::Client::EthereumTransaction
        • - #contract_name - Coinbase::SmartContract + build_from_hash + Coinbase::Client::StakingRewardUSDValue
        • - #conversion_price - Coinbase::Client::StakingRewardUSDValue + build_from_hash + Coinbase::Client::StakingOperation
        • - #conversion_time - Coinbase::Client::StakingRewardUSDValue + build_from_hash + Coinbase::Client::BroadcastTradeRequest
        • - #convert_to_type - Coinbase::Client::ApiClient + build_from_hash + Coinbase::Client::Webhook
        • - #correlation_data - Coinbase::Correlation + build_from_hash + Coinbase::Client::BroadcastTransferRequest
        • - create - Coinbase::Wallet + build_from_hash + Coinbase::Client::PayloadSignature
        • - create - Coinbase::Trade + build_from_hash + Coinbase::Client::SeedCreationEventResult
        • - create - Coinbase::Transfer + build_from_hash + Coinbase::Client::UpdateWebhookRequest
        • - create - Coinbase::Webhook + build_from_hash + Coinbase::Client::Transaction
        • - create - Coinbase::ContractInvocation + build_from_hash + Coinbase::Client::Trade
        • - create - Coinbase::StakingOperation + #build_from_hash + Coinbase::Client::ValidatorStatus
        • - create - Coinbase::PayloadSignature + build_from_hash + Coinbase::Client::ValidatorStatus
        • - #create_address - Coinbase::Wallet + build_from_hash + Coinbase::Client::CreateContractInvocationRequest
        • - #create_address - Coinbase::Client::AddressesApi + #build_from_hash + Coinbase::Client::TransactionType
        • - #create_address_with_http_info - Coinbase::Client::AddressesApi + build_from_hash + Coinbase::Client::ContractInvocation
        • - #create_contract_invocation - Coinbase::Client::ContractInvocationsApi + build_from_hash + Coinbase::Client::CreatePayloadSignatureRequest
        • - #create_contract_invocation_with_http_info - Coinbase::Client::ContractInvocationsApi + build_from_hash + Coinbase::Client::WebhookList
        • - #create_payload_signature - Coinbase::Client::AddressesApi + build_from_hash + Coinbase::Client::AddressBalanceList
        • - #create_payload_signature_with_http_info - Coinbase::Client::AddressesApi + build_from_hash + Coinbase::Client::Validator
        • - #create_server_signer - Coinbase::Client::ServerSignersApi + build_from_hash + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #create_server_signer_with_http_info - Coinbase::Client::ServerSignersApi + build_from_hash + Coinbase::Client::CreateStakingOperationRequest
        • - #create_staking_operation - Coinbase::Client::WalletStakeApi + build_from_hash + Coinbase::Client::AddressList
        • - #create_staking_operation_with_http_info - Coinbase::Client::WalletStakeApi + build_from_hash + Coinbase::Client::EthereumTransactionAccessList
        • - #create_trade - Coinbase::Client::TradesApi + build_from_hash + Coinbase::Client::Asset
        • - #create_trade_with_http_info - Coinbase::Client::TradesApi + build_from_hash + Coinbase::Client::User
        • - #create_transfer - Coinbase::Client::TransfersApi + build_from_hash + Coinbase::Client::FetchStakingRewards200Response
        • - #create_transfer_with_http_info - Coinbase::Client::TransfersApi + build_from_hash + Coinbase::Client::ServerSignerList
        • - #create_wallet - Coinbase::Client::WalletsApi + build_from_hash + Coinbase::Client::AddressTransactionList
        • - #create_wallet_with_http_info - Coinbase::Client::WalletsApi + build_from_hash + Coinbase::Client::WalletList
        • - #create_webhook - Coinbase::Client::WebhooksApi + #build_jwt + Coinbase::Authenticator
        • - #create_webhook_with_http_info - Coinbase::Client::WebhooksApi + #build_request + Coinbase::Client::ApiClient
        • - #created_at - Coinbase::Client::Webhook + #build_request_body + Coinbase::Client::ApiClient
        • - #data - Coinbase::Client::ContractEventList + #build_request_url + Coinbase::Client::ApiClient
        • - #data - Coinbase::Client::FetchStakingRewards200Response + #build_stake_operation + Coinbase::Address
        • - #data - Coinbase::Client::WalletList + #build_staking_operation + Coinbase::Client::StakeApi
        • - #data - Coinbase::Client::PayloadSignatureList + #build_staking_operation_with_http_info + Coinbase::Client::StakeApi
        • - #data - Coinbase::Client::ServerSignerList + #build_unstake_operation + Coinbase::Address
        • - #data - Coinbase::Client::TradeList + #call + Coinbase::Correlation
        • - #data - Coinbase::Client::WebhookList + #call + Coinbase::Authenticator
        • - #data - Coinbase::Client::AddressBalanceList + call_api + Coinbase
        • - #data - Coinbase::Client::ContractEvent + #call_api + Coinbase::Client::ApiClient
        • - #data - Coinbase::Client::AddressHistoricalBalanceList + #call_type + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #data - Coinbase::Client::ValidatorList + #can_sign? + Coinbase::Address
        • - #data - Coinbase::Client::AddressList + #can_sign? + Coinbase::WalletAddress
        • - #data - Coinbase::Client::TransferList + #can_sign? + Coinbase::Wallet
        • - #data - Coinbase::Client::ServerSignerEventList + #chain_id + Coinbase::Network
        • - #data - Coinbase::Client::ContractInvocationList + #chain_id + Coinbase::Client::Network
        • - #data - Coinbase::Client::AddressTransactionList + #claim_stake + Coinbase::Wallet
        • - #data - Coinbase::Client::FetchHistoricalStakingBalances200Response + #claim_stake + Coinbase::WalletAddress
        • - #data - Coinbase::ContractEvent + #claimable_balance + Coinbase::Wallet
        • - #datatype - Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator + #claimable_balance + Coinbase::Address
        • - #datatype - Coinbase::Client::Transaction::EnumAttributeValidator + #claimable_balance + Coinbase::Client::StakingContextContext
        • - #datatype - Coinbase::Client::Network::EnumAttributeValidator + #client_side_validation + Coinbase::Client::Configuration
        • - #datatype - Coinbase::Client::StakingReward::EnumAttributeValidator + #code + Coinbase::Client::ApiError
        • - #datatype - Coinbase::Client::PayloadSignature::EnumAttributeValidator + #code + Coinbase::Client::Error
        • - #datatype - Coinbase::Client::Webhook::EnumAttributeValidator + #complete + Coinbase::StakingOperation
        • - #datatype - Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator + #completed? + Coinbase::StakingOperation
        • - #datatype - Coinbase::Client::Transfer::EnumAttributeValidator + config + Coinbase::Middleware
        • - #datatype - Coinbase::Client::Wallet::EnumAttributeValidator + #config + Coinbase::Client::ApiClient
        • - #datatype - Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator + configuration + Coinbase
        • - #datatype - Coinbase::Client::SponsoredSend::EnumAttributeValidator + #configure + Coinbase::Client::Configuration
        • - #datatype - Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator + configure + Coinbase
        • - #datatype - Coinbase::Client::Validator::EnumAttributeValidator + configure + Coinbase::Client
        • - #datatype - Coinbase::Client::StakingOperation::EnumAttributeValidator + #configure_connection + Coinbase::Client::Configuration
        • - #date - Coinbase::StakingBalance + #configure_faraday_connection + Coinbase::Client::Configuration
        • - #date - Coinbase::Client::StakingReward + configure_from_json + Coinbase
        • - #date - Coinbase::StakingReward + #configure_middleware + Coinbase::Client::Configuration
        • - #date - Coinbase::Client::StakingBalance + configured? + Coinbase
        • - #debug_api - Coinbase::Configuration + #connection + Coinbase::Client::ApiClient
        • - #debugging - Coinbase::Client::Configuration + #connection_multipart + Coinbase::Client::ApiClient
        • - #decimals - Coinbase::Asset + #connection_regular + Coinbase::Client::ApiClient
        • - #decimals - Coinbase::Client::Asset + #content + Coinbase::Client::Transaction
        • - default - Coinbase::Client::ApiClient + #content + Coinbase::Transaction
        • - default - Coinbase::ServerSigner + #context + Coinbase::Client::StakingContext
        • - default - Coinbase::Client::Configuration + #contract_address + Coinbase::Client::ContractEvent
        • - #default_address - Coinbase::Client::Wallet + #contract_address + Coinbase::SmartContract
        • - #default_address - Coinbase::Wallet + #contract_address + Coinbase::Client::WebhookEventFilter
        • - #default_headers - Coinbase::Client::ApiClient + #contract_address + Coinbase::Client::ERC20TransferEvent
        • - default_network - Coinbase + #contract_address + Coinbase::Client::ERC721TransferEvent
        • - #default_network - Coinbase::Configuration + #contract_address + Coinbase::Client::CreateContractInvocationRequest
        • - #delete - Coinbase::Webhook + #contract_address + Coinbase::Client::SmartContract
        • - #delete_webhook - Coinbase::Client::WebhooksApi + #contract_address + Coinbase::ContractInvocation
        • - #delete_webhook_with_http_info - Coinbase::Client::WebhooksApi + #contract_address + Coinbase::Client::ContractInvocation
        • - #deserialize - Coinbase::Client::ApiClient + #contract_address + Coinbase::ContractEvent
        • - #deserialize_file - Coinbase::Client::ApiClient + #contract_address + Coinbase::Client::Asset
        • - #destination - Coinbase::Client::CreateTransferRequest + #contract_invocation_id + Coinbase::Client::ContractInvocation
        • - #destination - Coinbase::Client::Transfer + #contract_name + Coinbase::Client::ContractEvent
        • - #destination_address_id - Coinbase::Transfer + #contract_name + Coinbase::ContractEvent
        • - #details - Coinbase::Client::Validator + #conversion_price + Coinbase::Client::StakingRewardUSDValue
        • - #display_name - Coinbase::Client::Network + #conversion_time + Coinbase::Client::StakingRewardUSDValue
        • - #display_name - Coinbase::Client::User + #convert_to_type + Coinbase::Client::ApiClient
        • - #display_name - Coinbase::Network + #correlation_data + Coinbase::Correlation
        • - #download_file - Coinbase::Client::ApiClient + #correlation_id + Coinbase::Client::Error
        • - #effective_balance - Coinbase::Client::EthereumValidatorMetadata + create + Coinbase::StakingOperation
        • - #end_time - Coinbase::Client::FetchStakingRewardsRequest + create + Coinbase::Transfer
        • - #enrollment_data - Coinbase::Client::CreateServerSignerRequest + create + Coinbase::ContractInvocation
        • - enumerate - Coinbase::Pagination + create + Coinbase::Wallet
        • - #eql? - Coinbase::Client::AddressList + create + Coinbase::Webhook
        • - #eql? - Coinbase::Client::FetchHistoricalStakingBalances200Response + create + Coinbase::Trade
        • - #eql? - Coinbase::Client::SignedVoluntaryExitMessageMetadata + create + Coinbase::PayloadSignature
        • - #eql? - Coinbase::Client::BroadcastContractInvocationRequest + #create_address + Coinbase::Client::AddressesApi
        • - #eql? - Coinbase::Client::Webhook + #create_address + Coinbase::Wallet
        • - #eql? - Coinbase::Client::EthereumTransactionFlattenedTrace + #create_address_with_http_info + Coinbase::Client::AddressesApi
        • - #eql? - Coinbase::Client::BroadcastStakingOperationRequest + #create_contract_invocation + Coinbase::Client::ContractInvocationsApi
        • - #eql? - Coinbase::Client::CreateContractInvocationRequest + #create_contract_invocation_with_http_info + Coinbase::Client::ContractInvocationsApi
        • - #eql? - Coinbase::Client::FetchStakingRewards200Response + create_multi_token_contract + Coinbase::SmartContract
        • - #eql? - Coinbase::Client::Network + create_nft_contract + Coinbase::SmartContract
        • - #eql? - Coinbase::Client::EthereumTransactionAccessList + #create_payload_signature + Coinbase::Client::AddressesApi
        • - #eql? - Coinbase::Client::CreateStakingOperationRequest + #create_payload_signature_with_http_info + Coinbase::Client::AddressesApi
        • - #eql? - Coinbase::Client::CreatePayloadSignatureRequest + #create_server_signer + Coinbase::Client::ServerSignersApi
        • - #eql? - Coinbase::Client::SignatureCreationEventResult + #create_server_signer_with_http_info + Coinbase::Client::ServerSignersApi
        • - #eql? - Coinbase::Client::BuildStakingOperationRequest + #create_smart_contract + Coinbase::Client::SmartContractsApi
        • - #eql? - Coinbase::Client::AddressHistoricalBalanceList + #create_smart_contract_with_http_info + Coinbase::Client::SmartContractsApi
        • - #eql? - Coinbase::Client::FetchStakingRewardsRequest + #create_staking_operation + Coinbase::Client::WalletStakeApi
        • - #eql? - Coinbase::Client::CreateWalletRequestWallet + #create_staking_operation_with_http_info + Coinbase::Client::WalletStakeApi
        • - #eql? - Coinbase::Client::CreateServerSignerRequest + create_token_contract + Coinbase::SmartContract
        • - #eql? - Coinbase::Client::GetStakingContextRequest + #create_trade + Coinbase::Client::TradesApi
        • - #eql? - Coinbase::Client::EthereumValidatorMetadata + #create_trade_with_http_info + Coinbase::Client::TradesApi
        • - #eql? - Coinbase::Client::Transfer + #create_transfer + Coinbase::Client::TransfersApi
        • - #eql? - Coinbase::Client::EthereumTransactionAccess + #create_transfer_with_http_info + Coinbase::Client::TransfersApi
        • - #eql? - Coinbase::Client::SeedCreationEventResult + #create_wallet + Coinbase::Client::WalletsApi
        • - #eql? - Coinbase::Client::BroadcastTransferRequest + #create_wallet_webhook + Coinbase::Client::WebhooksApi
        • - #eql? - Coinbase::Client::StakingRewardUSDValue + #create_wallet_webhook_with_http_info + Coinbase::Client::WebhooksApi
        • - #eql? - Coinbase::Client::SignatureCreationEvent + #create_wallet_with_http_info + Coinbase::Client::WalletsApi
        • - #eql? - Coinbase::Client::ServerSignerEventList + #create_webhook + Coinbase::Client::WebhooksApi
        • - #eql? - Coinbase::Client::ContractInvocationList + #create_webhook + Coinbase::Wallet
        • - #eql? + #create_webhook_with_http_info + Coinbase::Client::WebhooksApi +
          +
        • + + +
        • +
          + #created_at + Coinbase::Client::Webhook +
          +
        • + + +
        • +
          + #data + Coinbase::Client::ContractInvocationList +
          +
        • + + +
        • +
          + #data Coinbase::Client::AddressTransactionList
        • +
        • +
          + #data + Coinbase::Client::TransferList +
          +
        • + +
        • - #eql? - Coinbase::Client::StakingContextContext + #data + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #eql? - Coinbase::Client::Balance + #data + Coinbase::Client::ContractEvent
        • - #eql? - Coinbase::Client::CreateTransferRequest + #data + Coinbase::Client::FetchStakingRewards200Response
        • - #eql? - Coinbase::Client::Validator + #data + Coinbase::Client::ValidatorList
        • - #eql? - Coinbase::Client::BroadcastTradeRequest + #data + Coinbase::Client::WebhookList
        • - #eql? - Coinbase::Client::UpdateWebhookRequest + #data + Coinbase::Client::AddressHistoricalBalanceList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::ServerSignerList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::ContractEventList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::AddressList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::SmartContractList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::AddressBalanceList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::WalletList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::TradeList +
          +
        • + + +
        • +
          + #data + Coinbase::ContractEvent +
          +
        • + + +
        • +
          + #data + Coinbase::Client::PayloadSignatureList +
          +
        • + + +
        • +
          + #data + Coinbase::Client::ServerSignerEventList +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Webhook::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Wallet::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::StakingReward::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::SponsoredSend::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::SmartContract::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Transaction::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Transfer::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::StakingOperation::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::PayloadSignature::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Network::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::Validator::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator +
          +
        • + + +
        • +
          + #datatype + Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator +
          +
        • + + +
        • +
          + #date + Coinbase::StakingBalance +
          +
        • + + +
        • +
          + #date + Coinbase::StakingReward +
          +
        • + + +
        • +
          + #date + Coinbase::Client::StakingBalance +
          +
        • + + +
        • +
          + #date + Coinbase::Client::StakingReward +
          +
        • + + +
        • +
          + #debug_api + Coinbase::Configuration +
          +
        • + + +
        • +
          + #debugging + Coinbase::Client::Configuration +
          +
        • + + +
        • +
          + #decimals + Coinbase::Asset +
          +
        • + + +
        • +
          + #decimals + Coinbase::Client::Asset +
          +
        • + + +
        • +
          + default + Coinbase::Client::ApiClient +
          +
        • + + +
        • +
          + default + Coinbase::ServerSigner +
          +
        • + + +
        • +
          + default + Coinbase::Client::Configuration +
          +
        • + + +
        • +
          + #default_address + Coinbase::Client::Wallet +
          +
        • + + +
        • +
          + #default_address + Coinbase::Wallet +
          +
        • + + +
        • +
          + #default_headers + Coinbase::Client::ApiClient +
          +
        • + + +
        • +
          + #default_network + Coinbase::Configuration +
          +
        • + + +
        • +
          + default_network + Coinbase +
          +
        • + + +
        • +
          + #delete + Coinbase::Webhook +
          +
        • + + +
        • +
          + #delete_webhook + Coinbase::Client::WebhooksApi +
          +
        • + + +
        • +
          + #delete_webhook_with_http_info + Coinbase::Client::WebhooksApi +
          +
        • + + +
        • +
          + #deploy! + Coinbase::SmartContract +
          +
        • + + +
        • +
          + #deploy_multi_token + Coinbase::WalletAddress +
          +
        • + + +
        • +
          + #deploy_multi_token + Coinbase::Wallet +
          +
        • + + +
        • +
          + #deploy_nft + Coinbase::Wallet +
          +
        • + + +
        • +
          + #deploy_nft + Coinbase::WalletAddress +
          +
        • + + +
        • +
          + #deploy_smart_contract + Coinbase::Client::SmartContractsApi +
          +
        • + + +
        • +
          + #deploy_smart_contract_with_http_info + Coinbase::Client::SmartContractsApi +
          +
        • + + +
        • +
          + #deploy_token + Coinbase::Wallet +
          +
        • + + +
        • +
          + #deploy_token + Coinbase::WalletAddress +
          +
        • + + +
        • +
          + #deployer_address + Coinbase::Client::SmartContract +
          +
        • + + +
        • +
          + #deployer_address + Coinbase::SmartContract +
          +
        • + + +
        • +
          + #deserialize + Coinbase::Client::ApiClient +
          +
        • + + +
        • +
          + #deserialize_file + Coinbase::Client::ApiClient +
          +
        • + + +
        • +
          + #destination + Coinbase::Client::CreateTransferRequest +
          +
        • + + +
        • +
          + #destination + Coinbase::Client::Transfer +
          +
        • + + +
        • +
          + #destination_address_id + Coinbase::Transfer +
          +
        • + + +
        • +
          + #details + Coinbase::Client::Validator +
          +
        • + + +
        • +
          + #display_name + Coinbase::Client::User +
          +
        • + + +
        • +
          + #display_name + Coinbase::Client::Network +
          +
        • + + +
        • +
          + #display_name + Coinbase::Network +
          +
        • + + +
        • +
          + #download_file + Coinbase::Client::ApiClient +
          +
        • + + +
        • +
          + #effective_balance + Coinbase::Client::EthereumValidatorMetadata +
          +
        • + + +
        • +
          + #end_time + Coinbase::Client::FetchStakingRewardsRequest +
          +
        • + + +
        • +
          + #enrollment_data + Coinbase::Client::CreateServerSignerRequest +
          +
        • + + +
        • +
          + enumerate + Coinbase::Pagination +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::AddressBalanceList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::MultiTokenContractOptions +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Error +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SmartContractList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ServerSignerEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SeedCreationEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::WalletList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Trade +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ContractInvocation +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateSmartContractRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateWalletWebhookRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ContractEventList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::DeploySmartContractRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ServerSignerList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Validator +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::HistoricalBalance +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Address +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingContextContext +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateTransferRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::BroadcastTradeRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::UpdateWebhookRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ContractInvocationList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::TokenContractOptions +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::PayloadSignatureList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::FeatureSet +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::TradeList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ServerSignerEventList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateWebhookRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SignatureCreationEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingRewardUSDValue +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateAddressRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::BroadcastTransferRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ERC721TransferEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SeedCreationEventResult +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::EthereumTransactionAccess +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateWalletRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::EthereumValidatorMetadata +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::WebhookEventFilter +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::NFTContractOptions +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::User +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Transaction +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::EthereumTransaction +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ERC20TransferEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::GetStakingContextRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateServerSignerRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Webhook +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateWalletRequestWallet +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateTradeRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Asset +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::AddressList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::AddressHistoricalBalanceList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::BuildStakingOperationRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SignatureCreationEventResult +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingContext +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::WebhookList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreatePayloadSignatureRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingBalance +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Wallet +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ValidatorList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateStakingOperationRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::EthereumTransactionAccessList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::FetchStakingRewards200Response +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingReward +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::CreateContractInvocationRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::BroadcastStakingOperationRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SponsoredSend +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::AddressTransactionList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::EthereumTransactionFlattenedTrace +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Network +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SmartContract +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Transfer +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::BroadcastContractInvocationRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::Balance +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ContractEvent +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::ServerSigner +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::SignedVoluntaryExitMessageMetadata +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::TransferList +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::FaucetTransaction +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::FetchStakingRewardsRequest +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::StakingOperation +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::WebhookWalletActivityFilter +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::PayloadSignature +
          +
        • + + +
        • +
          + #eql? + Coinbase::Client::FetchHistoricalStakingBalances200Response +
          +
        • + + +
        • +
          + #error + Coinbase::Client::EthereumTransactionFlattenedTrace +
          +
        • + + +
        • +
          + #event + Coinbase::Client::ServerSignerEvent +
          +
        • + + +
        • +
          + #event_filters + Coinbase::Webhook +
          +
        • + + +
        • +
          + #event_filters + Coinbase::Client::CreateWebhookRequest +
          +
        • + + +
        • +
          + #event_filters + Coinbase::Client::UpdateWebhookRequest +
          +
        • + + +
        • +
          + #event_filters + Coinbase::Client::Webhook +
          +
        • + + +
        • +
          + #event_index + Coinbase::ContractEvent +
          +
        • + + +
        • +
          + #event_index + Coinbase::Client::ContractEvent +
          +
        • + + +
        • +
          + #event_name + Coinbase::Client::ContractEvent +
          +
        • + + +
        • +
          + #event_name + Coinbase::ContractEvent +
          +
        • + + +
        • +
          + #event_type + Coinbase::Webhook +
          +
        • + + +
        • +
          + #event_type + Coinbase::Client::ERC20TransferEvent +
          +
        • + + +
        • +
          + #event_type + Coinbase::Client::ERC721TransferEvent +
          +
        • + + +
        • +
          + #event_type + Coinbase::Client::CreateWebhookRequest +
          +
        • + + +
        • +
          + #event_type + Coinbase::Client::Webhook +
          +
        • + + +
        • +
          + #event_type_filter + Coinbase::Client::CreateWebhookRequest +
          +
        • + + +
        • +
          + #event_type_filter + Coinbase::Client::UpdateWebhookRequest +
          +
        • + + +
        • +
          + #event_type_filter + Coinbase::Client::Webhook +
          +
        • + + +
        • +
          + #exit_epoch + Coinbase::Client::EthereumValidatorMetadata +
          +
        • + + +
        • +
          + #export + Coinbase::WalletAddress +
          +
        • + + +
        • +
          + #export + Coinbase::Wallet +
          +
        • + + +
        • +
          + #extended_public_key + Coinbase::Client::SeedCreationEventResult +
          +
        • + + +
        • +
          + #failed? + Coinbase::StakingOperation +
          +
        • + + +
        • +
          + #faucet + Coinbase::Client::FeatureSet +
          +
        • + + +
        • +
          + #faucet + Coinbase::Address +
          +
        • + + +
        • +
          + #faucet + Coinbase::Wallet +
          +
        • + + +
        • +
          + #feature_set + Coinbase::Client::Wallet +
          +
        • + + +
        • +
          + #feature_set + Coinbase::Client::Network +
          +
        • + + +
        • +
          + fetch + Coinbase::Validator +
          +
        • + + +
        • +
          + fetch + Coinbase::StakingOperation +
          +
        • + + +
        • +
          + fetch + Coinbase::Wallet +
          +
        • + + +
        • +
          + fetch + Coinbase::Asset +
          +
        • + + +
        • +
          + #fetch_historical_staking_balances + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #fetch_historical_staking_balances_with_http_info + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #fetch_staking_rewards + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #fetch_staking_rewards_with_http_info + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #flattened_traces + Coinbase::Client::EthereumTransaction +
          +
        • + + +
        • +
          + #force_ending_format + Coinbase::Client::Configuration +
          +
        • + + +
        • +
          + #fork + Coinbase::Client::SignedVoluntaryExitMessageMetadata +
          +
        • + + +
        • +
          + #format + Coinbase::Client::StakingReward +
          +
        • + + +
        • +
          + #format + Coinbase::Client::FetchStakingRewardsRequest +
          +
        • + + +
        • +
          + #four_bytes + Coinbase::ContractEvent +
          +
        • + + +
        • +
          + #four_bytes + Coinbase::Client::ContractEvent +
          +
        • + + +
        • +
          + #from + Coinbase::Client::ERC721TransferEvent +
          +
        • + + +
        • +
          + #from + Coinbase::Client::EthereumTransactionFlattenedTrace +
          +
        • + + +
        • +
          + #from + Coinbase::Client::EthereumTransaction +
          +
        • + + +
        • +
          + #from + Coinbase::Client::ERC20TransferEvent +
          +
        • + + +
        • +
          + #from_address + Coinbase::Client::WebhookEventFilter +
          +
        • + + +
        • +
          + #from_address_id + Coinbase::Transaction +
          +
        • + + +
        • +
          + #from_address_id + Coinbase::Transfer +
          +
        • + + +
        • +
          + #from_address_id + Coinbase::Client::Transaction +
          +
        • + + +
        • +
          + #from_amount + Coinbase::Client::Trade +
          +
        • + + +
        • +
          + #from_amount + Coinbase::Trade +
          +
        • + + +
        • +
          + #from_asset + Coinbase::Client::Trade +
          +
        • + + +
        • +
          + #from_asset_id + Coinbase::Trade +
          +
        • + + +
        • +
          + #from_asset_id + Coinbase::Client::CreateTradeRequest +
          +
        • + + +
        • +
          + #from_atomic_amount + Coinbase::Asset +
          +
        • + + +
        • +
          + from_balances + Coinbase::BalanceMap +
          +
        • + + +
        • +
          + from_error + Coinbase::APIError +
          +
        • + + +
        • +
          + from_hash + Coinbase::Wallet::Data +
          +
        • + + +
        • +
          + from_id + Coinbase::Network +
          +
        • + + +
        • +
          + #from_json + Coinbase::Configuration +
          +
        • + + +
        • +
          + from_model + Coinbase::Asset +
          +
        • + + +
        • +
          + from_model + Coinbase::Balance +
          +
        • + + +
        • +
          + from_model + Coinbase::HistoricalBalance +
          +
        • + + +
        • +
          + from_model_and_asset_id + Coinbase::Balance +
          +
        • + + +
        • +
          + #gas + Coinbase::Client::EthereumTransaction +
          +
        • + + +
        • +
          + #gas + Coinbase::Client::EthereumTransactionFlattenedTrace +
          +
        • + + +
        • +
          + #gas_price + Coinbase::Client::EthereumTransaction +
          +
        • + + +
        • +
          + #gas_used + Coinbase::Client::EthereumTransactionFlattenedTrace +
          +
        • + + +
        • +
          + #gasless + Coinbase::Client::CreateTransferRequest +
          +
        • + + +
        • +
          + #gasless + Coinbase::Client::Transfer +
          +
        • + + +
        • +
          + #gasless_send + Coinbase::Client::FeatureSet +
          +
        • + + +
        • +
          + #get_address + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_address_balance + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_address_balance_with_http_info + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_address_with_http_info + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_asset + Coinbase::Client::AssetsApi +
          +
        • + + +
        • +
          + #get_asset + Coinbase::Network +
          +
        • + + +
        • +
          + #get_asset_with_http_info + Coinbase::Client::AssetsApi +
          +
        • + + +
        • +
          + #get_contract_invocation + Coinbase::Client::ContractInvocationsApi +
          +
        • + + +
        • +
          + #get_contract_invocation_with_http_info + Coinbase::Client::ContractInvocationsApi +
          +
        • + + +
        • +
          + #get_current_user + Coinbase::Client::UsersApi +
          +
        • + + +
        • +
          + #get_current_user_with_http_info + Coinbase::Client::UsersApi +
          +
        • + + +
        • +
          + #get_external_address_balance + Coinbase::Client::ExternalAddressesApi +
          +
        • + + +
        • +
          + #get_external_address_balance_with_http_info + Coinbase::Client::ExternalAddressesApi +
          +
        • + + +
        • +
          + #get_external_staking_operation + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #get_external_staking_operation_with_http_info + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #get_network + Coinbase::Client::NetworksApi +
          +
        • + + +
        • +
          + #get_network_with_http_info + Coinbase::Client::NetworksApi +
          +
        • + + +
        • +
          + #get_payload_signature + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_payload_signature_with_http_info + Coinbase::Client::AddressesApi +
          +
        • + + +
        • +
          + #get_server_signer + Coinbase::Client::ServerSignersApi +
          +
        • + + +
        • +
          + #get_server_signer_with_http_info + Coinbase::Client::ServerSignersApi +
          +
        • + + +
        • +
          + #get_smart_contract + Coinbase::Client::SmartContractsApi +
          +
        • + + +
        • +
          + #get_smart_contract_with_http_info + Coinbase::Client::SmartContractsApi +
          +
        • + + +
        • +
          + #get_staking_context + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #get_staking_context_with_http_info + Coinbase::Client::StakeApi +
          +
        • + + +
        • +
          + #get_staking_operation + Coinbase::Client::WalletStakeApi +
          +
        • + + +
        • +
          + #get_staking_operation_with_http_info + Coinbase::Client::WalletStakeApi +
          +
        • + + +
        • +
          + #get_trade + Coinbase::Client::TradesApi +
          +
        • + + +
        • +
          + #get_trade_with_http_info + Coinbase::Client::TradesApi +
          +
        • + + +
        • +
          + #get_transfer + Coinbase::Client::TransfersApi +
          +
        • + + +
        • +
          + #get_transfer_with_http_info + Coinbase::Client::TransfersApi +
          +
        • + + +
        • +
          + #get_validator + Coinbase::Client::ValidatorsApi +
          +
        • + + +
        • +
          + #get_validator_with_http_info + Coinbase::Client::ValidatorsApi +
          +
        • + + +
        • +
          + #get_wallet + Coinbase::Client::WalletsApi +
          +
        • + + +
        • +
          + #get_wallet_balance + Coinbase::Client::WalletsApi +
          +
        • + + +
        • +
          + #get_wallet_balance_with_http_info + Coinbase::Client::WalletsApi +
          +
        • + + +
        • +
          + #get_wallet_with_http_info + Coinbase::Client::WalletsApi +
          +
        • + + +
        • +
          + #handled + Coinbase::APIError +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::ContractEventList +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::ServerSignerEventList +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::FetchStakingRewards200Response +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::WebhookList +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::PayloadSignatureList +
          +
        • + + +
        • +
          + #has_more + Coinbase::Client::AddressBalanceList
        • - #eql? - Coinbase::Client::PayloadSignatureList + #has_more + Coinbase::Client::AddressHistoricalBalanceList
        • - #eql? - Coinbase::Client::CreateWebhookRequest + #has_more + Coinbase::Client::TradeList
        • - #eql? - Coinbase::Client::CreateAddressRequest + #has_more + Coinbase::Client::TransferList
        • - #eql? - Coinbase::Client::CreateWalletRequest + #has_more + Coinbase::Client::SmartContractList
        • - #eql? - Coinbase::Client::WebhookEventFilter + #has_more + Coinbase::Client::ServerSignerList
        • - #eql? - Coinbase::Client::EthereumTransaction + #has_more + Coinbase::Client::ValidatorList
        • - #eql? - Coinbase::Client::Address + #has_more + Coinbase::Client::AddressTransactionList
        • - #eql? - Coinbase::Client::CreateTradeRequest + #has_more + Coinbase::Client::ContractInvocationList
        • - #eql? - Coinbase::Client::AddressBalanceList + #has_more + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #eql? - Coinbase::Client::TradeList + #has_more + Coinbase::Client::WalletList
        • - #eql? - Coinbase::Client::ServerSignerEvent + #has_more + Coinbase::Client::AddressList
        • - #eql? - Coinbase::Client::SeedCreationEvent + #hash + Coinbase::Client::CreateWebhookRequest
        • - #eql? - Coinbase::Client::ContractInvocation + #hash + Coinbase::Client::CreateWalletRequest
        • - #eql? - Coinbase::Client::User + #hash + Coinbase::Client::CreateAddressRequest
        • - #eql? - Coinbase::Client::ContractEventList + #hash + Coinbase::Client::ERC721TransferEvent
        • - #eql? - Coinbase::Client::ServerSignerList + #hash + Coinbase::Client::Balance
        • - #eql? - Coinbase::Client::HistoricalBalance + #hash + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #eql? - Coinbase::Client::Asset + #hash + Coinbase::Client::Transfer
        • - #eql? - Coinbase::Client::FaucetTransaction + #hash + Coinbase::Client::SmartContract
        • - #eql? - Coinbase::Client::Error + #hash + Coinbase::Client::BroadcastStakingOperationRequest
        • - #eql? - Coinbase::Client::StakingOperation + #hash + Coinbase::Client::CreateContractInvocationRequest
        • - #eql? - Coinbase::Client::FeatureSet + #hash + Coinbase::Client::Address
        • - #eql? - Coinbase::Client::PayloadSignature + #hash + Coinbase::Client::FetchStakingRewards200Response
        • - #eql? - Coinbase::Client::Trade + #hash + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #eql? - Coinbase::Client::StakingContext + #hash + Coinbase::Client::SponsoredSend
        • - #eql? - Coinbase::Client::StakingBalance + #hash + Coinbase::Client::TransferList
        • - #eql? - Coinbase::Client::ValidatorList + #hash + Coinbase::Client::EthereumTransactionAccessList
        • - #eql? - Coinbase::Client::StakingReward + #hash + Coinbase::Client::Network
        • - #eql? - Coinbase::Client::SponsoredSend + #hash + Coinbase::Client::StakingReward
        • - #eql? - Coinbase::Client::ContractEvent + #hash + Coinbase::Client::CreateStakingOperationRequest
        • - #eql? - Coinbase::Client::Transaction + #hash + Coinbase::Client::ValidatorList
        • - #eql? - Coinbase::Client::TransferList + #hash + Coinbase::Client::CreatePayloadSignatureRequest
        • - #eql? - Coinbase::Client::ServerSigner + #hash + Coinbase::Client::SignatureCreationEventResult
        • - #eql? - Coinbase::Client::WebhookList + #hash + Coinbase::Client::Wallet
        • - #eql? - Coinbase::Client::WalletList + #hash + Coinbase::Client::StakingBalance
        • - #eql? - Coinbase::Client::Wallet + #hash + Coinbase::Client::BuildStakingOperationRequest
        • - #error - Coinbase::Client::EthereumTransactionFlattenedTrace + #hash + Coinbase::Client::WebhookList
        • - #event - Coinbase::Client::ServerSignerEvent + #hash + Coinbase::Client::StakingContext
        • - #event_filters - Coinbase::Webhook + #hash + Coinbase::Client::AddressHistoricalBalanceList
        • - #event_filters - Coinbase::Client::CreateWebhookRequest + #hash + Coinbase::Client::WebhookWalletActivityFilter
        • - #event_filters - Coinbase::Client::Webhook + #hash + Coinbase::Client::FetchStakingRewardsRequest
        • - #event_filters - Coinbase::Client::UpdateWebhookRequest + #hash + Coinbase::Client::AddressList
        • - #event_index - Coinbase::ContractEvent + #hash + Coinbase::Client::PayloadSignature
        • - #event_index - Coinbase::Client::ContractEvent + #hash + Coinbase::Client::Validator
        • - #event_name - Coinbase::Client::ContractEvent + #hash + Coinbase::Client::DeploySmartContractRequest
        • - #event_name - Coinbase::ContractEvent + #hash + Coinbase::Client::StakingOperation
        • - #event_type - Coinbase::Client::CreateWebhookRequest + #hash + Coinbase::Client::CreateWalletWebhookRequest
        • - #event_type - Coinbase::Client::Webhook + #hash + Coinbase::Client::CreateSmartContractRequest
        • - #event_type - Coinbase::Webhook + #hash + Coinbase::Client::FaucetTransaction
        • - #exit_epoch - Coinbase::Client::EthereumValidatorMetadata + #hash + Coinbase::Client::MultiTokenContractOptions
        • - #export - Coinbase::Wallet + #hash + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #export - Coinbase::WalletAddress + #hash + Coinbase::Client::HistoricalBalance
        • - #extended_public_key - Coinbase::Client::SeedCreationEventResult + #hash + Coinbase::Client::CreateWalletRequestWallet
        • - #failed? - Coinbase::StakingOperation + #hash + Coinbase::Client::ServerSignerList
        • - #faucet - Coinbase::Address + #hash + Coinbase::Client::CreateServerSignerRequest
        • - #faucet - Coinbase::Wallet + #hash + Coinbase::Client::GetStakingContextRequest
        • - #faucet - Coinbase::Client::FeatureSet + #hash + Coinbase::Client::ContractEventList
        • - #feature_set - Coinbase::Client::Network + #hash + Coinbase::Client::EthereumValidatorMetadata
        • - #feature_set - Coinbase::Client::Wallet + #hash + Coinbase::Client::ContractInvocation
        • - fetch - Coinbase::Validator + #hash + Coinbase::Client::Trade
        • - fetch - Coinbase::Wallet + #hash + Coinbase::Client::WalletList
        • - fetch - Coinbase::Asset + #hash + Coinbase::Client::EthereumTransactionAccess
        • - fetch - Coinbase::StakingOperation + #hash + Coinbase::Client::SeedCreationEventResult
        • - #fetch_historical_staking_balances - Coinbase::Client::StakeApi + #hash + Coinbase::Client::SeedCreationEvent
        • - #fetch_historical_staking_balances_with_http_info - Coinbase::Client::StakeApi + #hash + Coinbase::Client::BroadcastTransferRequest
        • - #fetch_staking_rewards - Coinbase::Client::StakeApi + #hash + Coinbase::Client::ServerSigner
        • - #fetch_staking_rewards_with_http_info - Coinbase::Client::StakeApi + #hash + Coinbase::Client::ServerSignerEvent
        • -
          - #flattened_traces - Coinbase::Client::EthereumTransaction +
          + #hash + Coinbase::Client::StakingRewardUSDValue
        • - #force_ending_format - Coinbase::Client::Configuration + #hash + Coinbase::Client::SmartContractList
        • - #fork - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #hash + Coinbase::Client::Error
        • - #format - Coinbase::Client::FetchStakingRewardsRequest + #hash + Coinbase::Client::SignatureCreationEvent
        • - #format - Coinbase::Client::StakingReward + #hash + Coinbase::Client::ServerSignerEventList
        • - #four_bytes - Coinbase::ContractEvent + #hash + Coinbase::Client::AddressBalanceList
        • - #four_bytes - Coinbase::Client::ContractEvent + #hash + Coinbase::Client::Asset
        • - #from - Coinbase::Client::EthereumTransaction + #hash + Coinbase::Client::TradeList
        • - #from - Coinbase::Client::EthereumTransactionFlattenedTrace + #hash + Coinbase::Client::CreateTradeRequest
        • - #from_address - Coinbase::Client::WebhookEventFilter + #hash + Coinbase::Client::ContractInvocationList
        • - #from_address_id - Coinbase::Transaction + #hash + Coinbase::Client::AddressTransactionList
        • - #from_address_id - Coinbase::Client::Transaction + #hash + Coinbase::Client::Webhook
        • - #from_address_id - Coinbase::Transfer + #hash + Coinbase::Client::StakingContextContext
        • - #from_amount - Coinbase::Client::Trade + #hash + Coinbase::Client::ERC20TransferEvent
        • - #from_amount - Coinbase::Trade + #hash + Coinbase::Client::CreateTransferRequest
        • - #from_asset - Coinbase::Client::Trade + #hash + Coinbase::Client::EthereumTransaction
        • - #from_asset_id - Coinbase::Client::CreateTradeRequest + #hash + Coinbase::Client::BroadcastTradeRequest
        • - #from_asset_id - Coinbase::Trade + #hash + Coinbase::Client::Transaction
        • - #from_atomic_amount - Coinbase::Asset + #hash + Coinbase::Client::User
        • - from_balances - Coinbase::BalanceMap + #hash + Coinbase::Client::UpdateWebhookRequest
        • - from_error - Coinbase::APIError + #hash + Coinbase::Client::BroadcastContractInvocationRequest
        • - from_hash - Coinbase::Wallet::Data + #hash + Coinbase::Client::TokenContractOptions
        • - from_id - Coinbase::Network + #hash + Coinbase::Client::NFTContractOptions
        • - #from_json - Coinbase::Configuration + #hash + Coinbase::Client::PayloadSignatureList
        • - from_model - Coinbase::HistoricalBalance + #hash + Coinbase::Client::ContractEvent
        • - from_model - Coinbase::Asset + #hash + Coinbase::Client::WebhookEventFilter
        • - from_model - Coinbase::Balance + #hash + Coinbase::Client::FeatureSet
        • - from_model_and_asset_id - Coinbase::Balance + #historical_balances + Coinbase::Address
        • - #gas - Coinbase::Client::EthereumTransactionFlattenedTrace + #historical_staking_balances + Coinbase::Address
        • - #gas - Coinbase::Client::EthereumTransaction + #host + Coinbase::Client::Configuration
        • - #gas_price - Coinbase::Client::EthereumTransaction + #http_code + Coinbase::APIError
        • - #gas_used - Coinbase::Client::EthereumTransactionFlattenedTrace + #id + Coinbase::ContractInvocation
        • - #gasless - Coinbase::Client::Transfer + #id + Coinbase::Client::Wallet
        • - #gasless - Coinbase::Client::CreateTransferRequest + #id + Coinbase::PayloadSignature
        • - #gasless_send - Coinbase::Client::FeatureSet + #id + Coinbase::ServerSigner
        • - #get_address - Coinbase::Client::AddressesApi + #id + Coinbase::Client::Network
        • - #get_address_balance - Coinbase::Client::AddressesApi + #id + Coinbase::Client::User
        • - #get_address_balance_with_http_info - Coinbase::Client::AddressesApi + #id + Coinbase::Network
        • - #get_address_with_http_info - Coinbase::Client::AddressesApi + #id + Coinbase::SmartContract
        • - #get_asset - Coinbase::Network + #id + Coinbase::Transfer
        • - #get_asset - Coinbase::Client::AssetsApi + #id + Coinbase::Client::StakingOperation
        • - #get_asset_with_http_info - Coinbase::Client::AssetsApi + #id + Coinbase::Webhook
        • - #get_contract_invocation - Coinbase::Client::ContractInvocationsApi + #id + Coinbase::StakingOperation
        • - #get_contract_invocation_with_http_info - Coinbase::Client::ContractInvocationsApi + #id + Coinbase::Client::Webhook
        • - #get_current_user - Coinbase::Client::UsersApi + #id + Coinbase::Trade
        • - #get_current_user_with_http_info - Coinbase::Client::UsersApi + #id + Coinbase::Wallet
        • - #get_external_address_balance - Coinbase::Client::ExternalAddressesApi + #id + Coinbase::Address
        • - #get_external_address_balance_with_http_info - Coinbase::Client::ExternalAddressesApi + #ignore_operation_servers + Coinbase::Client::Configuration
        • - #get_external_staking_operation - Coinbase::Client::StakeApi + import + Coinbase::Wallet
        • - #get_external_staking_operation_with_http_info - Coinbase::Client::StakeApi + #index + Coinbase::Client::EthereumTransaction
        • - #get_network - Coinbase::Client::NetworksApi + #index + Coinbase::Client::Address
        • - #get_network_with_http_info - Coinbase::Client::NetworksApi + #index + Coinbase::Client::EthereumValidatorMetadata
        • - #get_payload_signature - Coinbase::Client::AddressesApi + #initialize + Coinbase::Client::Error
        • - #get_payload_signature_with_http_info - Coinbase::Client::AddressesApi + #initialize + Coinbase::Client::CreateAddressRequest
        • - #get_server_signer - Coinbase::Client::ServerSignersApi + #initialize + Coinbase::Client::StakingBalance
        • - #get_server_signer_with_http_info - Coinbase::Client::ServerSignersApi + #initialize + Coinbase::Client::BuildStakingOperationRequest
        • - #get_staking_context - Coinbase::Client::StakeApi + #initialize + Coinbase::Client::FetchStakingRewardsRequest
        • - #get_staking_context_with_http_info - Coinbase::Client::StakeApi + #initialize + Coinbase::Client::TransactionHistoryApi
        • - #get_staking_operation - Coinbase::Client::WalletStakeApi + #initialize + Coinbase::Client::SignatureCreationEvent
        • - #get_staking_operation_with_http_info - Coinbase::Client::WalletStakeApi + #initialize + Coinbase::Client::TransferList
        • - #get_trade - Coinbase::Client::TradesApi + #initialize + Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator
        • - #get_trade_with_http_info - Coinbase::Client::TradesApi + #initialize + Coinbase::Client::Asset
        • - #get_transfer - Coinbase::Client::TransfersApi + #initialize + Coinbase::Client::TradeList
        • - #get_transfer_with_http_info - Coinbase::Client::TransfersApi + #initialize + Coinbase::Client::Transfer
        • - #get_validator - Coinbase::Client::ValidatorsApi + #initialize + Coinbase::Client::AddressBalanceList
        • - #get_validator_with_http_info - Coinbase::Client::ValidatorsApi + #initialize + Coinbase::Network
        • - #get_wallet - Coinbase::Client::WalletsApi + #initialize + Coinbase::StakingReward
        • - #get_wallet_balance - Coinbase::Client::WalletsApi + #initialize + Coinbase::Client::Configuration
        • - #get_wallet_balance_with_http_info - Coinbase::Client::WalletsApi + #initialize + Coinbase::APIError
        • - #get_wallet_with_http_info - Coinbase::Client::WalletsApi + #initialize + Coinbase::Client::TokenContractOptions
        • - #handled - Coinbase::APIError + #initialize + Coinbase::Client::ServerSignerEventList
        • - #has_more - Coinbase::Client::TradeList + #initialize + Coinbase::SmartContract
        • - #has_more - Coinbase::Client::AddressList + #initialize + Coinbase::Client::Transaction::EnumAttributeValidator
        • - #has_more - Coinbase::Client::WebhookList + #initialize + Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator
        • - #has_more - Coinbase::Client::AddressHistoricalBalanceList + #initialize + Coinbase::WalletAddress
        • - #has_more - Coinbase::Client::FetchHistoricalStakingBalances200Response + #initialize + Coinbase::Client::NetworksApi
        • - #has_more - Coinbase::Client::PayloadSignatureList + #initialize + Coinbase::Client::CreateStakingOperationRequest
        • - #has_more - Coinbase::Client::ServerSignerList + #initialize + Coinbase::Client::AssetsApi
        • - #has_more - Coinbase::Client::TransferList + #initialize + Coinbase::Client::WebhookEventFilter
        • - #has_more - Coinbase::Client::FetchStakingRewards200Response + #initialize + Coinbase::NetworkUnsupportedError
        • - #has_more - Coinbase::Client::AddressTransactionList + #initialize + Coinbase::Wallet
        • - #has_more - Coinbase::Client::ContractEventList + #initialize + Coinbase::Client::SponsoredSend::EnumAttributeValidator
        • - #has_more - Coinbase::Client::AddressBalanceList + #initialize + Coinbase::Client::StakingOperation::EnumAttributeValidator
        • - #has_more - Coinbase::Client::ContractInvocationList + #initialize + Coinbase::InsufficientFundsError
        • - #has_more - Coinbase::Client::ServerSignerEventList + #initialize + Coinbase::Client::WebhookList
        • - #has_more - Coinbase::Client::WalletList + #initialize + Coinbase::Client::WebhooksApi
        • - #has_more - Coinbase::Client::ValidatorList + #initialize + Coinbase::Client::StakingOperation
        • - #hash - Coinbase::Client::SignatureCreationEvent + #initialize + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #hash - Coinbase::Client::AddressHistoricalBalanceList + #initialize + Coinbase::Client::DeploySmartContractRequest
        • - #hash - Coinbase::Client::StakingOperation + #initialize + Coinbase::Client::AddressList
        • - #hash - Coinbase::Client::AddressList + #initialize + Coinbase::Client::Network::EnumAttributeValidator
        • - #hash - Coinbase::Client::StakingRewardUSDValue + #initialize + Coinbase::Client::ERC20TransferEvent
        • - #hash - Coinbase::Client::StakingReward + #initialize + Coinbase::PayloadSignature
        • - #hash - Coinbase::Client::FetchStakingRewardsRequest + #initialize + Coinbase::Client::BroadcastTransferRequest
        • - #hash - Coinbase::Client::CreateAddressRequest + #initialize + Coinbase::Balance
        • - #hash - Coinbase::Client::BroadcastTransferRequest + #initialize + Coinbase::Client::ServerSignerEvent
        • - #hash - Coinbase::Client::PayloadSignature + #initialize + Coinbase::Client::CreateWalletRequest
        • - #hash - Coinbase::Client::ValidatorList + #initialize + Coinbase::Client::PayloadSignature::EnumAttributeValidator
        • - #hash - Coinbase::Client::FeatureSet + #initialize + Coinbase::Client::ValidatorsApi
        • - #hash - Coinbase::Client::Network + #initialize + Coinbase::Authenticator
        • - #hash - Coinbase::Client::SeedCreationEventResult + #initialize + Coinbase::ServerSigner
        • - #hash - Coinbase::Client::Transfer + #initialize + Coinbase::Client::AddressTransactionList
        • - #hash - Coinbase::Client::EthereumTransaction + #initialize + Coinbase::Client::WalletList
        • - #hash - Coinbase::Client::CreateWalletRequestWallet + #initialize + Coinbase::Client::CreateWebhookRequest
        • - #hash - Coinbase::Client::EthereumTransactionAccess + #initialize + Coinbase::Client::ContractInvocationList
        • - #hash - Coinbase::Client::Trade + #initialize + Coinbase::Client::Transaction
        • - #hash - Coinbase::Client::StakingContext + #initialize + Coinbase::FaucetTransaction
        • - #hash - Coinbase::Client::EthereumValidatorMetadata + #initialize + Coinbase::Client::SmartContractList
        • - #hash - Coinbase::Client::GetStakingContextRequest + #initialize + Coinbase::Client::StakingRewardUSDValue
        • - #hash - Coinbase::Client::CreateServerSignerRequest + #initialize + Coinbase::ContractEvent
        • - #hash - Coinbase::Client::StakingBalance + #initialize + Coinbase::Client::SponsoredSend
        • - #hash - Coinbase::Client::ServerSigner + #initialize + Coinbase::Client::ApiError
        • - #hash - Coinbase::Client::BroadcastStakingOperationRequest + #initialize + Coinbase::Client::ContractEvent
        • - #hash - Coinbase::Client::CreateWebhookRequest + #initialize + Coinbase::Client::CreateTradeRequest
        • - #hash - Coinbase::Client::ContractInvocation + #initialize + Coinbase::Client::ServerSignersApi
        • - #hash - Coinbase::Client::CreateContractInvocationRequest + #initialize + Coinbase::Client::PayloadSignature
        • - #hash - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #initialize + Coinbase::Client::CreateWalletRequestWallet
        • - #hash - Coinbase::Client::PayloadSignatureList + #initialize + Coinbase::Client::SignatureCreationEventResult
        • - #hash - Coinbase::Client::UpdateWebhookRequest + #initialize + Coinbase::Client::StakingReward::EnumAttributeValidator
        • - #hash - Coinbase::Client::AddressBalanceList + #initialize + Coinbase::Client::PayloadSignatureList
        • - #hash - Coinbase::Client::TransferList + #initialize + Coinbase::Client::StakeApi
        • - #hash - Coinbase::Client::FetchStakingRewards200Response + #initialize + Coinbase::Client::ContractInvocationsApi
        • - #hash - Coinbase::Client::User + #initialize + Coinbase::Client::ServerSigner
        • - #hash - Coinbase::Client::ContractEventList + #initialize + Coinbase::Client::CreateServerSignerRequest
        • - #hash - Coinbase::Client::WebhookEventFilter + #initialize + Coinbase::Validator
        • - #hash - Coinbase::Client::BroadcastTradeRequest + #initialize + Coinbase::Client::ExternalAddressesApi
        • - #hash - Coinbase::Client::EthereumTransactionAccessList + #initialize + Coinbase::Client::Address
        • - #hash - Coinbase::Client::CreateTradeRequest + #initialize + Coinbase::Client::StakingReward
        • - #hash - Coinbase::Client::ContractEvent + #initialize + Coinbase::Asset
        • - #hash - Coinbase::Client::WebhookList + #initialize + Coinbase::AlreadySignedError
        • - #hash - Coinbase::Client::TradeList + #initialize + Coinbase::Client::BroadcastContractInvocationRequest
        • - #hash - Coinbase::Client::CreateTransferRequest + #initialize + Coinbase::Client::ERC721TransferEvent
        • - #hash - Coinbase::Client::CreatePayloadSignatureRequest + #initialize + Coinbase::Client::FetchStakingRewards200Response
        • - #hash - Coinbase::Client::Balance + #initialize + Coinbase::Client::ContractEventList
        • - #hash - Coinbase::Client::ServerSignerEvent + #initialize + Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator
        • - #hash - Coinbase::Client::StakingContextContext + #initialize + Coinbase::Client::CreatePayloadSignatureRequest
        • - #hash - Coinbase::Client::SignatureCreationEventResult + #initialize + Coinbase::Client::UpdateWebhookRequest
        • - #hash - Coinbase::Client::HistoricalBalance + #initialize + Coinbase::Client::GetStakingContextRequest
        • - #hash - Coinbase::Client::Address + #initialize + Coinbase::Client::CreateTransferRequest
        • - #hash - Coinbase::Client::Webhook + #initialize + Coinbase::Client::ApiClient
        • - #hash - Coinbase::Client::AddressTransactionList + #initialize + Coinbase::SponsoredSend
        • - #hash - Coinbase::Client::SponsoredSend + #initialize + Coinbase::Client::StakingContextContext
        • - #hash - Coinbase::Client::Asset + #initialize + Coinbase::Correlation
        • - #hash - Coinbase::Client::BuildStakingOperationRequest + #initialize + Coinbase::Client::FeatureSet
        • - #hash - Coinbase::Client::FaucetTransaction + #initialize + Coinbase::ContractInvocation
        • - #hash - Coinbase::Client::ContractInvocationList + #initialize + Coinbase::Client::EthereumValidatorMetadata
        • - #hash - Coinbase::Client::FetchHistoricalStakingBalances200Response + #initialize + Coinbase::Destination
        • - #hash - Coinbase::Client::EthereumTransactionFlattenedTrace + #initialize + Coinbase::Client::ContractInvocation
        • - #hash - Coinbase::Client::ServerSignerEventList + #initialize + Coinbase::Client::Wallet::EnumAttributeValidator
        • - #hash - Coinbase::Client::Error + #initialize + Coinbase::Client::Validator::EnumAttributeValidator
        • - #hash - Coinbase::Client::CreateWalletRequest + #initialize + Coinbase::StakingOperation
        • - #hash - Coinbase::Client::SeedCreationEvent + #initialize + Coinbase::Client::Network
        • - #hash - Coinbase::Client::Transaction + #initialize + Coinbase::StakingBalance
        • - #hash - Coinbase::Client::BroadcastContractInvocationRequest + #initialize + Coinbase::Client::AddressHistoricalBalanceList
        • - #hash - Coinbase::Client::WalletList + #initialize + Coinbase::Client::User
        • - #hash - Coinbase::Client::Wallet + #initialize + Coinbase::Transaction
        • - #hash - Coinbase::Client::Validator + #initialize + Coinbase::HistoricalBalance
        • - #hash - Coinbase::Client::CreateStakingOperationRequest + #initialize + Coinbase::Client::Wallet
        • - #hash - Coinbase::Client::ServerSignerList + #initialize + Coinbase::Client::Validator
        • - #historical_balances - Coinbase::Address + #initialize + Coinbase::Client::Trade
        • - #historical_staking_balances - Coinbase::Address + #initialize + Coinbase::Client::EthereumTransactionAccess
        • - #host - Coinbase::Client::Configuration + #initialize + Coinbase::Configuration
        • - #http_code - Coinbase::APIError + #initialize + Coinbase::Client::SeedCreationEvent
        • - #id - Coinbase::ServerSigner + #initialize + Coinbase::Client::WebhookWalletActivityFilter
        • - #id - Coinbase::StakingOperation + #initialize + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #id + #initialize Coinbase::Client::Webhook
        • @@ -8310,55 +10502,55 @@

          Method List

        • - #id - Coinbase::Wallet + #initialize + Coinbase::Client::TransfersApi
        • - #id - Coinbase::Trade + #initialize + Coinbase::Client::StakingContext
        • - #id - Coinbase::PayloadSignature + #initialize + Coinbase::Client::SeedCreationEventResult
        • - #id - Coinbase::Client::StakingOperation + #initialize + Coinbase::Client::WalletsApi
        • - #id - Coinbase::ContractInvocation + #initialize + Coinbase::Wallet::Data
        • - #id - Coinbase::Transfer + #initialize + Coinbase::Client::NFTContractOptions
        • - #id + #initialize Coinbase::Webhook
        • @@ -8366,975 +10558,975 @@

          Method List

        • - #id - Coinbase::Address + #initialize + Coinbase::Client::EthereumTransaction
        • - #id - Coinbase::Client::User + #initialize + Coinbase::Client::ValidatorList
        • - #id - Coinbase::Network + #initialize + Coinbase::Address
        • - #id - Coinbase::Client::Wallet + #initialize + Coinbase::Client::CreateWalletWebhookRequest
        • - #id - Coinbase::Client::Network + #initialize + Coinbase::Client::TradesApi
        • - #ignore_operation_servers - Coinbase::Client::Configuration + #initialize + Coinbase::Client::WalletStakeApi
        • - import - Coinbase::Wallet + #initialize + Coinbase::Client::FaucetTransaction
        • - #index - Coinbase::Client::EthereumTransaction + #initialize + Coinbase::Client::CreateContractInvocationRequest
        • - #index - Coinbase::Client::EthereumValidatorMetadata + #initialize + Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator
        • - #index - Coinbase::Client::Address + #initialize + Coinbase::Client::BroadcastTradeRequest
        • - #initialize - Coinbase::Client::SponsoredSend::EnumAttributeValidator + #initialize + Coinbase::Client::BalanceHistoryApi
        • - #initialize - Coinbase::Client::Wallet + #initialize + Coinbase::Client::CreateSmartContractRequest
        • - #initialize - Coinbase::Client::Webhook::EnumAttributeValidator + #initialize + Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator
        • - #initialize - Coinbase::Client::AddressList + #initialize + Coinbase::Client::AddressesApi
        • - #initialize - Coinbase::Client::FetchHistoricalStakingBalances200Response + #initialize + Coinbase::Client::BroadcastStakingOperationRequest
        • - #initialize - Coinbase::Configuration + #initialize + Coinbase::Transfer
        • - #initialize - Coinbase::Client::Wallet::EnumAttributeValidator + #initialize + Coinbase::Client::HistoricalBalance
        • - #initialize - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #initialize + Coinbase::Client::ContractEventsApi
        • - #initialize - Coinbase::Client::Webhook + #initialize + Coinbase::AddressCannotSignError
        • - #initialize - Coinbase::Client::WebhookList + #initialize + Coinbase::Client::Webhook::EnumAttributeValidator
        • - #initialize - Coinbase::Client::BroadcastContractInvocationRequest + #initialize + Coinbase::Client::UsersApi
        • - #initialize - Coinbase::Asset + #initialize + Coinbase::Client::MultiTokenContractOptions
        • - #initialize - Coinbase::Client::WalletStakeApi + #initialize + Coinbase::Trade
        • - #initialize - Coinbase::Client::WalletList + #initialize + Coinbase::Client::SmartContract
        • - #initialize - Coinbase::Client::EthereumTransactionFlattenedTrace + #initialize + Coinbase::Client::Transfer::EnumAttributeValidator
        • - #initialize - Coinbase::Client::ServerSigner + #initialize + Coinbase::Client::Balance
        • - #initialize - Coinbase::WalletAddress + #initialize + Coinbase::TransactionNotSignedError
        • - #initialize - Coinbase::Trade + #initialize + Coinbase::Client::SmartContract::EnumAttributeValidator
        • - #initialize - Coinbase::Client::BroadcastStakingOperationRequest + #initialize + Coinbase::Client::EthereumTransactionAccessList
        • - #initialize - Coinbase::Client::CreateContractInvocationRequest + #initialize + Coinbase::Client::SmartContractsApi
        • - #initialize - Coinbase::Client::TransferList + #initialize + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #initialize - Coinbase::Client::Configuration + #initialize + Coinbase::Client::ServerSignerList
        • - #initialize - Coinbase::Client::FetchStakingRewards200Response + #inject_format + Coinbase::Client::Configuration
        • - #initialize - Coinbase::APIError + #input + Coinbase::Client::EthereumTransaction
        • - #initialize - Coinbase::NetworkUnsupportedError + #input + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #initialize - Coinbase::Client::AssetsApi + #inspect + Coinbase::Network
        • - #initialize - Coinbase::InsufficientFundsError + #inspect + Coinbase::SponsoredSend
        • - #initialize - Coinbase::Client::EthereumTransactionAccessList + #inspect + Coinbase::Address
        • - #initialize - Coinbase::AlreadySignedError + #inspect + Coinbase::Wallet
        • - #initialize - Coinbase::TransactionNotSignedError + #inspect + Coinbase::PayloadSignature
        • - #initialize - Coinbase::AddressCannotSignError + #inspect + Coinbase::Trade
        • - #initialize - Coinbase::Client::ContractEvent + #inspect + Coinbase::Balance
        • - #initialize - Coinbase::Client::CreateStakingOperationRequest + #inspect + Coinbase::Validator
        • - #initialize - Coinbase::Wallet + #inspect + Coinbase::ContractInvocation
        • - #initialize - Coinbase::Client::WalletsApi + #inspect + Coinbase::Webhook
        • - #initialize - Coinbase::Client::CreatePayloadSignatureRequest + #inspect + Coinbase::StakingBalance
        • - #initialize - Coinbase::Client::SignatureCreationEventResult + #inspect + Coinbase::Transfer
        • - #initialize - Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator + #inspect + Coinbase::ServerSigner
        • - #initialize - Coinbase::Client::SponsoredSend + #inspect + Coinbase::StakingReward
        • - #initialize - Coinbase::Client::Transaction + #inspect + Coinbase::Transaction
        • - #initialize - Coinbase::Client::BuildStakingOperationRequest + #inspect + Coinbase::ContractEvent
        • - #initialize - Coinbase::Address + #inspect + Coinbase::BalanceMap
        • - #initialize - Coinbase::Client::TradesApi + #inspect + Coinbase::APIError
        • - #initialize - Coinbase::Client::StakingReward::EnumAttributeValidator + #inspect + Coinbase::SmartContract
        • - #initialize - Coinbase::Client::StakingReward + #inspect + Coinbase::FaucetTransaction
        • - #initialize - Coinbase::Client::AddressHistoricalBalanceList + #inspect + Coinbase::HistoricalBalance
        • - #initialize - Coinbase::Client::UsersApi + #inspect + Coinbase::Asset
        • - #initialize - Coinbase::Client::Transaction::EnumAttributeValidator + #invoke_contract + Coinbase::WalletAddress
        • - #initialize - Coinbase::Client::Network + #invoke_contract + Coinbase::Wallet
        • - #initialize - Coinbase::Client::ValidatorList + #is_mpc + Coinbase::Client::ServerSigner
        • - #initialize - Coinbase::Client::FetchStakingRewardsRequest + #is_mpc + Coinbase::Client::CreateServerSignerRequest
        • - #initialize - Coinbase::Balance + #is_testnet + Coinbase::Client::Network
        • - #initialize - Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator + #json_mime? + Coinbase::Client::ApiClient
        • - #initialize - Coinbase::Network + #key= + Coinbase::WalletAddress
        • - #initialize - Coinbase::Client::ServerSignersApi + list + Coinbase::PayloadSignature
        • - #initialize - Coinbase::Client::CreateWalletRequestWallet + list + Coinbase::Transfer
        • - #initialize - Coinbase::Client::StakeApi + list + Coinbase::StakingReward
        • - #initialize - Coinbase::Client::CreateServerSignerRequest + list + Coinbase::ContractInvocation
        • - #initialize - Coinbase::Client::StakingBalance + list + Coinbase::Webhook
        • - #initialize - Coinbase::Webhook + list + Coinbase::Trade
        • - #initialize - Coinbase::Client::Network::EnumAttributeValidator + list + Coinbase::Wallet
        • - #initialize - Coinbase::Client::GetStakingContextRequest + list + Coinbase::Validator
        • - #initialize - Coinbase::Client::Transfer::EnumAttributeValidator + list + Coinbase::StakingBalance
        • - #initialize - Coinbase::Client::StakingContext + #list_address_balances + Coinbase::Client::AddressesApi
        • - #initialize - Coinbase::Client::EthereumValidatorMetadata + #list_address_balances_with_http_info + Coinbase::Client::AddressesApi
        • - #initialize - Coinbase::Transfer + #list_address_historical_balance + Coinbase::Client::BalanceHistoryApi
        • - #initialize - Coinbase::ContractInvocation + #list_address_historical_balance_with_http_info + Coinbase::Client::BalanceHistoryApi
        • - #initialize - Coinbase::Client::ContractEventsApi + #list_address_transactions + Coinbase::Client::TransactionHistoryApi
        • - #initialize - Coinbase::Client::Transfer + #list_address_transactions_with_http_info + Coinbase::Client::TransactionHistoryApi
        • - #initialize - Coinbase::Client::EthereumTransactionAccess + #list_addresses + Coinbase::Client::AddressesApi
        • - #initialize - Coinbase::Client::PayloadSignature::EnumAttributeValidator + #list_addresses_with_http_info + Coinbase::Client::AddressesApi
        • - #initialize - Coinbase::Client::Trade + #list_contract_events + Coinbase::Client::ContractEventsApi
        • - #initialize - Coinbase::Client::SeedCreationEventResult + #list_contract_events_with_http_info + Coinbase::Client::ContractEventsApi
        • - #initialize - Coinbase::Client::PayloadSignature + #list_contract_invocations + Coinbase::Client::ContractInvocationsApi
        • - #initialize - Coinbase::Validator + #list_contract_invocations_with_http_info + Coinbase::Client::ContractInvocationsApi
        • - #initialize - Coinbase::Client::BroadcastTransferRequest + list_events + Coinbase::SmartContract
        • - #initialize - Coinbase::Correlation + #list_external_address_balances + Coinbase::Client::ExternalAddressesApi
        • - #initialize - Coinbase::Client::NetworksApi + #list_external_address_balances_with_http_info + Coinbase::Client::ExternalAddressesApi
        • - #initialize - Coinbase::Client::StakingOperation::EnumAttributeValidator + #list_invalid_properties + Coinbase::Client::BuildStakingOperationRequest
        • - #initialize - Coinbase::Client::StakingRewardUSDValue + #list_invalid_properties + Coinbase::Client::StakingContext
        • - #initialize - Coinbase::Destination + #list_invalid_properties + Coinbase::Client::WebhookList
        • - #initialize - Coinbase::Client::StakingOperation + #list_invalid_properties + Coinbase::Client::AddressHistoricalBalanceList
        • - #initialize - Coinbase::Transaction + #list_invalid_properties + Coinbase::Client::Address
        • - #initialize - Coinbase::Client::FeatureSet + #list_invalid_properties + Coinbase::Client::WebhookWalletActivityFilter
        • - #initialize - Coinbase::Client::WebhooksApi + #list_invalid_properties + Coinbase::Client::FetchStakingRewards200Response
        • - #initialize - Coinbase::Client::SignatureCreationEvent + #list_invalid_properties + Coinbase::Client::SponsoredSend
        • - #initialize - Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator + #list_invalid_properties + Coinbase::Client::Validator
        • - #initialize - Coinbase::Client::ServerSignerEventList + #list_invalid_properties + Coinbase::Client::PayloadSignature
        • - #initialize - Coinbase::Client::FaucetTransaction + #list_invalid_properties + Coinbase::Client::FetchStakingRewardsRequest
        • - #initialize - Coinbase::Wallet::Data + #list_invalid_properties + Coinbase::Client::AddressList
        • - #initialize - Coinbase::Client::Error + #list_invalid_properties + Coinbase::Client::BroadcastTradeRequest
        • - #initialize - Coinbase::Client::ContractInvocationList + #list_invalid_properties + Coinbase::Client::DeploySmartContractRequest
        • - #initialize - Coinbase::Authenticator + #list_invalid_properties + Coinbase::Client::StakingOperation
        • - #initialize - Coinbase::ServerSigner + #list_invalid_properties + Coinbase::Client::CreateWalletWebhookRequest
        • - #initialize - Coinbase::Client::Validator::EnumAttributeValidator + #list_invalid_properties + Coinbase::Client::EthereumTransaction
        • - #initialize - Coinbase::Client::HistoricalBalance + #list_invalid_properties + Coinbase::Client::FaucetTransaction
        • - #initialize - Coinbase::Client::AddressTransactionList + #list_invalid_properties + Coinbase::Client::CreateContractInvocationRequest
        • - #initialize - Coinbase::Client::Asset + #list_invalid_properties + Coinbase::Client::CreateSmartContractRequest
        • - #initialize - Coinbase::ContractEvent + #list_invalid_properties + Coinbase::Client::BroadcastStakingOperationRequest
        • - #initialize - Coinbase::Client::StakingContextContext + #list_invalid_properties + Coinbase::Client::WebhookEventFilter
        • - #initialize - Coinbase::Client::Validator + #list_invalid_properties + Coinbase::Client::HistoricalBalance
        • - #initialize - Coinbase::Client::ServerSignerList + #list_invalid_properties + Coinbase::Client::MultiTokenContractOptions
        • - #initialize - Coinbase::Client::CreateTransferRequest + #list_invalid_properties + Coinbase::Client::PayloadSignatureList
        • - #initialize - Coinbase::HistoricalBalance + #list_invalid_properties + Coinbase::Client::SmartContract
        • - #initialize - Coinbase::SmartContract + #list_invalid_properties + Coinbase::Client::Balance
        • - #initialize - Coinbase::FaucetTransaction + #list_invalid_properties + Coinbase::Client::CreateWalletRequestWallet
        • - #initialize - Coinbase::Client::ExternalAddressesApi + #list_invalid_properties + Coinbase::Client::ServerSignerList
        • - #initialize - Coinbase::Client::Balance + #list_invalid_properties + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #initialize - Coinbase::Client::BroadcastTradeRequest + #list_invalid_properties + Coinbase::Client::TransferList
        • - #initialize - Coinbase::Client::ContractEventList + #list_invalid_properties + Coinbase::Client::CreateServerSignerRequest
        • - #initialize - Coinbase::SponsoredSend + #list_invalid_properties + Coinbase::Client::ServerSigner
        • - #initialize + #list_invalid_properties Coinbase::Client::UpdateWebhookRequest
        • @@ -9342,2399 +11534,2399 @@

          Method List

        • - #initialize - Coinbase::Client::ValidatorsApi + #list_invalid_properties + Coinbase::Client::ContractEventList
        • - #initialize - Coinbase::Client::User + #list_invalid_properties + Coinbase::Client::GetStakingContextRequest
        • - #initialize - Coinbase::Client::PayloadSignatureList + #list_invalid_properties + Coinbase::Client::EthereumValidatorMetadata
        • - #initialize - Coinbase::Client::AddressesApi + #list_invalid_properties + Coinbase::Client::ContractInvocation
        • - #initialize - Coinbase::Client::ContractInvocation + #list_invalid_properties + Coinbase::Client::User
        • - #initialize - Coinbase::StakingReward + #list_invalid_properties + Coinbase::Client::Transfer
        • - #initialize - Coinbase::Client::CreateWebhookRequest + #list_invalid_properties + Coinbase::Client::ERC721TransferEvent
        • - #initialize - Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator + #list_invalid_properties + Coinbase::Client::EthereumTransactionAccess
        • - #initialize - Coinbase::Client::SeedCreationEvent + #list_invalid_properties + Coinbase::Client::Trade
        • - #initialize - Coinbase::Client::CreateAddressRequest + #list_invalid_properties + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #initialize - Coinbase::StakingBalance + #list_invalid_properties + Coinbase::Client::SeedCreationEvent
        • - #initialize - Coinbase::Client::ApiError + #list_invalid_properties + Coinbase::Client::CreateWebhookRequest
        • - #initialize - Coinbase::Client::Address + #list_invalid_properties + Coinbase::Client::SeedCreationEventResult
        • - #initialize - Coinbase::Client::ServerSignerEvent + #list_invalid_properties + Coinbase::Client::BroadcastTransferRequest
        • - #initialize - Coinbase::Client::CreateWalletRequest + #list_invalid_properties + Coinbase::Client::NFTContractOptions
        • - #initialize - Coinbase::StakingOperation + #list_invalid_properties + Coinbase::Client::ServerSignerEvent
        • - #initialize - Coinbase::Client::ApiClient + #list_invalid_properties + Coinbase::Client::WalletList
        • - #initialize - Coinbase::Client::ContractInvocationsApi + #list_invalid_properties + Coinbase::Client::StakingRewardUSDValue
        • - #initialize - Coinbase::Client::TransfersApi + #list_invalid_properties + Coinbase::Client::Network
        • - #initialize - Coinbase::Client::AddressBalanceList + #list_invalid_properties + Coinbase::Client::SmartContractList
        • - #initialize - Coinbase::Client::WebhookEventFilter + #list_invalid_properties + Coinbase::Client::FeatureSet
        • - #initialize - Coinbase::Client::EthereumTransaction + #list_invalid_properties + Coinbase::Client::Transaction
        • - #initialize - Coinbase::Client::CreateTradeRequest + #list_invalid_properties + Coinbase::Client::Error
        • - #initialize - Coinbase::PayloadSignature + #list_invalid_properties + Coinbase::Client::CreateAddressRequest
        • - #initialize - Coinbase::Client::TradeList + #list_invalid_properties + Coinbase::Client::SignatureCreationEvent
        • - #inject_format - Coinbase::Client::Configuration + #list_invalid_properties + Coinbase::Client::Webhook
        • - #input - Coinbase::Client::EthereumTransactionFlattenedTrace + #list_invalid_properties + Coinbase::Client::AddressBalanceList
        • - #input - Coinbase::Client::EthereumTransaction + #list_invalid_properties + Coinbase::Client::TradeList
        • - #inspect - Coinbase::SponsoredSend + #list_invalid_properties + Coinbase::Client::TokenContractOptions
        • - #inspect - Coinbase::HistoricalBalance + #list_invalid_properties + Coinbase::Client::ServerSignerEventList
        • - #inspect - Coinbase::Validator + #list_invalid_properties + Coinbase::Client::Asset
        • - #inspect - Coinbase::Balance + #list_invalid_properties + Coinbase::Client::CreateTradeRequest
        • - #inspect - Coinbase::Wallet + #list_invalid_properties + Coinbase::Client::ContractInvocationList
        • - #inspect - Coinbase::StakingBalance + #list_invalid_properties + Coinbase::Client::CreateWalletRequest
        • - #inspect - Coinbase::Address + #list_invalid_properties + Coinbase::Client::AddressTransactionList
        • - #inspect - Coinbase::Webhook + #list_invalid_properties + Coinbase::Client::BroadcastContractInvocationRequest
        • - #inspect - Coinbase::ServerSigner + #list_invalid_properties + Coinbase::Client::ContractEvent
        • - #inspect - Coinbase::Transfer + #list_invalid_properties + Coinbase::Client::ERC20TransferEvent
        • - #inspect - Coinbase::ContractInvocation + #list_invalid_properties + Coinbase::Client::StakingContextContext
        • - #inspect - Coinbase::SmartContract + #list_invalid_properties + Coinbase::Client::CreateTransferRequest
        • - #inspect - Coinbase::ContractEvent + #list_invalid_properties + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #inspect - Coinbase::FaucetTransaction + #list_invalid_properties + Coinbase::Client::StakingReward
        • - #inspect - Coinbase::Trade + #list_invalid_properties + Coinbase::Client::EthereumTransactionAccessList
        • - #inspect - Coinbase::BalanceMap + #list_invalid_properties + Coinbase::Client::ValidatorList
        • - #inspect - Coinbase::StakingReward + #list_invalid_properties + Coinbase::Client::CreateStakingOperationRequest
        • - #inspect - Coinbase::Asset + #list_invalid_properties + Coinbase::Client::CreatePayloadSignatureRequest
        • - #inspect - Coinbase::Network + #list_invalid_properties + Coinbase::Client::SignatureCreationEventResult
        • - #inspect - Coinbase::PayloadSignature + #list_invalid_properties + Coinbase::Client::StakingBalance
        • - #inspect - Coinbase::APIError + #list_invalid_properties + Coinbase::Client::Wallet
        • - #inspect - Coinbase::Transaction + list_page + Coinbase::StakingReward
        • - #invoke_contract - Coinbase::WalletAddress + #list_payload_signatures + Coinbase::Client::AddressesApi
        • - #invoke_contract - Coinbase::Wallet + #list_payload_signatures_with_http_info + Coinbase::Client::AddressesApi
        • - #is_mpc - Coinbase::Client::CreateServerSignerRequest + #list_server_signer_events + Coinbase::Client::ServerSignersApi
        • - #is_mpc - Coinbase::Client::ServerSigner + #list_server_signer_events_with_http_info + Coinbase::Client::ServerSignersApi
        • - #is_testnet - Coinbase::Client::Network + #list_server_signers + Coinbase::Client::ServerSignersApi
        • - #json_mime? - Coinbase::Client::ApiClient + #list_server_signers_with_http_info + Coinbase::Client::ServerSignersApi
        • - #key= - Coinbase::WalletAddress + #list_smart_contracts + Coinbase::Client::SmartContractsApi
        • - list - Coinbase::ContractInvocation + #list_smart_contracts_with_http_info + Coinbase::Client::SmartContractsApi
        • - list - Coinbase::Wallet + #list_trades + Coinbase::Client::TradesApi
        • - list - Coinbase::Validator + #list_trades_with_http_info + Coinbase::Client::TradesApi
        • - list - Coinbase::Trade + #list_transfers + Coinbase::Client::TransfersApi
        • - list - Coinbase::StakingBalance + #list_transfers_with_http_info + Coinbase::Client::TransfersApi
        • - list - Coinbase::PayloadSignature + #list_validators + Coinbase::Client::ValidatorsApi
        • - list - Coinbase::StakingReward + #list_validators_with_http_info + Coinbase::Client::ValidatorsApi
        • - list - Coinbase::Webhook + #list_wallet_balances + Coinbase::Client::WalletsApi
        • - list - Coinbase::Transfer + #list_wallet_balances_with_http_info + Coinbase::Client::WalletsApi
        • - #list_address_balances - Coinbase::Client::AddressesApi + #list_wallets + Coinbase::Client::WalletsApi
        • - #list_address_balances_with_http_info - Coinbase::Client::AddressesApi + #list_wallets_with_http_info + Coinbase::Client::WalletsApi
        • - #list_address_historical_balance - Coinbase::Client::ExternalAddressesApi + #list_webhooks + Coinbase::Client::WebhooksApi
        • - #list_address_historical_balance_with_http_info - Coinbase::Client::ExternalAddressesApi + #list_webhooks_with_http_info + Coinbase::Client::WebhooksApi
        • - #list_address_transactions - Coinbase::Client::ExternalAddressesApi + #load_seed + Coinbase::Wallet
        • - #list_address_transactions_with_http_info - Coinbase::Client::ExternalAddressesApi + #log_index + Coinbase::Client::ERC721TransferEvent
        • - #list_addresses - Coinbase::Client::AddressesApi + #log_index + Coinbase::Client::ERC20TransferEvent
        • - #list_addresses_with_http_info - Coinbase::Client::AddressesApi + #logger + Coinbase::Client::Configuration
        • - #list_contract_events - Coinbase::Client::ContractEventsApi + #max_fee_per_gas + Coinbase::Client::EthereumTransaction
        • - #list_contract_events_with_http_info - Coinbase::Client::ContractEventsApi + #max_network_tries + Coinbase::Configuration
        • - #list_contract_invocations - Coinbase::Client::ContractInvocationsApi + #max_priority_fee_per_gas + Coinbase::Client::EthereumTransaction
        • - #list_contract_invocations_with_http_info - Coinbase::Client::ContractInvocationsApi + #message + Coinbase::Client::Error
        • - list_events - Coinbase::SmartContract + #message + Coinbase::Client::ApiError
        • - list_events_page - Coinbase::SmartContract + #metadata + Coinbase::Client::StakingOperation
        • - #list_external_address_balances - Coinbase::Client::ExternalAddressesApi + #method + Coinbase::ContractInvocation
        • - #list_external_address_balances_with_http_info - Coinbase::Client::ExternalAddressesApi + #method + Coinbase::Client::ContractInvocation
        • - #list_invalid_properties - Coinbase::Client::AddressHistoricalBalanceList + #method + Coinbase::Client::CreateContractInvocationRequest
        • - #list_invalid_properties - Coinbase::Client::AddressList + #mint + Coinbase::Client::EthereumTransaction
        • - #list_invalid_properties - Coinbase::Client::StakingOperation + #name + Coinbase::Client::NFTContractOptions
        • - #list_invalid_properties - Coinbase::Client::SignatureCreationEvent + #name + Coinbase::Client::TokenContractOptions
        • - #list_invalid_properties - Coinbase::Client::CreateWalletRequest + #native_asset + Coinbase::Client::Network
        • - #list_invalid_properties - Coinbase::Client::ServerSignerEventList + #native_asset + Coinbase::Network
        • - #list_invalid_properties - Coinbase::Client::ServerSignerEvent + #network + Coinbase::Client::ERC721TransferEvent
        • - #list_invalid_properties - Coinbase::Client::FaucetTransaction + #network + Coinbase::Address
        • - #list_invalid_properties - Coinbase::Client::Error + #network + Coinbase::ContractInvocation
        • - #list_invalid_properties - Coinbase::Client::BuildStakingOperationRequest + #network + Coinbase::Asset
        • - #list_invalid_properties - Coinbase::Client::Address + #network + Coinbase::Client::ERC20TransferEvent
        • - #list_invalid_properties - Coinbase::Client::ContractInvocationList + #network + Coinbase::Wallet
        • - #list_invalid_properties - Coinbase::Client::BroadcastContractInvocationRequest + #network + Coinbase::Destination
        • - #list_invalid_properties - Coinbase::Client::SponsoredSend + #network + Coinbase::StakingOperation
        • - #list_invalid_properties - Coinbase::Client::CreateTradeRequest + #network + Coinbase::SmartContract
        • - #list_invalid_properties - Coinbase::Client::AddressTransactionList + #network + Coinbase::Trade
        • - #list_invalid_properties - Coinbase::Client::HistoricalBalance + #network + Coinbase::Transfer
        • - #list_invalid_properties - Coinbase::Client::Transaction + #network_id + Coinbase::Client::CreateWebhookRequest
        • - #list_invalid_properties - Coinbase::Client::Asset + #network_id + Coinbase::Client::Trade
        • - #list_invalid_properties - Coinbase::Client::WebhookList + #network_id + Coinbase::Client::Asset
        • - #list_invalid_properties - Coinbase::Client::SignatureCreationEventResult + #network_id + Coinbase::Client::Wallet
        • - #list_invalid_properties - Coinbase::Client::Webhook + #network_id + Coinbase::Client::Transaction
        • - #list_invalid_properties - Coinbase::Client::CreatePayloadSignatureRequest + #network_id + Coinbase::Client::Transfer
        • - #list_invalid_properties - Coinbase::Client::StakingContextContext + #network_id + Coinbase::Client::BuildStakingOperationRequest
        • - #list_invalid_properties - Coinbase::Client::Validator + #network_id + Coinbase::Client::ContractInvocation
        • - #list_invalid_properties - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #network_id + Coinbase::Client::GetStakingContextRequest
        • - #list_invalid_properties - Coinbase::Client::ServerSignerList + #network_id + Coinbase::Client::Webhook
        • - #list_invalid_properties - Coinbase::Client::Network + #network_id + Coinbase::Client::SmartContract
        • - #list_invalid_properties - Coinbase::Client::CreateTransferRequest + #network_id + Coinbase::Client::CreateWalletRequestWallet
        • - #list_invalid_properties - Coinbase::Client::CreateStakingOperationRequest + #network_id + Coinbase::Client::Address
        • - #list_invalid_properties - Coinbase::Client::ContractEvent + #network_id + Coinbase::Webhook
        • - #list_invalid_properties - Coinbase::Client::Balance + #network_id + Coinbase::Client::CreateTransferRequest
        • - #list_invalid_properties - Coinbase::Client::FetchHistoricalStakingBalances200Response + #network_id + Coinbase::Client::FetchStakingRewardsRequest
        • - #list_invalid_properties - Coinbase::Client::EthereumTransactionAccessList + #network_id + Coinbase::Client::StakingOperation
        • - #list_invalid_properties - Coinbase::Client::BroadcastTradeRequest + #network_id + Coinbase::Client::CreateStakingOperationRequest
        • - #list_invalid_properties - Coinbase::Client::AddressBalanceList + #network_id + Coinbase::Client::ContractEvent
        • - #list_invalid_properties - Coinbase::Client::ContractEventList + #network_id + Coinbase::Client::Validator
        • - #list_invalid_properties - Coinbase::Client::WebhookEventFilter + #network_id + Coinbase::ContractEvent
        • - #list_invalid_properties - Coinbase::Client::FetchStakingRewards200Response + #next_page + Coinbase::Client::AddressTransactionList
        • - #list_invalid_properties - Coinbase::Client::TransferList + #next_page + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #list_invalid_properties - Coinbase::Client::UpdateWebhookRequest + #next_page + Coinbase::Client::AddressHistoricalBalanceList
        • - #list_invalid_properties - Coinbase::Client::Wallet + #next_page + Coinbase::Client::ContractInvocationList
        • - #list_invalid_properties - Coinbase::Client::PayloadSignatureList + #next_page + Coinbase::Client::ValidatorList
        • - #list_invalid_properties - Coinbase::Client::User + #next_page + Coinbase::Client::ServerSignerList
        • - #list_invalid_properties - Coinbase::Client::ContractInvocation + #next_page + Coinbase::Client::SmartContractList
        • - #list_invalid_properties - Coinbase::Client::CreateContractInvocationRequest + #next_page + Coinbase::Client::FetchStakingRewards200Response
        • - #list_invalid_properties - Coinbase::Client::BroadcastStakingOperationRequest + #next_page + Coinbase::Client::WalletList
        • - #list_invalid_properties - Coinbase::Client::CreateWebhookRequest + #next_page + Coinbase::Client::ServerSignerEventList
        • - #list_invalid_properties - Coinbase::Client::StakingBalance + #next_page + Coinbase::Client::AddressList
        • - #list_invalid_properties - Coinbase::Client::CreateServerSignerRequest + #next_page + Coinbase::Client::ContractEventList
        • - #list_invalid_properties - Coinbase::Client::EthereumTransaction + #next_page + Coinbase::Client::TransferList
        • - #list_invalid_properties - Coinbase::Client::GetStakingContextRequest + #next_page + Coinbase::Client::AddressBalanceList
        • - #list_invalid_properties - Coinbase::Client::ServerSigner + #next_page + Coinbase::Client::WebhookList
        • - #list_invalid_properties - Coinbase::Client::StakingContext + #next_page + Coinbase::Client::TradeList
        • - #list_invalid_properties - Coinbase::Client::CreateWalletRequestWallet + #next_page + Coinbase::Client::PayloadSignatureList
        • - #list_invalid_properties - Coinbase::Client::EthereumValidatorMetadata + #nonce + Coinbase::Client::EthereumTransaction
        • - #list_invalid_properties - Coinbase::Client::Transfer + normalize_network + Coinbase
        • - #list_invalid_properties - Coinbase::Client::EthereumTransactionAccess + #normalized_id + Coinbase::Network
        • - #list_invalid_properties - Coinbase::Client::SeedCreationEvent + #notification_uri + Coinbase::Client::UpdateWebhookRequest
        • - #list_invalid_properties - Coinbase::Client::Trade + #notification_uri + Coinbase::Client::Webhook
        • - #list_invalid_properties - Coinbase::Client::SeedCreationEventResult + #notification_uri + Coinbase::Client::CreateWebhookRequest
        • - #list_invalid_properties - Coinbase::Client::CreateAddressRequest + #notification_uri + Coinbase::Client::CreateWalletWebhookRequest
        • - #list_invalid_properties - Coinbase::Client::WalletList + #notification_uri + Coinbase::Webhook
        • - #list_invalid_properties - Coinbase::Client::PayloadSignature + #object_to_hash + Coinbase::Client::ApiClient
        • - #list_invalid_properties - Coinbase::Client::TradeList + #object_to_http_body + Coinbase::Client::ApiClient
        • - #list_invalid_properties - Coinbase::Client::FetchStakingRewardsRequest + openapi_nullable + Coinbase::Client::EthereumTransaction
        • - #list_invalid_properties - Coinbase::Client::ValidatorList + openapi_nullable + Coinbase::Client::TransferList
        • - #list_invalid_properties - Coinbase::Client::BroadcastTransferRequest + openapi_nullable + Coinbase::Client::Network
        • - #list_invalid_properties - Coinbase::Client::StakingReward + openapi_nullable + Coinbase::Client::ContractEvent
        • - #list_invalid_properties - Coinbase::Client::FeatureSet + openapi_nullable + Coinbase::Client::ServerSigner
        • - #list_invalid_properties - Coinbase::Client::StakingRewardUSDValue + openapi_nullable + Coinbase::Client::Balance
        • - #list_invalid_properties - Coinbase::Client::EthereumTransactionFlattenedTrace + openapi_nullable + Coinbase::Client::SmartContract
        • - list_page - Coinbase::StakingReward + openapi_nullable + Coinbase::Client::SponsoredSend
        • - #list_payload_signatures - Coinbase::Client::AddressesApi + openapi_nullable + Coinbase::Client::Address
        • - #list_payload_signatures_with_http_info - Coinbase::Client::AddressesApi + openapi_nullable + Coinbase::Client::StakingReward
        • - #list_server_signer_events - Coinbase::Client::ServerSignersApi + openapi_nullable + Coinbase::Client::ValidatorList
        • - #list_server_signer_events_with_http_info - Coinbase::Client::ServerSignersApi + openapi_nullable + Coinbase::Client::StakingBalance
        • - #list_server_signers - Coinbase::Client::ServerSignersApi + openapi_nullable + Coinbase::Client::Wallet
        • - #list_server_signers_with_http_info - Coinbase::Client::ServerSignersApi + openapi_nullable + Coinbase::Client::StakingContext
        • - #list_trades - Coinbase::Client::TradesApi + openapi_nullable + Coinbase::Client::WebhookList
        • - #list_trades_with_http_info - Coinbase::Client::TradesApi + openapi_nullable + Coinbase::Client::PayloadSignature
        • - #list_transfers - Coinbase::Client::TransfersApi + openapi_nullable + Coinbase::Client::StakingOperation
        • - #list_transfers_with_http_info - Coinbase::Client::TransfersApi + openapi_nullable + Coinbase::Client::FaucetTransaction
        • - #list_validators - Coinbase::Client::ValidatorsApi + openapi_nullable + Coinbase::Client::AddressList
        • - #list_validators_with_http_info - Coinbase::Client::ValidatorsApi + openapi_nullable + Coinbase::Client::HistoricalBalance
        • - #list_wallet_balances - Coinbase::Client::WalletsApi + openapi_nullable + Coinbase::Client::ServerSignerList
        • - #list_wallet_balances_with_http_info - Coinbase::Client::WalletsApi + openapi_nullable + Coinbase::Client::ContractEventList
        • - #list_wallets - Coinbase::Client::WalletsApi + openapi_nullable + Coinbase::Client::ContractInvocation
        • - #list_wallets_with_http_info - Coinbase::Client::WalletsApi + openapi_nullable + Coinbase::Client::Webhook
        • - #list_webhooks - Coinbase::Client::WebhooksApi + openapi_nullable + Coinbase::Client::SeedCreationEvent
        • - #list_webhooks_with_http_info - Coinbase::Client::WebhooksApi + openapi_nullable + Coinbase::Client::Trade
        • - #load_seed - Coinbase::Wallet + openapi_nullable + Coinbase::Client::ServerSignerEvent
        • - #logger - Coinbase::Client::Configuration + openapi_nullable + Coinbase::Client::SmartContractList
        • - #max_fee_per_gas - Coinbase::Client::EthereumTransaction + openapi_nullable + Coinbase::Client::WalletList
        • - #max_network_tries - Coinbase::Configuration + openapi_nullable + Coinbase::Client::Error
        • - #max_priority_fee_per_gas - Coinbase::Client::EthereumTransaction + openapi_nullable + Coinbase::Client::AddressBalanceList
        • - #message - Coinbase::Client::ApiError + openapi_nullable + Coinbase::Client::CreateTradeRequest
        • - #message - Coinbase::Client::Error + openapi_nullable + Coinbase::Client::Asset
        • - #metadata - Coinbase::Client::StakingOperation + openapi_nullable + Coinbase::Client::ERC20TransferEvent
        • - #method - Coinbase::Client::ContractInvocation + openapi_nullable + Coinbase::Client::User
        • - #method - Coinbase::ContractInvocation + openapi_nullable + Coinbase::Client::NFTContractOptions
        • - #method - Coinbase::Client::CreateContractInvocationRequest + openapi_nullable + Coinbase::Client::WebhookEventFilter
        • - #mint - Coinbase::Client::EthereumTransaction + openapi_nullable + Coinbase::Client::Transaction
        • - #native_asset - Coinbase::Client::Network + openapi_nullable + Coinbase::Client::CreateWalletRequest
        • - #native_asset - Coinbase::Network + openapi_nullable + Coinbase::Client::ERC721TransferEvent
        • - #network - Coinbase::Trade + openapi_nullable + Coinbase::Client::CreateAddressRequest
        • - #network - Coinbase::StakingOperation + openapi_nullable + Coinbase::Client::CreateWebhookRequest
        • - #network - Coinbase::Destination + openapi_nullable + Coinbase::Client::PayloadSignatureList
        • - #network - Coinbase::Wallet + openapi_nullable + Coinbase::Client::FeatureSet
        • - #network - Coinbase::ContractInvocation + openapi_nullable + Coinbase::Client::TokenContractOptions
        • - #network - Coinbase::Asset + openapi_nullable + Coinbase::Client::UpdateWebhookRequest
        • - #network - Coinbase::Address + openapi_nullable + Coinbase::Client::BroadcastTradeRequest
        • - #network - Coinbase::Transfer + openapi_nullable + Coinbase::Client::CreateTransferRequest
        • - #network_id - Coinbase::Client::CreateStakingOperationRequest + openapi_nullable + Coinbase::Client::StakingContextContext
        • - #network_id - Coinbase::Client::Trade + openapi_nullable + Coinbase::Client::AddressTransactionList
        • - #network_id - Coinbase::Client::Transaction + openapi_nullable + Coinbase::Client::ContractInvocationList
        • - #network_id - Coinbase::ContractEvent + openapi_nullable + Coinbase::Client::ServerSignerEventList
        • - #network_id - Coinbase::Webhook + openapi_nullable + Coinbase::Client::TradeList
        • - #network_id - Coinbase::Client::GetStakingContextRequest + openapi_nullable + Coinbase::Client::SignatureCreationEvent
        • - #network_id - Coinbase::Client::CreateWalletRequestWallet + openapi_nullable + Coinbase::Client::StakingRewardUSDValue
        • - #network_id - Coinbase::Client::CreateWebhookRequest + openapi_nullable + Coinbase::Client::BroadcastTransferRequest
        • - #network_id - Coinbase::Client::Wallet + openapi_nullable + Coinbase::Client::SeedCreationEventResult
        • - #network_id - Coinbase::Client::Validator + openapi_nullable + Coinbase::Client::EthereumTransactionAccess
        • - #network_id - Coinbase::Client::ContractEvent + openapi_nullable + Coinbase::Client::EthereumValidatorMetadata
        • - #network_id - Coinbase::SmartContract + openapi_nullable + Coinbase::Client::GetStakingContextRequest
        • - #network_id - Coinbase::Client::Transfer + openapi_nullable + Coinbase::Client::CreateServerSignerRequest
        • - #network_id - Coinbase::Client::FetchStakingRewardsRequest + openapi_nullable + Coinbase::Client::CreateWalletRequestWallet
        • - #network_id - Coinbase::Client::CreateTransferRequest + openapi_nullable + Coinbase::Client::MultiTokenContractOptions
        • - #network_id - Coinbase::Client::BuildStakingOperationRequest + openapi_nullable + Coinbase::Client::CreateSmartContractRequest
        • - #network_id - Coinbase::Client::ContractInvocation + openapi_nullable + Coinbase::Client::CreateWalletWebhookRequest
        • - #network_id - Coinbase::Client::Webhook + openapi_nullable + Coinbase::Client::DeploySmartContractRequest
        • - #network_id - Coinbase::Client::Asset + openapi_nullable + Coinbase::Client::FetchStakingRewardsRequest
        • - #network_id - Coinbase::Client::StakingOperation + openapi_nullable + Coinbase::Client::WebhookWalletActivityFilter
        • - #network_id - Coinbase::Client::Address + openapi_nullable + Coinbase::Client::Validator
        • - #next_page - Coinbase::Client::WebhookList + openapi_nullable + Coinbase::Client::AddressHistoricalBalanceList
        • - #next_page - Coinbase::Client::ContractEventList + openapi_nullable + Coinbase::Client::BuildStakingOperationRequest
        • - #next_page - Coinbase::Client::ValidatorList + openapi_nullable + Coinbase::Client::SignatureCreationEventResult
        • - #next_page - Coinbase::Client::WalletList + openapi_nullable + Coinbase::Client::CreatePayloadSignatureRequest
        • - #next_page - Coinbase::Client::AddressBalanceList + openapi_nullable + Coinbase::Client::CreateStakingOperationRequest
        • - #next_page - Coinbase::Client::ServerSignerEventList + openapi_nullable + Coinbase::Client::EthereumTransactionAccessList
        • - #next_page - Coinbase::Client::TradeList + openapi_nullable + Coinbase::Client::FetchStakingRewards200Response
        • - #next_page - Coinbase::Client::AddressHistoricalBalanceList + openapi_nullable + Coinbase::Client::CreateContractInvocationRequest
        • - #next_page - Coinbase::Client::AddressTransactionList + openapi_nullable + Coinbase::Client::BroadcastStakingOperationRequest
        • - #next_page - Coinbase::Client::TransferList + openapi_nullable + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #next_page - Coinbase::Client::PayloadSignatureList + openapi_nullable + Coinbase::Client::BroadcastContractInvocationRequest
        • - #next_page - Coinbase::Client::ContractInvocationList + openapi_nullable + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #next_page - Coinbase::Client::FetchHistoricalStakingBalances200Response + openapi_nullable + Coinbase::Client::Transfer
        • - #next_page - Coinbase::Client::FetchStakingRewards200Response + openapi_nullable + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #next_page - Coinbase::Client::AddressList + openapi_one_of + Coinbase::Client::TransactionContent
        • - #next_page - Coinbase::Client::ServerSignerList + openapi_one_of + Coinbase::Client::ServerSignerEventEvent
        • - #nonce - Coinbase::Client::EthereumTransaction + openapi_one_of + Coinbase::Client::SmartContractOptions
        • - normalize_network - Coinbase + openapi_one_of + Coinbase::Client::ValidatorDetails
        • - #normalized_id - Coinbase::Network + openapi_one_of + Coinbase::Client::StakingOperationMetadata
        • - #notification_uri - Coinbase::Client::Webhook + openapi_one_of + Coinbase::Client::WebhookEventTypeFilter
        • - #notification_uri - Coinbase::Client::CreateWebhookRequest + openapi_types + Coinbase::Client::EthereumValidatorMetadata
        • - #notification_uri - Coinbase::Client::UpdateWebhookRequest + openapi_types + Coinbase::Client::Transfer
        • - #notification_uri - Coinbase::Webhook + openapi_types + Coinbase::Client::CreateSmartContractRequest
        • - #object_to_hash - Coinbase::Client::ApiClient + openapi_types + Coinbase::Client::ContractInvocation
        • - #object_to_http_body - Coinbase::Client::ApiClient + openapi_types + Coinbase::Client::DeploySmartContractRequest
        • - openapi_nullable - Coinbase::Client::SeedCreationEventResult + openapi_types + Coinbase::Client::StakingOperation
        • - openapi_nullable - Coinbase::Client::Validator + openapi_types + Coinbase::Client::SeedCreationEvent
        • - openapi_nullable - Coinbase::Client::CreateServerSignerRequest + openapi_types + Coinbase::Client::EthereumTransactionAccess
        • - openapi_nullable - Coinbase::Client::ServerSignerList + openapi_types + Coinbase::Client::WebhookEventFilter
        • - openapi_nullable - Coinbase::Client::WalletList + openapi_types + Coinbase::Client::Trade
        • - openapi_nullable - Coinbase::Client::CreateAddressRequest + openapi_types + Coinbase::Client::CreateServerSignerRequest
        • - openapi_nullable - Coinbase::Client::StakingBalance + openapi_types + Coinbase::Client::FetchStakingRewardsRequest
        • - openapi_nullable - Coinbase::Client::PayloadSignature + openapi_types + Coinbase::Client::SeedCreationEventResult
        • - openapi_nullable - Coinbase::Client::TransferList + openapi_types + Coinbase::Client::ERC721TransferEvent
        • - openapi_nullable - Coinbase::Client::FaucetTransaction + openapi_types + Coinbase::Client::PayloadSignature
        • -
          - openapi_nullable - Coinbase::Client::Trade +
          + openapi_types + Coinbase::Client::ServerSignerEvent
        • - openapi_nullable - Coinbase::Client::SeedCreationEvent + openapi_types + Coinbase::Client::BroadcastTransferRequest
        • - openapi_nullable - Coinbase::Client::ServerSignerEventList + openapi_types + Coinbase::Client::WebhookWalletActivityFilter
        • - openapi_nullable - Coinbase::Client::FeatureSet + openapi_types + Coinbase::Client::CreateTransferRequest
        • - openapi_nullable - Coinbase::Client::WebhookList + openapi_types + Coinbase::Client::CreateWalletWebhookRequest
        • - openapi_nullable - Coinbase::Client::GetStakingContextRequest + openapi_types + Coinbase::Client::FaucetTransaction
        • - openapi_nullable - Coinbase::Client::User + openapi_types + Coinbase::Client::AddressList
        • - openapi_nullable - Coinbase::Client::ServerSigner + openapi_types + Coinbase::Client::Webhook
        • - openapi_nullable - Coinbase::Client::SignedVoluntaryExitMessageMetadata + openapi_types + Coinbase::Client::ContractEventList
        • - openapi_nullable - Coinbase::Client::BuildStakingOperationRequest + openapi_types + Coinbase::Client::EthereumTransaction
        • - openapi_nullable - Coinbase::Client::CreateTradeRequest + openapi_types + Coinbase::Client::Balance
        • - openapi_nullable - Coinbase::Client::PayloadSignatureList + openapi_types + Coinbase::Client::StakingContextContext
        • - openapi_nullable - Coinbase::Client::EthereumTransactionAccess + openapi_types + Coinbase::Client::CreateContractInvocationRequest
        • - openapi_nullable - Coinbase::Client::StakingContext + openapi_types + Coinbase::Client::CreateAddressRequest
        • - openapi_nullable - Coinbase::Client::HistoricalBalance + openapi_types + Coinbase::Client::Network
        • - openapi_nullable - Coinbase::Client::ContractInvocation + openapi_types + Coinbase::Client::BroadcastStakingOperationRequest
        • - openapi_nullable - Coinbase::Client::Transfer + openapi_types + Coinbase::Client::PayloadSignatureList
        • - openapi_nullable - Coinbase::Client::Webhook + openapi_types + Coinbase::Client::HistoricalBalance
        • - openapi_nullable - Coinbase::Client::Error + openapi_types + Coinbase::Client::MultiTokenContractOptions
        • - openapi_nullable - Coinbase::Client::CreateWebhookRequest + openapi_types + Coinbase::Client::SmartContractList
        • - openapi_nullable - Coinbase::Client::EthereumValidatorMetadata + openapi_types + Coinbase::Client::Validator
        • - openapi_nullable - Coinbase::Client::WebhookEventFilter + openapi_types + Coinbase::Client::CreateWalletRequestWallet
        • - openapi_nullable - Coinbase::Client::CreateTransferRequest + openapi_types + Coinbase::Client::StakingRewardUSDValue
        • - openapi_nullable - Coinbase::Client::FetchStakingRewards200Response + openapi_types + Coinbase::Client::AddressHistoricalBalanceList
        • - openapi_nullable - Coinbase::Client::Address + openapi_types + Coinbase::Client::ServerSignerList
        • - openapi_nullable - Coinbase::Client::AddressTransactionList + openapi_types + Coinbase::Client::WalletList
        • - openapi_nullable - Coinbase::Client::Transaction + openapi_types + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - openapi_nullable - Coinbase::Client::SignatureCreationEvent + openapi_types + Coinbase::Client::WebhookList
        • - openapi_nullable - Coinbase::Client::AddressBalanceList + openapi_types + Coinbase::Client::Error
        • - openapi_nullable - Coinbase::Client::ContractInvocationList + openapi_types + Coinbase::Client::SignatureCreationEvent
        • - openapi_nullable - Coinbase::Client::FetchHistoricalStakingBalances200Response + openapi_types + Coinbase::Client::StakingContext
        • - openapi_nullable - Coinbase::Client::Balance + openapi_types + Coinbase::Client::TokenContractOptions
        • - openapi_nullable - Coinbase::Client::SignatureCreationEventResult + openapi_types + Coinbase::Client::ContractEvent
        • - openapi_nullable - Coinbase::Client::BroadcastContractInvocationRequest + openapi_types + Coinbase::Client::BuildStakingOperationRequest
        • - openapi_nullable - Coinbase::Client::UpdateWebhookRequest + openapi_types + Coinbase::Client::Wallet
        • - openapi_nullable - Coinbase::Client::EthereumTransactionAccessList + openapi_types + Coinbase::Client::BroadcastContractInvocationRequest
        • - openapi_nullable - Coinbase::Client::BroadcastStakingOperationRequest + openapi_types + Coinbase::Client::TradeList
        • - openapi_nullable - Coinbase::Client::StakingOperation + openapi_types + Coinbase::Client::FeatureSet
        • - openapi_nullable - Coinbase::Client::SponsoredSend + openapi_types + Coinbase::Client::User
        • - openapi_nullable - Coinbase::Client::StakingReward + openapi_types + Coinbase::Client::StakingBalance
        • - openapi_nullable - Coinbase::Client::BroadcastTradeRequest + openapi_types + Coinbase::Client::AddressBalanceList
        • - openapi_nullable - Coinbase::Client::AddressHistoricalBalanceList + openapi_types + Coinbase::Client::SignatureCreationEventResult
        • - openapi_nullable - Coinbase::Client::ContractEventList + openapi_types + Coinbase::Client::TransferList
        • - openapi_nullable - Coinbase::Client::EthereumTransactionFlattenedTrace + openapi_types + Coinbase::Client::CreateWebhookRequest
        • - openapi_nullable - Coinbase::Client::StakingRewardUSDValue + openapi_types + Coinbase::Client::ServerSignerEventList
        • - openapi_nullable - Coinbase::Client::TradeList + openapi_types + Coinbase::Client::CreatePayloadSignatureRequest
        • - openapi_nullable - Coinbase::Client::ValidatorList + openapi_types + Coinbase::Client::CreateTradeRequest
        • - openapi_nullable - Coinbase::Client::Network + openapi_types + Coinbase::Client::NFTContractOptions
        • - openapi_nullable + openapi_types Coinbase::Client::Asset
        • @@ -11742,303 +13934,303 @@

          Method List

        • - openapi_nullable - Coinbase::Client::CreateStakingOperationRequest + openapi_types + Coinbase::Client::CreateWalletRequest
        • - openapi_nullable - Coinbase::Client::FetchStakingRewardsRequest + openapi_types + Coinbase::Client::UpdateWebhookRequest
        • - openapi_nullable - Coinbase::Client::EthereumTransaction + openapi_types + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - openapi_nullable - Coinbase::Client::Wallet + openapi_types + Coinbase::Client::ContractInvocationList
        • - openapi_nullable - Coinbase::Client::CreateWalletRequest + openapi_types + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - openapi_nullable - Coinbase::Client::StakingContextContext + openapi_types + Coinbase::Client::CreateStakingOperationRequest
        • - openapi_nullable - Coinbase::Client::ServerSignerEvent + openapi_types + Coinbase::Client::ValidatorList
        • - openapi_nullable - Coinbase::Client::BroadcastTransferRequest + openapi_types + Coinbase::Client::AddressTransactionList
        • - openapi_nullable - Coinbase::Client::ContractEvent + openapi_types + Coinbase::Client::EthereumTransactionAccessList
        • - openapi_nullable - Coinbase::Client::AddressList + openapi_types + Coinbase::Client::StakingReward
        • - openapi_nullable - Coinbase::Client::CreateWalletRequestWallet + openapi_types + Coinbase::Client::Address
        • - openapi_nullable - Coinbase::Client::CreatePayloadSignatureRequest + openapi_types + Coinbase::Client::ServerSigner
        • - openapi_nullable - Coinbase::Client::CreateContractInvocationRequest + openapi_types + Coinbase::Client::ERC20TransferEvent
        • - openapi_one_of - Coinbase::Client::ValidatorDetails + openapi_types + Coinbase::Client::FetchStakingRewards200Response
        • - openapi_one_of - Coinbase::Client::StakingOperationMetadata + openapi_types + Coinbase::Client::GetStakingContextRequest
        • - openapi_one_of - Coinbase::Client::TransactionContent + openapi_types + Coinbase::Client::SmartContract
        • - openapi_one_of - Coinbase::Client::ServerSignerEventEvent + openapi_types + Coinbase::Client::BroadcastTradeRequest
        • - openapi_types - Coinbase::Client::HistoricalBalance + openapi_types + Coinbase::Client::Transaction
        • - openapi_types - Coinbase::Client::AddressTransactionList + openapi_types + Coinbase::Client::SponsoredSend
        • - openapi_types - Coinbase::Client::SignatureCreationEventResult + #operation_server_settings + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::CreateTradeRequest + #options + Coinbase::Client::CreateSmartContractRequest
        • - openapi_types - Coinbase::Client::SponsoredSend + #options + Coinbase::Client::BuildStakingOperationRequest
        • - openapi_types - Coinbase::Client::CreatePayloadSignatureRequest + #options + Coinbase::SmartContract
        • - openapi_types - Coinbase::Client::EthereumTransaction + #options + Coinbase::Client::GetStakingContextRequest
        • - openapi_types - Coinbase::Client::AddressList + #options + Coinbase::Client::SmartContract
        • - openapi_types - Coinbase::Client::BuildStakingOperationRequest + #options + Coinbase::Client::CreateStakingOperationRequest
        • - openapi_types - Coinbase::Client::FetchHistoricalStakingBalances200Response + #output + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - openapi_types - Coinbase::Client::WebhookEventFilter + #params_encoder + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::Wallet + #participant_type + Coinbase::Client::StakingBalance
        • - openapi_types - Coinbase::Client::Transaction + #participant_type + Coinbase::StakingBalance
        • - openapi_types - Coinbase::Client::AddressBalanceList + #password + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::StakingReward + #payload_signature_id + Coinbase::Client::PayloadSignature
        • - openapi_types - Coinbase::Client::AddressHistoricalBalanceList + #payload_signatures + Coinbase::WalletAddress
        • - openapi_types - Coinbase::Client::ValidatorList + pretty_print_object + Coinbase
        • - openapi_types - Coinbase::Client::CreateStakingOperationRequest + primary_denomination + Coinbase::Asset
        • - openapi_types - Coinbase::Client::FetchStakingRewardsRequest + #primary_denomination + Coinbase::Asset
        • - openapi_types - Coinbase::Client::CreateWalletRequest + #priority_fee_per_gas + Coinbase::Client::EthereumTransaction
        • - openapi_types + #protocol_family Coinbase::Client::Network
        • @@ -12046,767 +14238,767 @@

          Method List

        • - openapi_types - Coinbase::Client::ServerSignerEvent + #protocol_family + Coinbase::Network
        • - openapi_types - Coinbase::Client::ContractEvent + #protocol_name + Coinbase::ContractEvent
        • - openapi_types - Coinbase::Client::CreateWalletRequestWallet + #protocol_name + Coinbase::Client::ContractEvent
        • - openapi_types - Coinbase::Client::EthereumTransactionAccessList + #proxy + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::StakingBalance + #public_key + Coinbase::Client::EthereumValidatorMetadata
        • - openapi_types - Coinbase::Client::CreateServerSignerRequest + #public_key + Coinbase::Client::CreateAddressRequest
        • - openapi_types - Coinbase::Client::CreateAddressRequest + #public_key + Coinbase::Client::Address
        • - openapi_types - Coinbase::Client::Webhook + #raw + Coinbase::Transaction
        • - openapi_types - Coinbase::Client::SeedCreationEvent + #raw_typed_data + Coinbase::Client::SponsoredSend
        • - openapi_types - Coinbase::Client::TradeList + #reload + Coinbase::Trade
        • - openapi_types - Coinbase::Client::GetStakingContextRequest + #reload + Coinbase::PayloadSignature
        • - openapi_types - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #reload + Coinbase::ContractInvocation
        • - openapi_types - Coinbase::Client::StakingContext + #reload + Coinbase::StakingOperation
        • - openapi_types - Coinbase::Client::Transfer + #reload + Coinbase::SmartContract
        • - openapi_types - Coinbase::Client::CreateWebhookRequest + #reload + Coinbase::Transfer
        • - openapi_types - Coinbase::Client::EthereumValidatorMetadata + #request + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::WebhookList + #request_external_faucet_funds + Coinbase::Client::ExternalAddressesApi
        • - openapi_types - Coinbase::Client::FetchStakingRewards200Response + #request_external_faucet_funds_with_http_info + Coinbase::Client::ExternalAddressesApi
        • - openapi_types - Coinbase::Client::ContractInvocation + #request_faucet_funds + Coinbase::Client::AddressesApi
        • - openapi_types - Coinbase::Client::Address + #request_faucet_funds_with_http_info + Coinbase::Client::AddressesApi
        • - openapi_types - Coinbase::Client::User + #response + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::EthereumTransactionAccess + #response_body + Coinbase::Client::ApiError
        • - openapi_types - Coinbase::Client::PayloadSignatureList + #response_headers + Coinbase::Client::ApiError
        • - openapi_types - Coinbase::Client::Balance + #return_binary_data + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::PayloadSignature + #sanitize_filename + Coinbase::Client::ApiClient
        • - openapi_types - Coinbase::Client::SeedCreationEventResult + #save_seed! + Coinbase::Wallet
        • - openapi_types - Coinbase::Client::TransferList + #scheme + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::UpdateWebhookRequest + #seed + Coinbase::Wallet::Data
        • - openapi_types - Coinbase::Client::Trade + #seed= + Coinbase::Wallet
        • - openapi_types - Coinbase::Client::BroadcastContractInvocationRequest + #seed_id + Coinbase::Client::SignatureCreationEvent
        • - openapi_types - Coinbase::Client::CreateContractInvocationRequest + #seed_id + Coinbase::Client::SeedCreationEventResult
        • - openapi_types - Coinbase::Client::BroadcastTransferRequest + #select_header_accept + Coinbase::Client::ApiClient
        • - openapi_types - Coinbase::Client::StakingRewardUSDValue + #select_header_content_type + Coinbase::Client::ApiClient
        • - openapi_types - Coinbase::Client::BroadcastTradeRequest + #server_index + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::ContractEventList + #server_operation_index + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::StakingOperation + #server_operation_variables + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::BroadcastStakingOperationRequest + #server_settings + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::SignatureCreationEvent + #server_signer + Coinbase::Client::FeatureSet
        • - openapi_types - Coinbase::Client::WalletList + #server_signer_id + Coinbase::Client::CreateServerSignerRequest
        • - openapi_types - Coinbase::Client::CreateTransferRequest + #server_signer_id + Coinbase::Client::ServerSigner
        • - openapi_types - Coinbase::Client::ServerSignerEventList + #server_signer_id + Coinbase::Client::ServerSignerEvent
        • - openapi_types - Coinbase::Client::FaucetTransaction + #server_signer_status + Coinbase::Client::Wallet
        • - openapi_types - Coinbase::Client::ServerSigner + #server_signer_status + Coinbase::Wallet
        • - openapi_types - Coinbase::Client::FeatureSet + #server_url + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::ServerSignerList + #server_variables + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::StakingContextContext + #set_faraday_middleware + Coinbase::Client::Configuration
        • - openapi_types - Coinbase::Client::Validator + #sig + Coinbase::Client::ContractEvent
        • -
          - openapi_types - Coinbase::Client::Asset +
          + #sig + Coinbase::ContractEvent
        • - openapi_types - Coinbase::Client::ContractInvocationList + #sign + Coinbase::Transfer
        • - openapi_types - Coinbase::Client::Error + #sign + Coinbase::ContractInvocation
        • - openapi_types - Coinbase::Client::EthereumTransactionFlattenedTrace + #sign + Coinbase::SmartContract
        • - #operation_server_settings - Coinbase::Client::Configuration + #sign + Coinbase::SponsoredSend
        • - #options - Coinbase::Client::BuildStakingOperationRequest + #sign + Coinbase::StakingOperation
        • - #options - Coinbase::Client::CreateStakingOperationRequest + #sign + Coinbase::Transaction
        • - #options - Coinbase::Client::GetStakingContextRequest + #sign_payload + Coinbase::Wallet
        • - #output - Coinbase::Client::EthereumTransactionFlattenedTrace + #sign_payload + Coinbase::WalletAddress
        • - #params_encoder - Coinbase::Client::Configuration + #signature + Coinbase::Client::SponsoredSend
        • - #participant_type - Coinbase::StakingBalance + #signature + Coinbase::Client::PayloadSignature
        • - #participant_type - Coinbase::Client::StakingBalance + #signature + Coinbase::Transaction
        • - #password - Coinbase::Client::Configuration + #signature + Coinbase::SponsoredSend
        • - #payload_signature_id - Coinbase::Client::PayloadSignature + #signature + Coinbase::Client::CreatePayloadSignatureRequest
        • - #payload_signatures - Coinbase::WalletAddress + #signature + Coinbase::Client::SignatureCreationEventResult
        • - pretty_print_object - Coinbase + #signature + Coinbase::PayloadSignature
        • - #primary_denomination - Coinbase::Asset + #signature_header + Coinbase::Client::Webhook
        • - primary_denomination - Coinbase::Asset + #signature_header + Coinbase::Client::CreateWalletWebhookRequest
        • - #priority_fee_per_gas - Coinbase::Client::EthereumTransaction + #signature_header + Coinbase::Webhook
        • - #protocol_family - Coinbase::Client::Network + #signature_header + Coinbase::Client::CreateWebhookRequest
        • - #protocol_family - Coinbase::Network + #signed? + Coinbase::SponsoredSend
        • - #protocol_name - Coinbase::ContractEvent + #signed? + Coinbase::Transaction
        • - #protocol_name - Coinbase::Client::ContractEvent + #signed_payload + Coinbase::Transaction
        • - #protocol_name - Coinbase::SmartContract + #signed_payload + Coinbase::Client::Transaction
        • - #proxy - Coinbase::Client::Configuration + #signed_payload + Coinbase::Client::BroadcastContractInvocationRequest
        • - #public_key - Coinbase::Client::Address + #signed_payload + Coinbase::Client::BroadcastTradeRequest
        • - #public_key - Coinbase::Client::CreateAddressRequest + #signed_payload + Coinbase::Client::DeploySmartContractRequest
        • - #public_key - Coinbase::Client::EthereumValidatorMetadata + #signed_payload + Coinbase::Client::Transfer
        • - #raw - Coinbase::Transaction + #signed_payload + Coinbase::Client::BroadcastTransferRequest
        • - #raw_typed_data - Coinbase::Client::SponsoredSend + #signed_payload + Coinbase::Client::BroadcastStakingOperationRequest
        • - #reload - Coinbase::PayloadSignature + #signed_voluntary_exit + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #reload - Coinbase::Transfer + #signed_voluntary_exit_messages + Coinbase::StakingOperation
        • - #reload - Coinbase::Trade + #signing_payload + Coinbase::Client::SignatureCreationEvent
        • - #reload - Coinbase::ContractInvocation + #slashed + Coinbase::Client::EthereumValidatorMetadata
        • - #reload - Coinbase::StakingOperation + #smart_contract_id + Coinbase::Client::SmartContract
        • - #request - Coinbase::Client::Configuration + #sponsored_send + Coinbase::Transfer
        • - #request_external_faucet_funds - Coinbase::Client::ExternalAddressesApi + #sponsored_send + Coinbase::Client::Transfer
        • - #request_external_faucet_funds_with_http_info - Coinbase::Client::ExternalAddressesApi + #ssl_ca_file + Coinbase::Client::Configuration
        • - #request_faucet_funds - Coinbase::Client::AddressesApi + #ssl_client_cert + Coinbase::Client::Configuration
        • - #request_faucet_funds_with_http_info - Coinbase::Client::AddressesApi + #ssl_client_key + Coinbase::Client::Configuration
        • - #response - Coinbase::Client::Configuration + #ssl_options + Coinbase::Client::ApiClient
        • - #response_body - Coinbase::Client::ApiError + #ssl_verify + Coinbase::Client::Configuration
        • - #response_headers - Coinbase::Client::ApiError + #ssl_verify_mode + Coinbase::Client::Configuration
        • - #return_binary_data - Coinbase::Client::Configuration + #stake + Coinbase::Wallet
        • - #sanitize_filename - Coinbase::Client::ApiClient + #stake + Coinbase::Client::FeatureSet
        • - #save_seed! - Coinbase::Wallet + #stake + Coinbase::WalletAddress
        • - #scheme - Coinbase::Client::Configuration + stake_api + Coinbase::StakingReward
        • - #seed - Coinbase::Wallet::Data + #stakeable_balance + Coinbase::Address
        • - #seed= + #stakeable_balance Coinbase::Wallet
        • @@ -12814,2464 +15006,2464 @@

          Method List

        • - #seed_id - Coinbase::Client::SeedCreationEventResult + #stakeable_balance + Coinbase::Client::StakingContextContext
        • - #seed_id - Coinbase::Client::SignatureCreationEvent + #staking_balances + Coinbase::Address
        • - #select_header_accept - Coinbase::Client::ApiClient + #staking_balances + Coinbase::Wallet
        • - #select_header_content_type - Coinbase::Client::ApiClient + #staking_rewards + Coinbase::Address
        • - #server_index - Coinbase::Client::Configuration + #start_time + Coinbase::Client::FetchStakingRewardsRequest
        • - #server_operation_index - Coinbase::Client::Configuration + #state + Coinbase::Client::StakingReward
        • - #server_operation_variables - Coinbase::Client::Configuration + #status + Coinbase::Client::SponsoredSend
        • - #server_settings - Coinbase::Client::Configuration + #status + Coinbase::PayloadSignature
        • - #server_signer - Coinbase::Client::FeatureSet + #status + Coinbase::Validator
        • - #server_signer_id - Coinbase::Client::ServerSignerEvent + #status + Coinbase::Trade
        • - #server_signer_id - Coinbase::Client::ServerSigner + #status + Coinbase::Client::PayloadSignature
        • - #server_signer_id - Coinbase::Client::CreateServerSignerRequest + #status + Coinbase::Client::Validator
        • - #server_signer_status - Coinbase::Wallet + #status + Coinbase::StakingOperation
        • - #server_signer_status - Coinbase::Client::Wallet + #status + Coinbase::Client::Transfer
        • - #server_url - Coinbase::Client::Configuration + #status + Coinbase::ContractInvocation
        • - #server_variables - Coinbase::Client::Configuration + #status + Coinbase::Transaction
        • - #set_faraday_middleware - Coinbase::Client::Configuration + #status + Coinbase::Client::EthereumTransactionFlattenedTrace
        • -
          - #sig - Coinbase::ContractEvent +
          + #status + Coinbase::Client::StakingOperation
        • - #sig - Coinbase::Client::ContractEvent + #status + Coinbase::Transfer
        • - #sign - Coinbase::StakingOperation + #status + Coinbase::SponsoredSend
        • - #sign - Coinbase::Transaction + #status + Coinbase::SmartContract
        • - #sign - Coinbase::Transfer + #status + Coinbase::Client::Transaction
        • - #sign - Coinbase::SponsoredSend + #storage_keys + Coinbase::Client::EthereumTransactionAccess
        • - #sign - Coinbase::ContractInvocation + #sub_traces + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #sign_payload - Coinbase::WalletAddress + #submit_server_signer_seed_event_result + Coinbase::Client::ServerSignersApi
        • - #sign_payload - Coinbase::Wallet + #submit_server_signer_seed_event_result_with_http_info + Coinbase::Client::ServerSignersApi
        • - #signature - Coinbase::Transaction + #submit_server_signer_signature_event_result + Coinbase::Client::ServerSignersApi
        • - #signature - Coinbase::Client::SponsoredSend + #submit_server_signer_signature_event_result_with_http_info + Coinbase::Client::ServerSignersApi
        • - #signature - Coinbase::PayloadSignature + #symbol + Coinbase::Client::TokenContractOptions
        • - #signature - Coinbase::SponsoredSend + #symbol + Coinbase::Client::NFTContractOptions
        • - #signature - Coinbase::Client::CreatePayloadSignatureRequest + #temp_folder_path + Coinbase::Client::Configuration
        • - #signature - Coinbase::Client::PayloadSignature + #terminal_state? + Coinbase::StakingOperation
        • - #signature - Coinbase::Client::SignatureCreationEventResult + #terminal_state? + Coinbase::SponsoredSend
        • - #signature_header - Coinbase::Client::Webhook + #terminal_state? + Coinbase::Transaction
        • - #signature_header - Coinbase::Webhook + #terminal_state? + Coinbase::PayloadSignature
        • - #signature_header - Coinbase::Client::CreateWebhookRequest + #testnet? + Coinbase::Network
        • - #signed? - Coinbase::Transaction + #timeout + Coinbase::Client::Configuration
        • - #signed? - Coinbase::SponsoredSend + #to + Coinbase::Client::EthereumTransaction
        • - #signed_payload - Coinbase::Client::BroadcastTransferRequest + #to + Coinbase::Client::ERC721TransferEvent
        • - #signed_payload - Coinbase::Client::BroadcastStakingOperationRequest + #to + Coinbase::Client::ERC20TransferEvent
        • - #signed_payload - Coinbase::Client::BroadcastContractInvocationRequest + #to + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #signed_payload - Coinbase::Transaction + #to_address + Coinbase::Client::WebhookEventFilter
        • - #signed_payload - Coinbase::Client::BroadcastTradeRequest + #to_address_id + Coinbase::Client::SponsoredSend
        • - #signed_payload - Coinbase::Client::Transfer + #to_address_id + Coinbase::Client::Transaction
        • - #signed_payload - Coinbase::Client::Transaction + #to_address_id + Coinbase::Transaction
        • - #signed_voluntary_exit - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #to_amount + Coinbase::Client::Trade
        • - #signed_voluntary_exit_messages - Coinbase::StakingOperation + #to_amount + Coinbase::Trade
        • - #signing_payload - Coinbase::Client::SignatureCreationEvent + #to_asset + Coinbase::Client::Trade
        • - #slashed - Coinbase::Client::EthereumValidatorMetadata + #to_asset_id + Coinbase::Client::CreateTradeRequest
        • - #sponsored_send - Coinbase::Transfer + #to_asset_id + Coinbase::Trade
        • - #sponsored_send - Coinbase::Client::Transfer + #to_atomic_amount + Coinbase::Asset
        • - #ssl_ca_file - Coinbase::Client::Configuration + #to_body + Coinbase::Client::AddressHistoricalBalanceList
        • - #ssl_client_cert - Coinbase::Client::Configuration + #to_body + Coinbase::Client::CreateWalletRequest
        • - #ssl_client_key - Coinbase::Client::Configuration + #to_body + Coinbase::Client::SmartContract
        • - #ssl_options - Coinbase::Client::ApiClient + #to_body + Coinbase::Client::CreateContractInvocationRequest
        • - #ssl_verify - Coinbase::Client::Configuration + #to_body + Coinbase::Client::Transfer
        • - #ssl_verify_mode - Coinbase::Client::Configuration + #to_body + Coinbase::Client::ERC20TransferEvent
        • - #stake - Coinbase::WalletAddress + #to_body + Coinbase::Client::CreateTransferRequest
        • - #stake - Coinbase::Wallet + #to_body + Coinbase::Client::User
        • - #stake - Coinbase::Client::FeatureSet + #to_body + Coinbase::Client::Address
        • - stake_api - Coinbase::StakingReward + #to_body + Coinbase::Client::BroadcastStakingOperationRequest
        • - #stakeable_balance - Coinbase::Client::StakingContextContext + #to_body + Coinbase::Client::FetchStakingRewards200Response
        • - #stakeable_balance - Coinbase::Wallet + #to_body + Coinbase::Client::SponsoredSend
        • - #stakeable_balance - Coinbase::Address + #to_body + Coinbase::Client::EthereumTransactionAccessList
        • - #staking_balances - Coinbase::Address + #to_body + Coinbase::Client::StakingContextContext
        • - #staking_balances - Coinbase::Wallet + #to_body + Coinbase::Client::FeatureSet
        • - #staking_rewards - Coinbase::Address + #to_body + Coinbase::Client::UpdateWebhookRequest
        • - #start_time - Coinbase::Client::FetchStakingRewardsRequest + #to_body + Coinbase::Client::StakingReward
        • - #state - Coinbase::Client::StakingReward + #to_body + Coinbase::Client::Network
        • - #status - Coinbase::StakingOperation + #to_body + Coinbase::Client::CreateStakingOperationRequest
        • - #status - Coinbase::Client::Validator + #to_body + Coinbase::Client::Transaction
        • - #status - Coinbase::Client::SponsoredSend + #to_body + Coinbase::Client::Webhook
        • - #status - Coinbase::Validator + #to_body + Coinbase::Client::ValidatorList
        • - #status - Coinbase::PayloadSignature + #to_body + Coinbase::Client::AddressTransactionList
        • - #status - Coinbase::Trade + #to_body + Coinbase::Client::EthereumTransaction
        • - #status - Coinbase::SponsoredSend + #to_body + Coinbase::Client::CreateTradeRequest
        • - #status - Coinbase::Client::StakingOperation + #to_body + Coinbase::Client::CreatePayloadSignatureRequest
        • - #status - Coinbase::Client::Transfer + #to_body + Coinbase::Client::CreateWebhookRequest
        • - #status - Coinbase::Client::EthereumTransactionFlattenedTrace + #to_body + Coinbase::Client::TradeList
        • - #status - Coinbase::ContractInvocation + #to_body + Coinbase::Client::Wallet
        • - #status - Coinbase::Transfer + #to_body + Coinbase::Client::WebhookList
        • - #status - Coinbase::Transaction + #to_body + Coinbase::Client::ContractInvocationList
        • - #status - Coinbase::Client::PayloadSignature + #to_body + Coinbase::Client::WebhookEventFilter
        • - #status - Coinbase::Client::Transaction + #to_body + Coinbase::Client::AddressBalanceList
        • - #storage_keys - Coinbase::Client::EthereumTransactionAccess + #to_body + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #sub_traces - Coinbase::Client::EthereumTransactionFlattenedTrace + #to_body + Coinbase::Client::TokenContractOptions
        • - #submit_server_signer_seed_event_result - Coinbase::Client::ServerSignersApi + #to_body + Coinbase::Client::SignatureCreationEventResult
        • - #submit_server_signer_seed_event_result_with_http_info - Coinbase::Client::ServerSignersApi + #to_body + Coinbase::Client::Asset
        • - #submit_server_signer_signature_event_result - Coinbase::Client::ServerSignersApi + #to_body + Coinbase::Client::ServerSignerEventList
        • - #submit_server_signer_signature_event_result_with_http_info - Coinbase::Client::ServerSignersApi + #to_body + Coinbase::Client::ContractEvent
        • - #temp_folder_path - Coinbase::Client::Configuration + #to_body + Coinbase::Client::BuildStakingOperationRequest
        • - #terminal_state? - Coinbase::SponsoredSend + #to_body + Coinbase::Client::StakingBalance
        • - #terminal_state? - Coinbase::PayloadSignature + #to_body + Coinbase::Client::Balance
        • - #terminal_state? - Coinbase::StakingOperation + #to_body + Coinbase::Client::NFTContractOptions
        • - #terminal_state? - Coinbase::Transaction + #to_body + Coinbase::Client::StakingContext
        • - #testnet? - Coinbase::Network + #to_body + Coinbase::Client::BroadcastTradeRequest
        • - #timeout - Coinbase::Client::Configuration + #to_body + Coinbase::Client::SignatureCreationEvent
        • - #to - Coinbase::Client::EthereumTransaction + #to_body + Coinbase::Client::ERC721TransferEvent
        • - #to - Coinbase::Client::EthereumTransactionFlattenedTrace + #to_body + Coinbase::Client::SmartContractList
        • - #to_address - Coinbase::Client::WebhookEventFilter + #to_body + Coinbase::Client::CreateWalletRequestWallet
        • - #to_address_id - Coinbase::Client::SponsoredSend + #to_body + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #to_address_id - Coinbase::Transaction + #to_body + Coinbase::Client::AddressList
        • - #to_address_id - Coinbase::Client::Transaction + #to_body + Coinbase::Client::HistoricalBalance
        • - #to_amount - Coinbase::Trade + #to_body + Coinbase::Client::TransferList
        • - #to_amount - Coinbase::Client::Trade + #to_body + Coinbase::Client::Error
        • - #to_asset - Coinbase::Client::Trade + #to_body + Coinbase::Client::WebhookWalletActivityFilter
        • - #to_asset_id - Coinbase::Trade + #to_body + Coinbase::Client::StakingRewardUSDValue
        • - #to_asset_id - Coinbase::Client::CreateTradeRequest + #to_body + Coinbase::Client::BroadcastContractInvocationRequest
        • - #to_atomic_amount - Coinbase::Asset + #to_body + Coinbase::Client::ServerSignerEvent
        • - #to_body - Coinbase::Client::GetStakingContextRequest + #to_body + Coinbase::Client::CreateServerSignerRequest
        • - #to_body - Coinbase::Client::HistoricalBalance + #to_body + Coinbase::Client::ServerSignerList
        • - #to_body - Coinbase::Client::Asset + #to_body + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #to_body - Coinbase::Client::AddressTransactionList + #to_body + Coinbase::Client::FetchStakingRewardsRequest
        • - #to_body - Coinbase::Client::Balance + #to_body + Coinbase::Client::BroadcastTransferRequest
        • - #to_body - Coinbase::Client::StakingContextContext + #to_body + Coinbase::Client::MultiTokenContractOptions
        • - #to_body - Coinbase::Client::FaucetTransaction + #to_body + Coinbase::Client::SeedCreationEvent
        • - #to_body - Coinbase::Client::CreateTransferRequest + #to_body + Coinbase::Client::FaucetTransaction
        • - #to_body - Coinbase::Client::ContractInvocationList + #to_body + Coinbase::Client::PayloadSignature
        • - #to_body - Coinbase::Client::Network + #to_body + Coinbase::Client::SeedCreationEventResult
        • - #to_body - Coinbase::Client::EthereumTransactionFlattenedTrace + #to_body + Coinbase::Client::DeploySmartContractRequest
        • - #to_body - Coinbase::Client::SignatureCreationEventResult + #to_body + Coinbase::Client::EthereumTransactionAccess
        • - #to_body - Coinbase::Client::ServerSignerEventList + #to_body + Coinbase::Client::ServerSigner
        • - #to_body - Coinbase::Client::ServerSignerList + #to_body + Coinbase::Client::ContractInvocation
        • - #to_body - Coinbase::Client::BroadcastStakingOperationRequest + #to_body + Coinbase::Client::GetStakingContextRequest
        • - #to_body - Coinbase::Client::ServerSigner + #to_body + Coinbase::Client::CreateWalletWebhookRequest
        • - #to_body - Coinbase::Client::BroadcastTradeRequest + #to_body + Coinbase::Client::Trade
        • - #to_body - Coinbase::Client::StakingOperation + #to_body + Coinbase::Client::CreateAddressRequest
        • - #to_body - Coinbase::Client::Error + #to_body + Coinbase::Client::StakingOperation
        • - #to_body - Coinbase::Client::SignatureCreationEvent + #to_body + Coinbase::Client::WalletList
        • - #to_body - Coinbase::Client::User + #to_body + Coinbase::Client::EthereumValidatorMetadata
        • - #to_body - Coinbase::Client::Validator + #to_body + Coinbase::Client::PayloadSignatureList
        • - #to_body - Coinbase::Client::CreateContractInvocationRequest + #to_body + Coinbase::Client::Validator
        • - #to_body - Coinbase::Client::Wallet + #to_body + Coinbase::Client::ContractEventList
        • - #to_body - Coinbase::Client::StakingRewardUSDValue + #to_body + Coinbase::Client::CreateSmartContractRequest
        • - #to_body - Coinbase::Client::PayloadSignature + #to_hash + Coinbase::Client::HistoricalBalance
        • - #to_body - Coinbase::Client::UpdateWebhookRequest + #to_hash + Coinbase::Client::Webhook
        • - #to_body - Coinbase::Client::Transfer + #to_hash + Coinbase::Client::FeatureSet
        • - #to_body - Coinbase::Client::BroadcastTransferRequest + #to_hash + Coinbase::Client::CreateWebhookRequest
        • - #to_body - Coinbase::Client::ContractEventList + #to_hash + Coinbase::Client::WebhookEventFilter
        • - #to_body - Coinbase::Client::PayloadSignatureList + #to_hash + Coinbase::Client::BroadcastContractInvocationRequest
        • - #to_body - Coinbase::Client::FetchStakingRewards200Response + #to_hash + Coinbase::Client::PayloadSignatureList
        • - #to_body - Coinbase::Client::SeedCreationEventResult + #to_hash + Coinbase::Client::NFTContractOptions
        • - #to_body - Coinbase::Client::WebhookList + #to_hash + Coinbase::Client::TokenContractOptions
        • - #to_body - Coinbase::Client::TransferList + #to_hash + Coinbase::Client::EthereumTransaction
        • - #to_body - Coinbase::Client::EthereumTransactionAccess + #to_hash + Coinbase::Client::UpdateWebhookRequest
        • - #to_body - Coinbase::Client::CreateWebhookRequest + #to_hash + Coinbase::Client::Balance
        • - #to_body - Coinbase::Client::BroadcastContractInvocationRequest + #to_hash + Coinbase::Client::User
        • - #to_body - Coinbase::Client::Trade + #to_hash + Coinbase::Client::BroadcastTradeRequest
        • - #to_body - Coinbase::Client::ContractInvocation + #to_hash + Coinbase::Client::ERC20TransferEvent
        • - #to_body - Coinbase::Client::StakingContext + #to_hash + Coinbase::Client::CreateTransferRequest
        • - #to_body - Coinbase::Client::FeatureSet + #to_hash + Coinbase::Client::StakingContextContext
        • - #to_body - Coinbase::Client::EthereumTransactionAccessList + #to_hash + Coinbase::Client::AddressTransactionList
        • - #to_body - Coinbase::Client::EthereumValidatorMetadata + #to_hash + Coinbase::Client::CreateTradeRequest
        • - #to_body - Coinbase::Client::Transaction + #to_hash + Coinbase::Client::TradeList
        • - #to_body - Coinbase::Client::FetchHistoricalStakingBalances200Response + #to_hash + Coinbase::Client::Transaction
        • - #to_body - Coinbase::Client::CreateAddressRequest + #to_hash + Coinbase::Client::ContractInvocationList
        • - #to_body - Coinbase::Client::StakingBalance + #to_hash + Coinbase::Client::AddressBalanceList
        • - #to_body - Coinbase::Client::Webhook + #to_hash + Coinbase::Client::ServerSignerEventList
        • - #to_body - Coinbase::Client::WalletList + #to_hash + Coinbase::Client::Asset
        • - #to_body - Coinbase::Client::TradeList + #to_hash + Coinbase::Client::SignatureCreationEvent
        • - #to_body - Coinbase::Client::SeedCreationEvent + #to_hash + Coinbase::Client::SmartContractList
        • - #to_body - Coinbase::Client::CreateServerSignerRequest + #to_hash + Coinbase::Client::Error
        • - #to_body - Coinbase::Client::CreateWalletRequest + #to_hash + Coinbase::Client::ServerSignerEvent
        • - #to_body - Coinbase::Client::CreateStakingOperationRequest + #to_hash + Coinbase::Client::StakingRewardUSDValue
        • - #to_body - Coinbase::Client::CreateWalletRequestWallet + #to_hash + Coinbase::Wallet::Data
        • - #to_body - Coinbase::Client::ValidatorList + #to_hash + Coinbase::Client::BroadcastTransferRequest
        • - #to_body - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #to_hash + Coinbase::Client::SeedCreationEvent
        • - #to_body - Coinbase::Client::ServerSignerEvent + #to_hash + Coinbase::Client::SeedCreationEventResult
        • - #to_body - Coinbase::Client::AddressList + #to_hash + Coinbase::Client::EthereumTransactionAccess
        • - #to_body - Coinbase::Client::FetchStakingRewardsRequest + #to_hash + Coinbase::Client::ContractInvocation
        • - #to_body - Coinbase::Client::StakingReward + #to_hash + Coinbase::Client::Trade
        • - #to_body - Coinbase::Client::CreateTradeRequest + #to_hash + Coinbase::Client::EthereumValidatorMetadata
        • - #to_body - Coinbase::Client::ContractEvent + #to_hash + Coinbase::Client::ContractEventList
        • - #to_body - Coinbase::Client::WebhookEventFilter + #to_hash + Coinbase::Client::WalletList
        • - #to_body - Coinbase::Client::CreatePayloadSignatureRequest + #to_hash + Coinbase::Client::GetStakingContextRequest
        • - #to_body - Coinbase::Client::AddressHistoricalBalanceList + #to_hash + Coinbase::Client::ServerSignerList
        • - #to_body - Coinbase::Client::Address + #to_hash + Coinbase::Client::CreateServerSignerRequest
        • - #to_body - Coinbase::Client::SponsoredSend + #to_hash + Coinbase::Client::CreateWalletRequestWallet
        • - #to_body - Coinbase::Client::BuildStakingOperationRequest + #to_hash + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #to_body - Coinbase::Client::AddressBalanceList + #to_hash + Coinbase::Client::MultiTokenContractOptions
        • - #to_body - Coinbase::Client::EthereumTransaction + #to_hash + Coinbase::Client::FaucetTransaction
        • - #to_hash - Coinbase::Client::SignatureCreationEvent + #to_hash + Coinbase::Client::CreateSmartContractRequest
        • - #to_hash - Coinbase::Client::FaucetTransaction + #to_hash + Coinbase::Client::Validator
        • - #to_hash - Coinbase::Client::AddressHistoricalBalanceList + #to_hash + Coinbase::Client::StakingOperation
        • - #to_hash - Coinbase::Client::BroadcastTradeRequest + #to_hash + Coinbase::Client::CreateWalletWebhookRequest
        • - #to_hash - Coinbase::Client::Webhook + #to_hash + Coinbase::Client::DeploySmartContractRequest
        • - #to_hash - Coinbase::Client::CreateTradeRequest + #to_hash + Coinbase::Client::PayloadSignature
        • - #to_hash - Coinbase::Client::User + #to_hash + Coinbase::Client::FetchStakingRewardsRequest
        • - #to_hash - Coinbase::Client::Transaction + #to_hash + Coinbase::Client::TransferList
        • - #to_hash - Coinbase::Client::StakingContextContext + #to_hash + Coinbase::Client::WebhookWalletActivityFilter
        • - #to_hash - Coinbase::Client::AddressTransactionList + #to_hash + Coinbase::Client::AddressList
        • - #to_hash - Coinbase::Client::ServerSignerEvent + #to_hash + Coinbase::Client::StakingContext
        • - #to_hash - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #to_hash + Coinbase::Client::AddressHistoricalBalanceList
        • - #to_hash - Coinbase::Client::EthereumTransaction + #to_hash + Coinbase::Client::StakingBalance
        • - #to_hash - Coinbase::Client::TradeList + #to_hash + Coinbase::Client::BuildStakingOperationRequest
        • - #to_hash - Coinbase::Client::StakingReward + #to_hash + Coinbase::Client::SignatureCreationEventResult
        • - #to_hash - Coinbase::Client::CreateWalletRequest + #to_hash + Coinbase::Client::ServerSigner
        • - #to_hash - Coinbase::Client::CreateAddressRequest + #to_hash + Coinbase::Client::WebhookList
        • - #to_hash - Coinbase::Client::FetchStakingRewardsRequest + #to_hash + Coinbase::Client::CreatePayloadSignatureRequest
        • - #to_hash - Coinbase::Client::FeatureSet + #to_hash + Coinbase::Client::Wallet
        • - #to_hash - Coinbase::Client::ContractEvent + #to_hash + Coinbase::Client::ValidatorList
        • - #to_hash - Coinbase::Client::CreateServerSignerRequest + #to_hash + Coinbase::Client::Network
        • - #to_hash - Coinbase::Client::SignatureCreationEventResult + #to_hash + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #to_hash - Coinbase::Client::EthereumTransactionFlattenedTrace + #to_hash + Coinbase::Client::CreateStakingOperationRequest
        • - #to_hash - Coinbase::Client::ContractInvocationList + #to_hash + Coinbase::Client::StakingReward
        • - #to_hash - Coinbase::Client::TransferList + #to_hash + Coinbase::Client::EthereumTransactionAccessList
        • - #to_hash - Coinbase::Client::EthereumTransactionAccessList + #to_hash + Coinbase::Client::SponsoredSend
        • - #to_hash - Coinbase::Client::StakingBalance + #to_hash + Coinbase::Client::FetchStakingRewards200Response
        • - #to_hash - Coinbase::Client::Address + #to_hash + Coinbase::Client::Transfer
        • - #to_hash - Coinbase::Client::UpdateWebhookRequest + #to_hash + Coinbase::Client::CreateContractInvocationRequest
        • - #to_hash - Coinbase::Client::Asset + #to_hash + Coinbase::Client::SmartContract
        • - #to_hash - Coinbase::Client::Error + #to_hash + Coinbase::Client::Address
        • - #to_hash - Coinbase::Client::Transfer + #to_hash + Coinbase::Client::BroadcastStakingOperationRequest
        • - #to_hash - Coinbase::Client::SeedCreationEvent + #to_hash + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #to_hash - Coinbase::Client::ServerSignerList + #to_hash + Coinbase::Client::ContractEvent
        • - #to_hash - Coinbase::Client::CreateTransferRequest + #to_hash + Coinbase::Client::ERC721TransferEvent
        • - #to_hash - Coinbase::Client::ServerSignerEventList + #to_hash + Coinbase::Client::CreateWalletRequest
        • - #to_hash - Coinbase::Client::PayloadSignature + #to_hash + Coinbase::Client::CreateAddressRequest
        • - #to_hash - Coinbase::Client::WebhookList + #to_s + Coinbase::Wallet
        • - #to_hash - Coinbase::Client::Trade + #to_s + Coinbase::StakingOperation
        • - #to_hash - Coinbase::Client::WebhookEventFilter + #to_s + Coinbase::Client::BuildStakingOperationRequest
        • - #to_hash - Coinbase::Client::BroadcastTransferRequest + #to_s + Coinbase::Client::StakingBalance
        • - #to_hash - Coinbase::Client::CreateStakingOperationRequest + #to_s + Coinbase::Client::ERC20TransferEvent
        • - #to_hash - Coinbase::Client::ContractInvocation + #to_s + Coinbase::PayloadSignature
        • - #to_hash - Coinbase::Client::WalletList + #to_s + Coinbase::Client::FeatureSet
        • - #to_hash - Coinbase::Client::Validator + #to_s + Coinbase::Client::ContractEventList
        • - #to_hash - Coinbase::Client::AddressBalanceList + #to_s + Coinbase::Client::GetStakingContextRequest
        • - #to_hash - Coinbase::Client::ContractEventList + #to_s + Coinbase::Client::CreateWebhookRequest
        • - #to_hash - Coinbase::Client::BroadcastStakingOperationRequest + #to_s + Coinbase::BalanceMap
        • - #to_hash - Coinbase::Client::FetchHistoricalStakingBalances200Response + #to_s + Coinbase::Client::EthereumValidatorMetadata
        • - #to_hash - Coinbase::Client::StakingRewardUSDValue + #to_s + Coinbase::Webhook
        • - #to_hash - Coinbase::Client::PayloadSignatureList + #to_s + Coinbase::Client::WalletList
        • - #to_hash - Coinbase::Client::CreatePayloadSignatureRequest + #to_s + Coinbase::Client::FaucetTransaction
        • - #to_hash - Coinbase::Client::SponsoredSend + #to_s + Coinbase::Client::CreateStakingOperationRequest
        • - #to_hash - Coinbase::Client::GetStakingContextRequest + #to_s + Coinbase::Client::Validator
        • - #to_hash - Coinbase::Client::FetchStakingRewards200Response + #to_s + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #to_hash - Coinbase::Client::BuildStakingOperationRequest + #to_s + Coinbase::ContractInvocation
        • - #to_hash - Coinbase::Client::CreateWalletRequestWallet + #to_s + Coinbase::Client::StakingOperation
        • - #to_hash - Coinbase::Client::StakingOperation + #to_s + Coinbase::Client::CreateWalletWebhookRequest
        • - #to_hash - Coinbase::Client::ValidatorList + #to_s + Coinbase::Trade
        • - #to_hash - Coinbase::Client::CreateWebhookRequest + #to_s + Coinbase::Client::CreateTransferRequest
        • - #to_hash - Coinbase::Client::SeedCreationEventResult + #to_s + Coinbase::Client::CreatePayloadSignatureRequest
        • - #to_hash - Coinbase::Client::HistoricalBalance + #to_s + Coinbase::Client::MultiTokenContractOptions
        • - #to_hash - Coinbase::Client::StakingContext + #to_s + Coinbase::Client::Trade
        • - #to_hash - Coinbase::Client::Network + #to_s + Coinbase::Client::ContractInvocation
        • - #to_hash - Coinbase::Client::Wallet + #to_s + Coinbase::Transfer
        • - #to_hash - Coinbase::Client::EthereumValidatorMetadata + #to_s + Coinbase::Client::CreateServerSignerRequest
        • - #to_hash - Coinbase::Client::CreateContractInvocationRequest + #to_s + Coinbase::Client::CreateTradeRequest
        • - #to_hash - Coinbase::Client::BroadcastContractInvocationRequest + #to_s + Coinbase::Client::ServerSignerList
        • - #to_hash - Coinbase::Client::AddressList + #to_s + Coinbase::Client::EthereumTransactionAccess
        • - #to_hash - Coinbase::Wallet::Data + #to_s + Coinbase::Client::HistoricalBalance
        • - #to_hash - Coinbase::Client::Balance + #to_s + Coinbase::Network
        • - #to_hash - Coinbase::Client::ServerSigner + #to_s + Coinbase::Client::TradeList
        • - #to_hash - Coinbase::Client::EthereumTransactionAccess + #to_s + Coinbase::Client::Network
        • - #to_s - Coinbase::Client::AddressList + #to_s + Coinbase::Client::PayloadSignatureList
        • - #to_s - Coinbase::Client::EthereumTransaction + #to_s + Coinbase::Client::CreateWalletRequestWallet
        • - #to_s - Coinbase::Client::ContractInvocationList + #to_s + Coinbase::Client::DeploySmartContractRequest
        • - #to_s - Coinbase::Client::PayloadSignature + #to_s + Coinbase::Client::Transaction
        • - #to_s - Coinbase::Client::UpdateWebhookRequest + #to_s + Coinbase::HistoricalBalance
        • - #to_s - Coinbase::Validator + #to_s + Coinbase::Client::AddressTransactionList
        • - #to_s - Coinbase::Client::User + #to_s + Coinbase::Client::StakingReward
        • - #to_s - Coinbase::Client::BroadcastTransferRequest + #to_s + Coinbase::Client::ContractInvocationList
        • - #to_s - Coinbase::Client::Transfer + #to_s + Coinbase::Client::SeedCreationEventResult
        • - #to_s - Coinbase::Client::ContractEventList + #to_s + Coinbase::Client::ValidatorList
        • - #to_s - Coinbase::Trade + #to_s + Coinbase::Client::ApiError
        • - #to_s - Coinbase::BalanceMap + #to_s + Coinbase::Client::EthereumTransactionAccessList
        • - #to_s - Coinbase::Client::PayloadSignatureList + #to_s + Coinbase::Client::NFTContractOptions
        • - #to_s - Coinbase::Client::StakingRewardUSDValue + #to_s + Coinbase::Client::StakingContextContext
        • - #to_s - Coinbase::Client::Asset + #to_s + Coinbase::Client::Balance
        • - #to_s - Coinbase::Transfer + #to_s + Coinbase::Client::PayloadSignature
        • - #to_s - Coinbase::Client::FetchStakingRewards200Response + #to_s + Coinbase::Client::ContractEvent
        • - #to_s - Coinbase::Client::SeedCreationEventResult + #to_s + Coinbase::Client::SeedCreationEvent
        • - #to_s - Coinbase::Client::AddressHistoricalBalanceList + #to_s + Coinbase::Client::CreateSmartContractRequest
        • - #to_s - Coinbase::Client::WebhookList + #to_s + Coinbase::Transaction
        • - #to_s - Coinbase::Client::CreateContractInvocationRequest + #to_s + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #to_s - Coinbase::SmartContract + #to_s + Coinbase::StakingBalance
        • - #to_s - Coinbase::SponsoredSend + #to_s + Coinbase::Client::TokenContractOptions
        • - #to_s - Coinbase::Client::BroadcastContractInvocationRequest + #to_s + Coinbase::Client::WebhookEventFilter
        • - #to_s - Coinbase::Client::TransferList + #to_s + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #to_s - Coinbase::Client::CreateTradeRequest + #to_s + Coinbase::Client::AddressBalanceList
        • - #to_s - Coinbase::Client::EthereumTransactionAccess + #to_s + Coinbase::Balance
        • - #to_s - Coinbase::Client::WebhookEventFilter + #to_s + Coinbase::Client::FetchStakingRewardsRequest
        • - #to_s - Coinbase::Client::CreatePayloadSignatureRequest + #to_s + Coinbase::Client::BroadcastTransferRequest
        • - #to_s - Coinbase::Client::CreateWebhookRequest + #to_s + Coinbase::Asset
        • - #to_s - Coinbase::Client::FetchHistoricalStakingBalances200Response + #to_s + Coinbase::Client::SignatureCreationEventResult
        • - #to_s - Coinbase::Client::SignatureCreationEvent + #to_s + Coinbase::APIError
        • - #to_s - Coinbase::Client::Validator + #to_s + Coinbase::Client::SponsoredSend
        • - #to_s - Coinbase::Client::Trade + #to_s + Coinbase::Client::EthereumTransaction
        • - #to_s - Coinbase::Address + #to_s + Coinbase::Client::UpdateWebhookRequest
        • - #to_s - Coinbase::Client::FeatureSet + #to_s + Coinbase::Client::Asset
        • - #to_s - Coinbase::Client::ContractInvocation + #to_s + Coinbase::Client::ERC721TransferEvent
        • - #to_s - Coinbase::Client::Address + #to_s + Coinbase::SmartContract
        • - #to_s - Coinbase::Client::StakingContext + #to_s + Coinbase::Client::User
        • - #to_s - Coinbase::APIError + #to_s + Coinbase::Client::Wallet
        • - #to_s - Coinbase::Client::FaucetTransaction + #to_s + Coinbase::Client::WebhookList
        • - #to_s - Coinbase::Client::EthereumValidatorMetadata + #to_s + Coinbase::Client::ServerSignerEvent
        • - #to_s - Coinbase::Client::StakingContextContext + #to_s + Coinbase::Client::AddressList
        • - #to_s - Coinbase::Webhook + #to_s + Coinbase::StakingReward
        • - #to_s - Coinbase::StakingReward + #to_s + Coinbase::Client::StakingRewardUSDValue
        • - #to_s - Coinbase::Client::EthereumTransactionAccessList + #to_s + Coinbase::Client::WebhookWalletActivityFilter
        • - #to_s - Coinbase::Client::StakingOperation + #to_s + Coinbase::Client::Webhook
        • - #to_s - Coinbase::Client::AddressBalanceList + #to_s + Coinbase::Validator
        • - #to_s - Coinbase::Client::Transaction + #to_s + Coinbase::ServerSigner
        • - #to_s - Coinbase::Client::StakingBalance + #to_s + Coinbase::Client::BroadcastStakingOperationRequest
        • - #to_s - Coinbase::Client::CreateAddressRequest + #to_s + Coinbase::Client::TransferList
        • - #to_s - Coinbase::Client::BroadcastTradeRequest + #to_s + Coinbase::Client::SmartContract
        • - #to_s - Coinbase::Client::GetStakingContextRequest + #to_s + Coinbase::Client::Transfer
        • - #to_s - Coinbase::Client::WalletList + #to_s + Coinbase::FaucetTransaction
        • @@ -15286,991 +17478,991 @@

          Method List

        • - #to_s - Coinbase::Client::SignatureCreationEventResult + #to_s + Coinbase::Client::SmartContractList
        • - #to_s - Coinbase::Client::SponsoredSend + #to_s + Coinbase::Client::SignatureCreationEvent
        • - #to_s - Coinbase::StakingOperation + #to_s + Coinbase::Client::ServerSigner
        • - #to_s - Coinbase::Client::TradeList + #to_s + Coinbase::Client::BroadcastTradeRequest
        • - #to_s - Coinbase::Client::SeedCreationEvent + #to_s + Coinbase::Client::CreateAddressRequest
        • - #to_s - Coinbase::StakingBalance + #to_s + Coinbase::Client::FetchStakingRewards200Response
        • - #to_s - Coinbase::Wallet + #to_s + Coinbase::WalletAddress
        • - #to_s - Coinbase::Client::ServerSigner + #to_s + Coinbase::Client::Address
        • - #to_s - Coinbase::ContractInvocation + #to_s + Coinbase::Address
        • - #to_s - Coinbase::Network + #to_s + Coinbase::Client::AddressHistoricalBalanceList
        • - #to_s - Coinbase::Client::CreateServerSignerRequest + #to_s + Coinbase::Client::CreateWalletRequest
        • - #to_s - Coinbase::FaucetTransaction + #to_s + Coinbase::SponsoredSend
        • - #to_s - Coinbase::Client::Wallet + #to_s + Coinbase::Client::BroadcastContractInvocationRequest
        • - #to_s - Coinbase::Client::BroadcastStakingOperationRequest + #to_s + Coinbase::Client::StakingContext
        • - #to_s - Coinbase::Client::BuildStakingOperationRequest + #to_s + Coinbase::Client::ServerSignerEventList
        • - #to_s - Coinbase::Client::CreateWalletRequest + #to_s + Coinbase::ContractEvent
        • - #to_s - Coinbase::Client::ApiError + #to_s + Coinbase::Client::CreateContractInvocationRequest
        • - #to_s - Coinbase::Client::ServerSignerEventList + to_sym + Coinbase
        • - #to_s - Coinbase::Client::ServerSignerList + #token_id + Coinbase::Client::ERC721TransferEvent
        • - #to_s - Coinbase::ServerSigner + #total_count + Coinbase::Client::ServerSignerList
        • - #to_s - Coinbase::Client::CreateWalletRequestWallet + #total_count + Coinbase::Client::AddressList
        • - #to_s - Coinbase::ContractEvent + #total_count + Coinbase::Client::TransferList
        • - #to_s - Coinbase::Asset + #total_count + Coinbase::Client::PayloadSignatureList
        • - #to_s - Coinbase::Client::CreateStakingOperationRequest + #total_count + Coinbase::Client::TradeList
        • - #to_s - Coinbase::HistoricalBalance + #total_count + Coinbase::Client::AddressBalanceList
        • - #to_s - Coinbase::Client::EthereumTransactionFlattenedTrace + #total_count + Coinbase::Client::WalletList
        • - #to_s - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #total_count + Coinbase::Client::ServerSignerEventList
        • - #to_s - Coinbase::Client::ValidatorList + #total_count + Coinbase::Client::ContractInvocationList
        • - #to_s - Coinbase::WalletAddress + #total_supply + Coinbase::Client::TokenContractOptions
        • - #to_s - Coinbase::Transaction + #trace_address + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #to_s - Coinbase::Balance + #trace_id + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #to_s - Coinbase::Client::ServerSignerEvent + #trace_type + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #to_s - Coinbase::Client::Network + #trade + Coinbase::WalletAddress
        • - #to_s - Coinbase::Client::Balance + #trade + Coinbase::Wallet
        • - #to_s - Coinbase::Client::Webhook + #trade + Coinbase::Client::FeatureSet
        • - #to_s - Coinbase::Client::FetchStakingRewardsRequest + #trade_id + Coinbase::Client::Trade
        • - #to_s - Coinbase::Client::AddressTransactionList + #trades + Coinbase::WalletAddress
        • - #to_s - Coinbase::Client::CreateTransferRequest + #transaction + Coinbase::Transfer
        • - #to_s - Coinbase::Client::HistoricalBalance + #transaction + Coinbase::Client::SmartContract
        • - #to_s - Coinbase::Client::StakingReward + #transaction + Coinbase::Trade
        • - #to_s - Coinbase::Client::ContractEvent + #transaction + Coinbase::ContractInvocation
        • - #to_s - Coinbase::PayloadSignature + #transaction + Coinbase::Client::Trade
        • - to_sym - Coinbase + #transaction + Coinbase::SmartContract
        • - #total_count - Coinbase::Client::TradeList + #transaction + Coinbase::Client::Transfer
        • - #total_count - Coinbase::Client::AddressBalanceList + #transaction + Coinbase::Client::ContractInvocation
        • - #total_count - Coinbase::Client::PayloadSignatureList + #transaction_access_list + Coinbase::Client::EthereumTransaction
        • - #total_count - Coinbase::Client::ServerSignerList + #transaction_hash + Coinbase::Transaction
        • - #total_count - Coinbase::Client::ContractInvocationList + #transaction_hash + Coinbase::Client::ERC20TransferEvent
        • - #total_count - Coinbase::Client::ServerSignerEventList + #transaction_hash + Coinbase::Client::Transaction
        • - #total_count - Coinbase::Client::AddressList + #transaction_hash + Coinbase::Client::ERC721TransferEvent
        • - #total_count - Coinbase::Client::WalletList + #transaction_hash + Coinbase::SponsoredSend
        • - #total_count - Coinbase::Client::TransferList + #transaction_hash + Coinbase::FaucetTransaction
        • - #trace_address - Coinbase::Client::EthereumTransactionFlattenedTrace + #transaction_hash + Coinbase::Client::SponsoredSend
        • - #trace_id - Coinbase::Client::EthereumTransactionFlattenedTrace + #transaction_hash + Coinbase::Client::FaucetTransaction
        • - #trace_type - Coinbase::Client::EthereumTransactionFlattenedTrace + #transaction_hash + Coinbase::Transfer
        • - #trade - Coinbase::WalletAddress + #transaction_hash + Coinbase::Client::Transfer
        • - #trade - Coinbase::Client::FeatureSet + #transaction_hash + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #trade - Coinbase::Wallet + #transaction_id + Coinbase::Client::SignatureCreationEvent
        • - #trade_id - Coinbase::Client::Trade + #transaction_id + Coinbase::Client::SignatureCreationEventResult
        • - #trades - Coinbase::WalletAddress + #transaction_index + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #transaction - Coinbase::Client::ContractInvocation + #transaction_index + Coinbase::Client::BroadcastStakingOperationRequest
        • - #transaction - Coinbase::Transfer + #transaction_index + Coinbase::Client::ERC721TransferEvent
        • - #transaction - Coinbase::ContractInvocation + #transaction_index + Coinbase::Client::ERC20TransferEvent
        • - #transaction - Coinbase::Client::Trade + #transaction_link + Coinbase::Transfer
        • - #transaction - Coinbase::Trade + #transaction_link + Coinbase::FaucetTransaction
        • - #transaction - Coinbase::Client::Transfer + #transaction_link + Coinbase::Client::SponsoredSend
        • - #transaction_access_list - Coinbase::Client::EthereumTransaction + #transaction_link + Coinbase::SponsoredSend
        • - #transaction_hash - Coinbase::Client::Transfer + #transaction_link + Coinbase::Transaction
        • - #transaction_hash - Coinbase::Client::FaucetTransaction + #transaction_link + Coinbase::Client::Transaction
        • - #transaction_hash - Coinbase::Client::Transaction + #transaction_link + Coinbase::Client::FaucetTransaction
        • - #transaction_hash - Coinbase::FaucetTransaction + #transaction_type + Coinbase::Client::SignatureCreationEvent
        • - #transaction_hash - Coinbase::SponsoredSend + #transaction_type + Coinbase::Client::SignatureCreationEventResult
        • - #transaction_hash - Coinbase::Client::SponsoredSend + #transactions + Coinbase::Trade
        • - #transaction_hash - Coinbase::Transfer + #transactions + Coinbase::StakingOperation
        • - #transaction_hash - Coinbase::Transaction + #transactions + Coinbase::Client::StakingOperation
        • - #transaction_hash - Coinbase::Client::EthereumTransactionFlattenedTrace + #transactions + Coinbase::Address
        • - #transaction_id - Coinbase::Client::SignatureCreationEventResult + #transfer + Coinbase::WalletAddress
        • - #transaction_id - Coinbase::Client::SignatureCreationEvent + #transfer + Coinbase::Wallet
        • - #transaction_index - Coinbase::Client::EthereumTransactionFlattenedTrace + #transfer + Coinbase::Client::FeatureSet
        • - #transaction_index - Coinbase::Client::BroadcastStakingOperationRequest + #transfer_id + Coinbase::Client::Transfer
        • - #transaction_link - Coinbase::Client::SponsoredSend + #transfers + Coinbase::WalletAddress
        • - #transaction_link - Coinbase::Client::Transaction + #tx_hash + Coinbase::Client::ContractEvent
        • - #transaction_link - Coinbase::Transfer + #tx_hash + Coinbase::ContractEvent
        • - #transaction_link - Coinbase::SponsoredSend + #tx_index + Coinbase::Client::ContractEvent
        • - #transaction_link - Coinbase::Transaction + #tx_index + Coinbase::ContractEvent
        • - #transaction_link - Coinbase::Client::FaucetTransaction + #type + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #transaction_link - Coinbase::FaucetTransaction + #type + Coinbase::SmartContract
        • - #transaction_type - Coinbase::Client::SignatureCreationEventResult + #type + Coinbase::Client::EthereumTransaction
        • - #transaction_type - Coinbase::Client::SignatureCreationEvent + #type + Coinbase::Client::SmartContract
        • - #transactions - Coinbase::Trade + #type + Coinbase::Client::CreateSmartContractRequest
        • - #transactions - Coinbase::Address + #typed_data_hash + Coinbase::SponsoredSend
        • - #transactions - Coinbase::Client::StakingOperation + #typed_data_hash + Coinbase::Client::SponsoredSend
        • - #transactions - Coinbase::StakingOperation + #unbonded_balance + Coinbase::StakingBalance
        • - #transfer - Coinbase::Wallet + #unbonded_balance + Coinbase::Client::StakingBalance
        • - #transfer - Coinbase::Client::FeatureSet + #unsigned_payload + Coinbase::Client::Transfer
        • - #transfer - Coinbase::WalletAddress + #unsigned_payload + Coinbase::Client::CreatePayloadSignatureRequest
        • - #transfer_id - Coinbase::Client::Transfer + #unsigned_payload + Coinbase::Transaction
        • - #transfers - Coinbase::WalletAddress + #unsigned_payload + Coinbase::PayloadSignature
        • - #tx_hash - Coinbase::ContractEvent + #unsigned_payload + Coinbase::Client::Transaction
        • - #tx_hash - Coinbase::Client::ContractEvent + #unsigned_payload + Coinbase::Client::PayloadSignature
        • - #tx_index - Coinbase::ContractEvent + #unstake + Coinbase::WalletAddress
        • - #tx_index - Coinbase::Client::ContractEvent + #unstake + Coinbase::Wallet
        • - #type - Coinbase::Client::EthereumTransaction + #unstakeable_balance + Coinbase::Wallet
        • - #type - Coinbase::Client::EthereumTransactionFlattenedTrace + #unstakeable_balance + Coinbase::Address
        • - #typed_data_hash - Coinbase::SponsoredSend + #unstakeable_balance + Coinbase::Client::StakingContextContext
        • - #typed_data_hash - Coinbase::Client::SponsoredSend + #update + Coinbase::Webhook
        • - #unbonded_balance - Coinbase::StakingBalance + #update_params_for_auth! + Coinbase::Client::ApiClient
        • - #unbonded_balance - Coinbase::Client::StakingBalance + #update_webhook + Coinbase::Client::WebhooksApi
        • - #unsigned_payload - Coinbase::Client::Transaction + #update_webhook_with_http_info + Coinbase::Client::WebhooksApi
        • - #unsigned_payload - Coinbase::Client::PayloadSignature + #updated_at + Coinbase::Client::Webhook
        • - #unsigned_payload - Coinbase::Transaction + #uri + Coinbase::Client::MultiTokenContractOptions
        • - #unsigned_payload - Coinbase::PayloadSignature + #usd_conversion_price + Coinbase::StakingReward
        • - #unsigned_payload - Coinbase::Client::CreatePayloadSignatureRequest + #usd_conversion_time + Coinbase::StakingReward
        • - #unsigned_payload - Coinbase::Client::Transfer + #usd_value + Coinbase::StakingReward
        • - #unstake - Coinbase::WalletAddress + #usd_value + Coinbase::Client::StakingReward
        • - #unstake - Coinbase::Wallet + #use + Coinbase::Client::Configuration
        • - #unstakeable_balance - Coinbase::Address + #use_server_signer + Coinbase::Configuration
        • - #unstakeable_balance - Coinbase::Wallet + #use_server_signer + Coinbase::Client::CreateWalletRequestWallet
        • - #unstakeable_balance - Coinbase::Client::StakingContextContext + use_server_signer? + Coinbase
        • - #update - Coinbase::Webhook + #user_agent= + Coinbase::Client::ApiClient
        • - #update_params_for_auth! - Coinbase::Client::ApiClient + #username + Coinbase::Client::Configuration
        • - #update_webhook - Coinbase::Client::WebhooksApi + #valid? + Coinbase::Client::StakingContext
        • - #update_webhook_with_http_info - Coinbase::Client::WebhooksApi + #valid? + Coinbase::Client::WebhookList
        • - #updated_at + #valid? Coinbase::Client::Webhook
        • @@ -16278,768 +18470,768 @@

          Method List

        • - #usd_conversion_price - Coinbase::StakingReward + #valid? + Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator
        • - #usd_conversion_time - Coinbase::StakingReward + #valid? + Coinbase::Client::AddressTransactionList
        • - #usd_value - Coinbase::Client::StakingReward + #valid? + Coinbase::Client::ContractInvocationList
        • - #usd_value - Coinbase::StakingReward + #valid? + Coinbase::Client::CreateAddressRequest
        • - #use - Coinbase::Client::Configuration + #valid? + Coinbase::Client::CreatePayloadSignatureRequest
        • - #use_server_signer - Coinbase::Configuration + #valid? + Coinbase::Client::CreateTradeRequest
        • - #use_server_signer - Coinbase::Client::CreateWalletRequestWallet + #valid? + Coinbase::Client::StakingReward
        • - use_server_signer? - Coinbase + #valid? + Coinbase::Client::EthereumTransactionAccessList
        • - #user_agent= - Coinbase::Client::ApiClient + #valid? + Coinbase::Client::StakingReward::EnumAttributeValidator
        • - #username - Coinbase::Client::Configuration + #valid? + Coinbase::Client::Asset
        • - #valid? - Coinbase::Client::CreateAddressRequest + #valid? + Coinbase::Client::CreateWebhookRequest
        • - #valid? - Coinbase::Client::Transaction + #valid? + Coinbase::Client::ERC20TransferEvent
        • - #valid? - Coinbase::Client::SponsoredSend::EnumAttributeValidator + #valid? + Coinbase::Client::ServerSignerEventList
        • - #valid? - Coinbase::Client::SignatureCreationEventResult::EnumAttributeValidator + #valid? + Coinbase::Client::SignatureCreationEventResult
        • - #valid? - Coinbase::Client::SponsoredSend + #valid? + Coinbase::Client::StakingContextContext
        • - #valid? - Coinbase::Client::CreatePayloadSignatureRequest + #valid? + Coinbase::Client::SponsoredSend
        • - #valid? - Coinbase::Client::BuildStakingOperationRequest + #valid? + Coinbase::Client::FetchStakingRewards200Response
        • - #valid? - Coinbase::Client::StakingReward::EnumAttributeValidator + #valid? + Coinbase::Client::Address
        • - #valid? - Coinbase::Client::AddressHistoricalBalanceList + #valid? + Coinbase::Client::SponsoredSend::EnumAttributeValidator
        • - #valid? - Coinbase::Client::StakingReward + #valid? + Coinbase::Client::TradeList
        • - #valid? - Coinbase::Client::Transaction::EnumAttributeValidator + #valid? + Coinbase::Client::AddressBalanceList
        • - #valid? - Coinbase::Client::FetchStakingRewardsRequest + #valid? + Coinbase::Client::ValidatorList
        • - #valid? - Coinbase::Client::ValidatorList + #valid? + Coinbase::Client::Wallet
        • - #valid? - Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator + #valid? + Coinbase::Client::StakingBalance
        • - #valid? - Coinbase::Client::CreateStakingOperationRequest + #valid? + Coinbase::Client::Validator::EnumAttributeValidator
        • - #valid? - Coinbase::Client::Network::EnumAttributeValidator + #valid? + Coinbase::Client::CreateContractInvocationRequest
        • - #valid? - Coinbase::Client::ContractEvent + #valid? + Coinbase::Client::BuildStakingOperationRequest
        • - #valid? - Coinbase::Client::CreateWalletRequestWallet + #valid? + Coinbase::Client::CreateTransferRequest
        • - #valid? - Coinbase::Client::CreateServerSignerRequest + #valid? + Coinbase::Client::Wallet::EnumAttributeValidator
        • - #valid? - Coinbase::Client::EthereumTransactionAccessList + #valid? + Coinbase::Client::Network::EnumAttributeValidator
        • - #valid? - Coinbase::Client::StakingBalance + #valid? + Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator
        • - #valid? - Coinbase::Client::GetStakingContextRequest + #valid? + Coinbase::Client::Balance
        • - #valid? - Coinbase::Client::Transfer::EnumAttributeValidator + #valid? + Coinbase::Client::User
        • - #valid? - Coinbase::Client::StakingContext + #valid? + Coinbase::Client::EthereumTransactionFlattenedTrace
        • - #valid? - Coinbase::Client::EthereumValidatorMetadata + #valid? + Coinbase::Client::FaucetTransaction
        • - #valid? - Coinbase::Client::Network + #valid? + Coinbase::Client::NFTContractOptions
        • - #valid? - Coinbase::Client::Transfer + #valid? + Coinbase::Client::PayloadSignature::EnumAttributeValidator
        • - #valid? - Coinbase::Client::Trade + #valid? + Coinbase::Client::FetchStakingRewardsRequest
        • - #valid? - Coinbase::Client::FetchStakingRewards200Response + #valid? + Coinbase::Client::Transaction
        • - #valid? - Coinbase::Client::EthereumTransactionAccess + #valid? + Coinbase::Client::TokenContractOptions
        • - #valid? - Coinbase::Client::TransferList + #valid? + Coinbase::Client::PayloadSignature
        • - #valid? - Coinbase::Client::PayloadSignature::EnumAttributeValidator + #valid? + Coinbase::Client::AddressList
        • - #valid? - Coinbase::Client::SeedCreationEventResult + #valid? + Coinbase::Client::FetchStakingRewardsRequest::EnumAttributeValidator
        • - #valid? - Coinbase::Client::PayloadSignature + #valid? + Coinbase::Client::BroadcastContractInvocationRequest
        • - #valid? - Coinbase::Client::BroadcastTransferRequest + #valid? + Coinbase::Client::ServerSigner
        • - #valid? - Coinbase::Client::CreateTradeRequest + #valid? + Coinbase::Client::Transfer
        • - #valid? - Coinbase::Client::CreateContractInvocationRequest + #valid? + Coinbase::Client::Validator
        • - #valid? - Coinbase::Client::FeatureSet + #valid? + Coinbase::Client::SeedCreationEventResult
        • - #valid? - Coinbase::Client::StakingRewardUSDValue + #valid? + Coinbase::Client::SeedCreationEvent
        • - #valid? - Coinbase::Client::StakingOperation::EnumAttributeValidator + #valid? + Coinbase::Client::EthereumTransactionAccess
        • - #valid? - Coinbase::Client::StakingOperation + #valid? + Coinbase::Client::CreateWalletRequestWallet
        • - #valid? - Coinbase::Client::SignatureCreationEvent + #valid? + Coinbase::Client::ServerSignerList
        • - #valid? - Coinbase::Client::SignatureCreationEvent::EnumAttributeValidator + #valid? + Coinbase::Client::StakingOperation::EnumAttributeValidator
        • - #valid? - Coinbase::Client::BroadcastStakingOperationRequest + #valid? + Coinbase::Client::CreateWalletRequest
        • - #valid? - Coinbase::Client::ServerSigner + #valid? + Coinbase::Client::Trade
        • - #valid? - Coinbase::Client::ServerSignerEventList + #valid? + Coinbase::Client::PayloadSignatureList
        • - #valid? - Coinbase::Client::Error + #valid? + Coinbase::Client::DeploySmartContractRequest
        • - #valid? - Coinbase::Client::FaucetTransaction + #valid? + Coinbase::Client::HistoricalBalance
        • - #valid? - Coinbase::Client::ContractInvocationList + #valid? + Coinbase::Client::MultiTokenContractOptions
        • - #valid? - Coinbase::Client::AddressTransactionList + #valid? + Coinbase::Client::StakingOperation
        • - #valid? - Coinbase::Client::HistoricalBalance + #valid? + Coinbase::Client::ContractInvocation
        • - #valid? - Coinbase::Client::Asset + #valid? + Coinbase::Client::CreateServerSignerRequest
        • - #valid? - Coinbase::Client::Validator::EnumAttributeValidator + #valid? + Coinbase::Client::WebhookEventFilter
        • - #valid? - Coinbase::Client::StakingContextContext + #valid? + Coinbase::Client::EthereumValidatorMetadata
        • - #valid? - Coinbase::Client::EthereumTransactionFlattenedTrace + #valid? + Coinbase::Client::Webhook::EnumAttributeValidator
        • - #valid? - Coinbase::Client::ServerSignerList + #valid? + Coinbase::Client::FeatureSet
        • - #valid? - Coinbase::Client::Validator + #valid? + Coinbase::Client::CreateSmartContractRequest::EnumAttributeValidator
        • - #valid? - Coinbase::Client::Balance + #valid? + Coinbase::Client::CreateWalletWebhookRequest
        • - #valid? - Coinbase::Client::CreateTransferRequest + #valid? + Coinbase::Client::ERC721TransferEvent
        • - #valid? - Coinbase::Client::BroadcastTradeRequest + #valid? + Coinbase::Client::ContractEventList
        • - #valid? - Coinbase::Client::WalletList + #valid? + Coinbase::Client::CreateSmartContractRequest
        • - #valid? - Coinbase::Client::ContractEventList + #valid? + Coinbase::Client::FetchHistoricalStakingBalances200Response
        • - #valid? - Coinbase::Client::UpdateWebhookRequest + #valid? + Coinbase::Client::CreateStakingOperationRequest
        • - #valid? - Coinbase::Client::User + #valid? + Coinbase::Client::ContractEvent
        • - #valid? - Coinbase::Client::BroadcastContractInvocationRequest + #valid? + Coinbase::Client::SignatureCreationEvent
        • - #valid? - Coinbase::Client::Webhook + #valid? + Coinbase::Client::GetStakingContextRequest
        • - #valid? - Coinbase::Client::WebhookList + #valid? + Coinbase::Client::Transfer::EnumAttributeValidator
        • - #valid? - Coinbase::Client::PayloadSignatureList + #valid? + Coinbase::Client::Error
        • - #valid? - Coinbase::Client::ContractInvocation + #valid? + Coinbase::Client::AddressHistoricalBalanceList
        • - #valid? - Coinbase::Client::CreateWebhookRequest + #valid? + Coinbase::Client::BroadcastStakingOperationRequest
        • - #valid? - Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator + #valid? + Coinbase::Client::SignedVoluntaryExitMessageMetadata
        • - #valid? - Coinbase::Client::Wallet + #valid? + Coinbase::Client::SmartContractList
        • - #valid? - Coinbase::Client::SignedVoluntaryExitMessageMetadata + #valid? + Coinbase::Client::CreateWebhookRequest::EnumAttributeValidator
        • - #valid? - Coinbase::Client::SeedCreationEvent + #valid? + Coinbase::Client::StakingRewardUSDValue
        • - #valid? - Coinbase::Client::SignatureCreationEventResult + #valid? + Coinbase::Client::Transaction::EnumAttributeValidator
        • - #valid? - Coinbase::Client::CreateWalletRequest + #valid? + Coinbase::Client::Network
        • - #valid? - Coinbase::Client::ServerSignerEvent + #valid? + Coinbase::Client::BroadcastTradeRequest
        • - #valid? - Coinbase::Client::Address + #valid? + Coinbase::Client::EthereumTransaction
        • - #valid? - Coinbase::Client::Webhook::EnumAttributeValidator + #valid? + Coinbase::Client::SmartContract
        • - #valid? - Coinbase::Client::Wallet::EnumAttributeValidator + #valid? + Coinbase::Client::SmartContract::EnumAttributeValidator
        • - #valid? - Coinbase::Client::WebhookEventFilter + #valid? + Coinbase::Client::WebhookWalletActivityFilter
        • - #valid? - Coinbase::Client::AddressBalanceList + #valid? + Coinbase::Client::ServerSignerEvent
        • - #valid? - Coinbase::Client::TradeList + #valid? + Coinbase::Client::BroadcastTransferRequest
        • - #valid? - Coinbase::Client::AddressList + #valid? + Coinbase::Client::WalletList
        • - #valid? - Coinbase::Client::FetchHistoricalStakingBalances200Response + #valid? + Coinbase::Client::UpdateWebhookRequest
        • - #valid? - Coinbase::Client::EthereumTransaction + #valid? + Coinbase::Client::TransferList
        • @@ -17086,32 +19278,32 @@

          Method List

        • - #wait! - Coinbase::Transfer + #value + Coinbase::Client::ERC20TransferEvent
        • - #wait! - Coinbase::ContractInvocation + #wait! + Coinbase::PayloadSignature
        • - #wait! - Coinbase::Trade + #wait! + Coinbase::Transfer
        • - #wait! - Coinbase::PayloadSignature + #wait! + Coinbase::SmartContract
        • @@ -17124,6 +19316,22 @@

          Method List

          +
        • +
          + #wait! + Coinbase::Trade +
          +
        • + + +
        • +
          + #wait! + Coinbase::ContractInvocation +
          +
        • + +
        • #wallet @@ -17134,56 +19342,56 @@

          Method List

        • - #wallet_id - Coinbase::Trade + #wallet_id + Coinbase::WalletAddress
        • - #wallet_id - Coinbase::Client::Trade + #wallet_id + Coinbase::Client::SignatureCreationEvent
        • - #wallet_id - Coinbase::Client::SignatureCreationEventResult + #wallet_id + Coinbase::Client::Trade
        • - #wallet_id - Coinbase::Client::StakingOperation + #wallet_id + Coinbase::Client::Transfer
        • - #wallet_id - Coinbase::Client::SeedCreationEventResult + #wallet_id + Coinbase::Client::PayloadSignature
        • - #wallet_id - Coinbase::PayloadSignature + #wallet_id + Coinbase::Transfer
        • - #wallet_id - Coinbase::Client::SeedCreationEvent + #wallet_id + Coinbase::PayloadSignature
        • @@ -17198,64 +19406,80 @@

          Method List

        • - #wallet_id - Coinbase::ContractInvocation + #wallet_id + Coinbase::Client::WebhookWalletActivityFilter
        • - #wallet_id - Coinbase::Client::PayloadSignature + #wallet_id + Coinbase::Client::SmartContract
        • - #wallet_id - Coinbase::Client::SignatureCreationEvent + #wallet_id + Coinbase::Trade
        • - #wallet_id - Coinbase::WalletAddress + #wallet_id + Coinbase::ContractInvocation
        • - #wallet_id - Coinbase::StakingOperation + #wallet_id + Coinbase::Client::Address
        • - #wallet_id - Coinbase::Client::Transfer + #wallet_id + Coinbase::Client::SeedCreationEventResult
        • - #wallet_id - Coinbase::Client::Address + #wallet_id + Coinbase::Client::SeedCreationEvent
        • - #wallet_id - Coinbase::Transfer + #wallet_id + Coinbase::Client::StakingOperation +
          +
        • + + +
        • +
          + #wallet_id + Coinbase::Client::SignatureCreationEventResult +
          +
        • + + +
        • +
          + #wallet_id + Coinbase::SmartContract
        • @@ -17270,8 +19494,8 @@

          Method List

        • - #wallet_user_id - Coinbase::Client::SignatureCreationEventResult + #wallet_id + Coinbase::StakingOperation
        • @@ -17302,8 +19526,8 @@

          Method List

        • - #wallets - Coinbase::ServerSigner + #wallet_user_id + Coinbase::Client::SignatureCreationEventResult
        • @@ -17317,6 +19541,30 @@

          Method List

        • +
          + #wallets + Coinbase::ServerSigner +
          +
        • + + +
        • +
          + #webhook_id + Coinbase::Client::ERC20TransferEvent +
          +
        • + + +
        • +
          + #webhook_id + Coinbase::Client::ERC721TransferEvent +
          +
        • + + +
        • #withdrawable_epoch Coinbase::Client::EthereumValidatorMetadata @@ -17324,7 +19572,7 @@

          Method List

        • -
        • +
        • #withdrawal_address Coinbase::Client::EthereumValidatorMetadata diff --git a/lib/coinbase/address.rb b/lib/coinbase/address.rb index b1084f1c..4e0d5a2a 100644 --- a/lib/coinbase/address.rb +++ b/lib/coinbase/address.rb @@ -252,6 +252,10 @@ def balance_history_api @balance_history_api ||= Coinbase::Client::BalanceHistoryApi.new(Coinbase.configuration.api_client) end + def transaction_history_api + @transaction_history_api ||= Coinbase::Client::TransactionHistoryApi.new(Coinbase.configuration.api_client) + end + def stake_api @stake_api ||= Coinbase::Client::StakeApi.new(Coinbase.configuration.api_client) end @@ -266,7 +270,7 @@ def list_page(asset_id, page) end def list_transaction_page(page) - addresses_api.list_address_transactions( + transaction_history_api.list_address_transactions( network.normalized_id, id, { limit: DEFAULT_TRANSACTION_PAGE_LIMIT, page: page } diff --git a/lib/coinbase/address/wallet_address.rb b/lib/coinbase/address/wallet_address.rb index 12b8b388..4969bd5e 100644 --- a/lib/coinbase/address/wallet_address.rb +++ b/lib/coinbase/address/wallet_address.rb @@ -155,6 +155,50 @@ def deploy_token(name:, symbol:, total_supply:) smart_contract end + # Deploys a new ERC721 NFT contract with the given name, symbol, and base URI. + # @param name [String] The name of the NFT contract. + # @param symbol [String] The symbol of the NFT contract. + # @param base_uri [String] The base URI for the NFT contract. + # @return [Coinbase::SmartContract] The deployed NFT contract. + # @raise [AddressCannotSignError] if the Address does not have a private key backing it. + def deploy_nft(name:, symbol:, base_uri:) + ensure_can_sign! + + smart_contract = SmartContract.create_nft_contract( + address_id: id, + wallet_id: wallet_id, + name: name, + symbol: symbol, + base_uri: base_uri + ) + + return smart_contract if Coinbase.use_server_signer? + + smart_contract.sign(@key) + smart_contract.deploy! + smart_contract + end + + # Deploys a new ERC1155 multi-token contract with the given URI. + # @param uri [String] The URI for the token metadata, where {id} will be replaced with the token ID. + # @return [Coinbase::SmartContract] The deployed multi-token contract. + # @raise [AddressCannotSignError] if the Address does not have a private key backing it. + def deploy_multi_token(uri:) + ensure_can_sign! + + smart_contract = SmartContract.create_multi_token_contract( + address_id: id, + wallet_id: wallet_id, + uri: uri + ) + + return smart_contract if Coinbase.use_server_signer? + + smart_contract.sign(@key) + smart_contract.deploy! + smart_contract + end + # Signs the given unsigned payload. # @param unsigned_payload [String] The hex-encoded hashed unsigned payload for the Address to sign. # @return [Coinbase::PayloadSignature] The payload signature diff --git a/lib/coinbase/client.rb b/lib/coinbase/client.rb index ac1227ee..cdf5543a 100644 --- a/lib/coinbase/client.rb +++ b/lib/coinbase/client.rb @@ -60,6 +60,7 @@ Coinbase::Client.autoload :FetchStakingRewardsRequest, 'coinbase/client/models/fetch_staking_rewards_request' Coinbase::Client.autoload :GetStakingContextRequest, 'coinbase/client/models/get_staking_context_request' Coinbase::Client.autoload :HistoricalBalance, 'coinbase/client/models/historical_balance' +Coinbase::Client.autoload :MultiTokenContractOptions, 'coinbase/client/models/multi_token_contract_options' Coinbase::Client.autoload :NFTContractOptions, 'coinbase/client/models/nft_contract_options' Coinbase::Client.autoload :Network, 'coinbase/client/models/network' Coinbase::Client.autoload :NetworkIdentifier, 'coinbase/client/models/network_identifier' @@ -123,6 +124,7 @@ Coinbase::Client.autoload :SmartContractsApi, 'coinbase/client/api/smart_contracts_api' Coinbase::Client.autoload :StakeApi, 'coinbase/client/api/stake_api' Coinbase::Client.autoload :TradesApi, 'coinbase/client/api/trades_api' +Coinbase::Client.autoload :TransactionHistoryApi, 'coinbase/client/api/transaction_history_api' Coinbase::Client.autoload :TransfersApi, 'coinbase/client/api/transfers_api' Coinbase::Client.autoload :UsersApi, 'coinbase/client/api/users_api' Coinbase::Client.autoload :ValidatorsApi, 'coinbase/client/api/validators_api' diff --git a/lib/coinbase/client/api/external_addresses_api.rb b/lib/coinbase/client/api/external_addresses_api.rb index 5a3ea522..888c5104 100644 --- a/lib/coinbase/client/api/external_addresses_api.rb +++ b/lib/coinbase/client/api/external_addresses_api.rb @@ -94,85 +94,6 @@ def get_external_address_balance_with_http_info(network_id, address_id, asset_id return data, status_code, headers end - # List transactions for an address. - # List all transactions that interact with the address. - # @param network_id [String] The ID of the blockchain network - # @param address_id [String] The ID of the address to fetch the transactions for. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - # @option opts [String] :page A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. - # @return [AddressTransactionList] - def list_address_transactions(network_id, address_id, opts = {}) - data, _status_code, _headers = list_address_transactions_with_http_info(network_id, address_id, opts) - data - end - - # List transactions for an address. - # List all transactions that interact with the address. - # @param network_id [String] The ID of the blockchain network - # @param address_id [String] The ID of the address to fetch the transactions for. - # @param [Hash] opts the optional parameters - # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - # @option opts [String] :page A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. - # @return [Array<(AddressTransactionList, Integer, Hash)>] AddressTransactionList data, response status code and response headers - def list_address_transactions_with_http_info(network_id, address_id, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: ExternalAddressesApi.list_address_transactions ...' - end - # verify the required parameter 'network_id' is set - if @api_client.config.client_side_validation && network_id.nil? - fail ArgumentError, "Missing the required parameter 'network_id' when calling ExternalAddressesApi.list_address_transactions" - end - # verify the required parameter 'address_id' is set - if @api_client.config.client_side_validation && address_id.nil? - fail ArgumentError, "Missing the required parameter 'address_id' when calling ExternalAddressesApi.list_address_transactions" - end - if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000 - fail ArgumentError, 'invalid value for "opts[:"page"]" when calling ExternalAddressesApi.list_address_transactions, the character length must be smaller than or equal to 5000.' - end - - # resource path - local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/transactions'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)) - - # query parameters - query_params = opts[:query_params] || {} - query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? - query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] - - # return_type - return_type = opts[:debug_return_type] || 'AddressTransactionList' - - # auth_names - auth_names = opts[:debug_auth_names] || [] - - new_options = opts.merge( - :operation => :"ExternalAddressesApi.list_address_transactions", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: ExternalAddressesApi#list_address_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # Get the balances of an external address # List all of the balances of an external address # @param network_id [String] The ID of the blockchain network diff --git a/lib/coinbase/client/api/transaction_history_api.rb b/lib/coinbase/client/api/transaction_history_api.rb new file mode 100644 index 00000000..296ed051 --- /dev/null +++ b/lib/coinbase/client/api/transaction_history_api.rb @@ -0,0 +1,101 @@ +=begin +#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: https://openapi-generator.tech +Generator version: 7.8.0 + +=end + +require 'cgi' + +module Coinbase::Client + class TransactionHistoryApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + # List transactions for an address. + # List all transactions that interact with the address. + # @param network_id [String] The ID of the blockchain network + # @param address_id [String] The ID of the address to fetch the transactions for. + # @param [Hash] opts the optional parameters + # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. + # @option opts [String] :page A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. + # @return [AddressTransactionList] + def list_address_transactions(network_id, address_id, opts = {}) + data, _status_code, _headers = list_address_transactions_with_http_info(network_id, address_id, opts) + data + end + + # List transactions for an address. + # List all transactions that interact with the address. + # @param network_id [String] The ID of the blockchain network + # @param address_id [String] The ID of the address to fetch the transactions for. + # @param [Hash] opts the optional parameters + # @option opts [Integer] :limit A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. + # @option opts [String] :page A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results. + # @return [Array<(AddressTransactionList, Integer, Hash)>] AddressTransactionList data, response status code and response headers + def list_address_transactions_with_http_info(network_id, address_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: TransactionHistoryApi.list_address_transactions ...' + end + # verify the required parameter 'network_id' is set + if @api_client.config.client_side_validation && network_id.nil? + fail ArgumentError, "Missing the required parameter 'network_id' when calling TransactionHistoryApi.list_address_transactions" + end + # verify the required parameter 'address_id' is set + if @api_client.config.client_side_validation && address_id.nil? + fail ArgumentError, "Missing the required parameter 'address_id' when calling TransactionHistoryApi.list_address_transactions" + end + if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'].to_s.length > 5000 + fail ArgumentError, 'invalid value for "opts[:"page"]" when calling TransactionHistoryApi.list_address_transactions, the character length must be smaller than or equal to 5000.' + end + + # resource path + local_var_path = '/v1/networks/{network_id}/addresses/{address_id}/transactions'.sub('{' + 'network_id' + '}', CGI.escape(network_id.to_s)).sub('{' + 'address_id' + '}', CGI.escape(address_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil? + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'AddressTransactionList' + + # auth_names + auth_names = opts[:debug_auth_names] || [] + + new_options = opts.merge( + :operation => :"TransactionHistoryApi.list_address_transactions", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: TransactionHistoryApi#list_address_transactions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/lib/coinbase/client/api/webhooks_api.rb b/lib/coinbase/client/api/webhooks_api.rb index 102d1381..1bc7e5e8 100644 --- a/lib/coinbase/client/api/webhooks_api.rb +++ b/lib/coinbase/client/api/webhooks_api.rb @@ -19,6 +19,76 @@ class WebhooksApi def initialize(api_client = ApiClient.default) @api_client = api_client end + # Create a new webhook scoped to a wallet + # Create a new webhook scoped to a wallet + # @param wallet_id [String] The ID of the wallet to create the webhook for. + # @param [Hash] opts the optional parameters + # @option opts [CreateWalletWebhookRequest] :create_wallet_webhook_request + # @return [Webhook] + def create_wallet_webhook(wallet_id, opts = {}) + data, _status_code, _headers = create_wallet_webhook_with_http_info(wallet_id, opts) + data + end + + # Create a new webhook scoped to a wallet + # Create a new webhook scoped to a wallet + # @param wallet_id [String] The ID of the wallet to create the webhook for. + # @param [Hash] opts the optional parameters + # @option opts [CreateWalletWebhookRequest] :create_wallet_webhook_request + # @return [Array<(Webhook, Integer, Hash)>] Webhook data, response status code and response headers + def create_wallet_webhook_with_http_info(wallet_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: WebhooksApi.create_wallet_webhook ...' + end + # verify the required parameter 'wallet_id' is set + if @api_client.config.client_side_validation && wallet_id.nil? + fail ArgumentError, "Missing the required parameter 'wallet_id' when calling WebhooksApi.create_wallet_webhook" + end + # resource path + local_var_path = '/v1/wallets/{wallet_id}/webhooks'.sub('{' + 'wallet_id' + '}', CGI.escape(wallet_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept'] + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_wallet_webhook_request']) + + # return_type + return_type = opts[:debug_return_type] || 'Webhook' + + # auth_names + auth_names = opts[:debug_auth_names] || [] + + new_options = opts.merge( + :operation => :"WebhooksApi.create_wallet_webhook", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: WebhooksApi#create_wallet_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Create a new webhook # Create a new webhook # @param [Hash] opts the optional parameters @@ -51,7 +121,7 @@ def create_webhook_with_http_info(opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end # form parameters @@ -251,7 +321,7 @@ def update_webhook_with_http_info(webhook_id, opts = {}) # HTTP header 'Content-Type' content_type = @api_client.select_header_content_type(['application/json']) if !content_type.nil? - header_params['Content-Type'] = content_type + header_params['Content-Type'] = content_type end # form parameters diff --git a/lib/coinbase/client/models/create_wallet_webhook_request.rb b/lib/coinbase/client/models/create_wallet_webhook_request.rb new file mode 100644 index 00000000..72d9dea1 --- /dev/null +++ b/lib/coinbase/client/models/create_wallet_webhook_request.rb @@ -0,0 +1,232 @@ +=begin +#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: https://openapi-generator.tech +Generator version: 7.8.0 + +=end + +require 'date' +require 'time' + +module Coinbase::Client + class CreateWalletWebhookRequest + # The URL to which the notifications will be sent + attr_accessor :notification_uri + + # The custom header to be used for x-webhook-signature header on callbacks, so developers can verify the requests are coming from Coinbase. + attr_accessor :signature_header + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'notification_uri' => :'notification_uri', + :'signature_header' => :'signature_header' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'notification_uri' => :'String', + :'signature_header' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::CreateWalletWebhookRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::CreateWalletWebhookRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'notification_uri') + self.notification_uri = attributes[:'notification_uri'] + else + self.notification_uri = nil + end + + if attributes.key?(:'signature_header') + self.signature_header = attributes[:'signature_header'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' + invalid_properties = Array.new + if @notification_uri.nil? + invalid_properties.push('invalid value for "notification_uri", notification_uri cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + warn '[DEPRECATED] the `valid?` method is obsolete' + return false if @notification_uri.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + notification_uri == o.notification_uri && + signature_header == o.signature_header + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [notification_uri, signature_header].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + transformed_hash = {} + openapi_types.each_pair do |key, type| + if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = nil + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[attribute_map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + end + elsif !attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + end + end + new(transformed_hash) + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Coinbase::Client.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/coinbase/client/models/feature.rb b/lib/coinbase/client/models/feature.rb deleted file mode 100644 index 35568b8c..00000000 --- a/lib/coinbase/client/models/feature.rb +++ /dev/null @@ -1,43 +0,0 @@ -=begin -#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 -Contact: yuga.cohler@coinbase.com -Generated by: https://openapi-generator.tech -Generator version: 7.7.0 - -=end - -require 'date' -require 'time' - -module Coinbase::Client - class Feature - TRANSFER = "transfer".freeze - TRADE = "trade".freeze - FAUCET = "faucet".freeze - SERVER_SIGNER = "server_signer".freeze - UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze - - def self.all_vars - @all_vars ||= [TRANSFER, TRADE, FAUCET, SERVER_SIGNER, UNKNOWN_DEFAULT_OPEN_API].freeze - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def self.build_from_hash(value) - new.build_from_hash(value) - end - - # Builds the enum from string - # @param [String] The enum value in the form of the string - # @return [String] The enum value - def build_from_hash(value) - return value if Feature.all_vars.include?(value) - raise "Invalid ENUM value #{value} for class #Feature" - end - end -end diff --git a/lib/coinbase/client/models/multi_token_contract_options.rb b/lib/coinbase/client/models/multi_token_contract_options.rb new file mode 100644 index 00000000..8f955667 --- /dev/null +++ b/lib/coinbase/client/models/multi_token_contract_options.rb @@ -0,0 +1,223 @@ +=begin +#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: https://openapi-generator.tech +Generator version: 7.8.0 + +=end + +require 'date' +require 'time' + +module Coinbase::Client + # Options for multi-token contract creation + class MultiTokenContractOptions + # The URI for all token metadata + attr_accessor :uri + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'uri' => :'uri' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'uri' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Coinbase::Client::MultiTokenContractOptions` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Coinbase::Client::MultiTokenContractOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'uri') + self.uri = attributes[:'uri'] + else + self.uri = nil + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' + invalid_properties = Array.new + if @uri.nil? + invalid_properties.push('invalid value for "uri", uri cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + warn '[DEPRECATED] the `valid?` method is obsolete' + return false if @uri.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + uri == o.uri + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [uri].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + transformed_hash = {} + openapi_types.each_pair do |key, type| + if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = nil + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[attribute_map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + end + elsif !attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + end + end + new(transformed_hash) + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Coinbase::Client.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/coinbase/client/models/network_identifier.rb b/lib/coinbase/client/models/network_identifier.rb index e7ed620b..3dc097b5 100644 --- a/lib/coinbase/client/models/network_identifier.rb +++ b/lib/coinbase/client/models/network_identifier.rb @@ -21,11 +21,12 @@ class NetworkIdentifier ETHEREUM_MAINNET = "ethereum-mainnet".freeze POLYGON_MAINNET = "polygon-mainnet".freeze SOLANA_DEVNET = "solana-devnet".freeze + SOLANA_MAINNET = "solana-mainnet".freeze ARBITRUM_MAINNET = "arbitrum-mainnet".freeze UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze def self.all_vars - @all_vars ||= [BASE_SEPOLIA, BASE_MAINNET, ETHEREUM_HOLESKY, ETHEREUM_MAINNET, POLYGON_MAINNET, SOLANA_DEVNET, ARBITRUM_MAINNET, UNKNOWN_DEFAULT_OPEN_API].freeze + @all_vars ||= [BASE_SEPOLIA, BASE_MAINNET, ETHEREUM_HOLESKY, ETHEREUM_MAINNET, POLYGON_MAINNET, SOLANA_DEVNET, SOLANA_MAINNET, ARBITRUM_MAINNET, UNKNOWN_DEFAULT_OPEN_API].freeze end # Builds the enum from string diff --git a/lib/coinbase/client/models/nft_contract_options.rb b/lib/coinbase/client/models/nft_contract_options.rb index bd5d5cb2..2f05c3ee 100644 --- a/lib/coinbase/client/models/nft_contract_options.rb +++ b/lib/coinbase/client/models/nft_contract_options.rb @@ -22,11 +22,15 @@ class NFTContractOptions # The symbol of the NFT attr_accessor :symbol + # The base URI for the NFT metadata + attr_accessor :base_uri + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'name' => :'name', - :'symbol' => :'symbol' + :'symbol' => :'symbol', + :'base_uri' => :'base_uri' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'name' => :'String', - :'symbol' => :'String' + :'symbol' => :'String', + :'base_uri' => :'String' } end @@ -75,6 +80,12 @@ def initialize(attributes = {}) else self.symbol = nil end + + if attributes.key?(:'base_uri') + self.base_uri = attributes[:'base_uri'] + else + self.base_uri = nil + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -90,6 +101,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "symbol", symbol cannot be nil.') end + if @base_uri.nil? + invalid_properties.push('invalid value for "base_uri", base_uri cannot be nil.') + end + invalid_properties end @@ -99,6 +114,7 @@ def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @name.nil? return false if @symbol.nil? + return false if @base_uri.nil? true end @@ -108,7 +124,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && name == o.name && - symbol == o.symbol + symbol == o.symbol && + base_uri == o.base_uri end # @see the `==` method @@ -120,7 +137,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [name, symbol].hash + [name, symbol, base_uri].hash end # Builds the object from hash diff --git a/lib/coinbase/client/models/smart_contract_options.rb b/lib/coinbase/client/models/smart_contract_options.rb index 50c601a0..185deeab 100644 --- a/lib/coinbase/client/models/smart_contract_options.rb +++ b/lib/coinbase/client/models/smart_contract_options.rb @@ -20,6 +20,7 @@ class << self # List of class defined in oneOf (OpenAPI v3) def openapi_one_of [ + :'MultiTokenContractOptions', :'NFTContractOptions', :'TokenContractOptions' ] diff --git a/lib/coinbase/client/models/smart_contract_type.rb b/lib/coinbase/client/models/smart_contract_type.rb index 15f9ea30..5b37d235 100644 --- a/lib/coinbase/client/models/smart_contract_type.rb +++ b/lib/coinbase/client/models/smart_contract_type.rb @@ -17,10 +17,11 @@ module Coinbase::Client class SmartContractType ERC20 = "erc20".freeze ERC721 = "erc721".freeze + ERC1155 = "erc1155".freeze UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api".freeze def self.all_vars - @all_vars ||= [ERC20, ERC721, UNKNOWN_DEFAULT_OPEN_API].freeze + @all_vars ||= [ERC20, ERC721, ERC1155, UNKNOWN_DEFAULT_OPEN_API].freeze end # Builds the enum from string diff --git a/lib/coinbase/smart_contract.rb b/lib/coinbase/smart_contract.rb index ba3d02da..0139d44c 100644 --- a/lib/coinbase/smart_contract.rb +++ b/lib/coinbase/smart_contract.rb @@ -72,6 +72,60 @@ def self.create_token_contract( new(contract) end + # Creates a new ERC721 token contract, that can subsequently be deployed to + # the blockchain. + # @param address_id [String] The address ID of deployer + # @param wallet_id [String] The wallet ID of the deployer + # @param name [String] The name of the token + # @param symbol [String] The symbol of the token + # @param base_uri [String] The base URI for the token metadata + # @return [SmartContract] The new ERC721 Token SmartContract object + def self.create_nft_contract( + address_id:, + wallet_id:, + name:, + symbol:, + base_uri: + ) + contract = Coinbase.call_api do + smart_contracts_api.create_smart_contract( + wallet_id, + address_id, + { + type: Coinbase::Client::SmartContractType::ERC721, + options: Coinbase::Client::NFTContractOptions.new( + name: name, + symbol: symbol, + base_uri: base_uri + ).to_body + } + ) + end + + new(contract) + end + + def self.create_multi_token_contract( + address_id:, + wallet_id:, + uri: + ) + contract = Coinbase.call_api do + smart_contracts_api.create_smart_contract( + wallet_id, + address_id, + { + type: Coinbase::Client::SmartContractType::ERC1155, + options: Coinbase::Client::MultiTokenContractOptions.new( + uri: uri + ).to_body + } + ) + end + + new(contract) + end + def self.contract_events_api Coinbase::Client::ContractEventsApi.new(Coinbase.configuration.api_client) end diff --git a/lib/coinbase/version.rb b/lib/coinbase/version.rb index 9872f7b7..634cbe60 100644 --- a/lib/coinbase/version.rb +++ b/lib/coinbase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Coinbase - VERSION = '0.6.0' + VERSION = '0.7.0' end diff --git a/lib/coinbase/wallet.rb b/lib/coinbase/wallet.rb index ae7c071b..c4de9572 100644 --- a/lib/coinbase/wallet.rb +++ b/lib/coinbase/wallet.rb @@ -244,9 +244,23 @@ def initialize(model, seed: nil) # @return [Coinbase::SmartContract] The deployed token contract. # @raise [AddressCannotSignError] if the Address does not have a private key backing it. + # @!method deploy_nft + # Deploys a new ERC721 NFT contract with the given name, symbol, and base URI. + # @param name [String] The name of the NFT contract. + # @param symbol [String] The symbol of the NFT contract. + # @param base_uri [String] The base URI for the NFT contract. + # @return [Coinbase::SmartContract] The deployed NFT contract. + # @raise [AddressCannotSignError] if the Address does not have a private key backing it. + + # @!method deploy_multi_token + # Deploys a new ERC1155 multi-token contract with the given URI. + # @param uri [String] The URI for the token metadata, where {id} will be replaced with the token ID. + # @return [Coinbase::SmartContract] The deployed multi-token contract. + # @raise [AddressCannotSignError] if the Address does not have a private key backing it. + def_delegators :default_address, :transfer, :trade, :faucet, :stake, :unstake, :claim_stake, :staking_balances, :stakeable_balance, :unstakeable_balance, :claimable_balance, :sign_payload, :invoke_contract, - :deploy_token + :deploy_token, :deploy_nft, :deploy_multi_token # Returns the addresses belonging to the Wallet. # @return [Array] The addresses belonging to the Wallet @@ -468,6 +482,22 @@ def load_seed(file_path) "Successfully loaded seed for wallet #{id} from #{file_path}." end + # Creates a new webhook on the current wallet for tracking wallet activity events. + # + # @param notification_uri [String] The URI to which the webhook notifications will be sent. + # + # @return [Coinbase::Client::Webhook] The newly created webhook instance. + def create_webhook(notification_uri:) + Coinbase.call_api do + webhooks_api.create_wallet_webhook( + id, + create_wallet_webhook_request: { + notification_uri: notification_uri + } + ) + end + end + # Returns a String representation of the Wallet. # @return [String] a String representation of the Wallet def to_s @@ -592,6 +622,10 @@ def wallets_api @wallets_api ||= Coinbase::Client::WalletsApi.new(Coinbase.configuration.api_client) end + def webhooks_api + @webhooks_api ||= Coinbase::Client::WebhooksApi.new(Coinbase.configuration.api_client) + end + def set_addresses address_list = Coinbase.call_api do addresses_api.list_addresses(@model.id, { limit: MAX_ADDRESSES }) diff --git a/lib/coinbase/webhook.rb b/lib/coinbase/webhook.rb index 179ae22a..ea293762 100644 --- a/lib/coinbase/webhook.rb +++ b/lib/coinbase/webhook.rb @@ -22,8 +22,6 @@ class << self # @param event_filters [Array] Filters applied to the events that determine # which specific events trigger the webhook. Each filter should be a hash that # can include keys like `contract_address`, `from_address`, or `to_address`. - # @param signature_header [String] The custom header to be used for x-webhook-signature header on callbacks, - # so developers can verify the requests are coming from Coinbase. # @return [Coinbase::Webhook] A new instance of Webhook. # # @example Create a new webhook @@ -31,18 +29,16 @@ class << self # network_id: :ethereum_mainnet, # notification_uri: 'https://example.com/callback', # event_type: 'transaction', - # event_filters: [{ 'contract_address' => '0x...', 'from_address' => '0x...', 'to_address' => '0x...' }], - # signature_header: 'example_header' + # event_filters: [{ 'contract_address' => '0x...', 'from_address' => '0x...', 'to_address' => '0x...' }] # ) - def create(network_id:, notification_uri:, event_type:, event_filters:, signature_header: '') + def create(network_id:, notification_uri:, event_type:, event_filters:) model = Coinbase.call_api do webhooks_api.create_webhook( create_webhook_request: { network_id: Coinbase.normalize_network(network_id), notification_uri: notification_uri, event_type: event_type, - event_filters: event_filters, - signature_header: signature_header + event_filters: event_filters } ) end diff --git a/spec/factories/smart_contract.rb b/spec/factories/smart_contract.rb index cc5f5f43..cdbed341 100644 --- a/spec/factories/smart_contract.rb +++ b/spec/factories/smart_contract.rb @@ -10,6 +10,7 @@ name { 'Test Token' } symbol { 'TT' } total_supply { 1_000 } + base_uri { 'https://test.com' } end deployer_address { key.address.to_s } @@ -48,7 +49,16 @@ options do Coinbase::Client::NFTContractOptions.new( name: name, - symbol: symbol + symbol: symbol, + base_uri: base_uri + ) + end + end + + trait :multi_token do + options do + Coinbase::Client::MultiTokenContractOptions.new( + uri: 'https://example.com/token/{id}.json' ) end end @@ -93,6 +103,10 @@ type { :nft } end + trait :multi_token do + type { :multi_token } + end + TX_TRAITS.each do |status| trait status do status { status } diff --git a/spec/factories/webhook.rb b/spec/factories/webhook.rb index b70c4526..b0f0a7cf 100644 --- a/spec/factories/webhook.rb +++ b/spec/factories/webhook.rb @@ -7,11 +7,22 @@ event_type { 'erc20_transfer' } event_filters { [{ 'contract_address' => '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913' }] } notification_uri { 'https://example.com/notify' } - signature_header { 'example_header' } trait :updated_uri do notification_uri { build(:notification_uri) } end + + trait :wallet_activity do + id { 'wallet_webhook' } + event_type { 'wallet_activity' } + notification_uri { 'https://example.com/notify' } + event_type_filter do + { + 'addresses' => ['0xa3B299855BE3eA231337aC7c40A615e090A3de25'], + 'wallet_id' => 'd91d652b-d020-48d4-bf19-5c5eb5e280c7' + } + end + end end factory :webhook, class: 'Coinbase::Webhook' do diff --git a/spec/support/shared_examples/address_transactions.rb b/spec/support/shared_examples/address_transactions.rb index 8707274e..351c5362 100644 --- a/spec/support/shared_examples/address_transactions.rb +++ b/spec/support/shared_examples/address_transactions.rb @@ -1,10 +1,10 @@ # frozen_string_literal: true shared_examples 'an address that supports transaction queries' do |_operation| - let(:external_addresses_api) { instance_double(Coinbase::Client::ExternalAddressesApi) } + let(:transaction_history_api) { instance_double(Coinbase::Client::TransactionHistoryApi) } before do - allow(Coinbase::Client::ExternalAddressesApi).to receive(:new).and_return(external_addresses_api) + allow(Coinbase::Client::TransactionHistoryApi).to receive(:new).and_return(transaction_history_api) end describe '#transactions' do @@ -18,7 +18,7 @@ end before do - allow(external_addresses_api) + allow(transaction_history_api) .to receive(:list_address_transactions) .with(normalized_network_id, address_id, { limit: 10, page: nil }) .and_return(response) @@ -35,7 +35,7 @@ address.transactions end - let(:api) { external_addresses_api } + let(:api) { transaction_history_api } let(:fetch_params) { ->(page) { [normalized_network_id, address_id, { limit: 10, page: page }] } } let(:resource_list_klass) { Coinbase::Client::AddressTransactionList } let(:item_klass) { Coinbase::Transaction } diff --git a/spec/unit/coinbase/address/wallet_address_spec.rb b/spec/unit/coinbase/address/wallet_address_spec.rb index 3b4f44df..ac5b66d5 100644 --- a/spec/unit/coinbase/address/wallet_address_spec.rb +++ b/spec/unit/coinbase/address/wallet_address_spec.rb @@ -631,4 +631,241 @@ expect(address.trades).to eq(trade_enumerator) end end + + describe '#deploy_token' do + subject(:deploy_token) do + address.deploy_token( + name: token_name, + symbol: token_symbol, + total_supply: token_total_supply + ) + end + + let(:token_name) { 'My Token' } + let(:token_symbol) { 'MTK' } + let(:token_total_supply) { 1_000_000 } + let(:created_smart_contract) { build(:smart_contract, network_id, key: key) } + let(:use_server_signer) { false } + + before do + allow(Coinbase).to receive(:use_server_signer?).and_return(use_server_signer) + end + + context 'when the token contract deployment is successful' do + before do + allow(Coinbase::SmartContract).to receive(:create_token_contract).and_return(created_smart_contract) + + allow(created_smart_contract).to receive(:sign) + allow(created_smart_contract).to receive(:deploy!) + + deploy_token + end + + it 'creates a token contract' do + expect(Coinbase::SmartContract).to have_received(:create_token_contract).with( + address_id: address_id, + wallet_id: wallet_id, + name: token_name, + symbol: token_symbol, + total_supply: token_total_supply + ) + end + + it 'returns the created smart contract' do + expect(deploy_token).to eq(created_smart_contract) + end + + context 'when not using server signer' do + let(:use_server_signer) { false } + + it 'signs the contract with the key' do + expect(created_smart_contract).to have_received(:sign).with(key) + end + + it 'deploys the contract' do + expect(created_smart_contract).to have_received(:deploy!) + end + end + + context 'when using server signer' do + let(:use_server_signer) { true } + + it 'does not sign the contract with the key' do + expect(created_smart_contract).not_to have_received(:sign) + end + + it 'does not deploy the contract' do + expect(created_smart_contract).not_to have_received(:deploy!) + end + end + end + + context 'when the address cannot sign' do + let(:unhydrated_address) { described_class.new(model, nil) } + + it 'raises an AddressCannotSignError' do + expect do + unhydrated_address.deploy_token( + name: token_name, + symbol: token_symbol, + total_supply: token_total_supply + ) + end.to raise_error(Coinbase::AddressCannotSignError) + end + end + end + + describe '#deploy_nft' do + subject(:deploy_nft) do + address.deploy_nft( + name: nft_name, + symbol: nft_symbol, + base_uri: nft_base_uri + ) + end + + let(:nft_name) { 'My NFT Collection' } + let(:nft_symbol) { 'MNFT' } + let(:nft_base_uri) { 'https://example.com/nft/' } + let(:created_smart_contract) { build(:smart_contract, network_id, key: key) } + let(:use_server_signer) { false } + + before do + allow(Coinbase).to receive(:use_server_signer?).and_return(use_server_signer) + end + + context 'when the NFT contract deployment is successful' do + before do + allow(Coinbase::SmartContract).to receive(:create_nft_contract).and_return(created_smart_contract) + + allow(created_smart_contract).to receive(:sign) + allow(created_smart_contract).to receive(:deploy!) + + deploy_nft + end + + it 'creates an NFT contract' do + expect(Coinbase::SmartContract).to have_received(:create_nft_contract).with( + address_id: address_id, + wallet_id: wallet_id, + name: nft_name, + symbol: nft_symbol, + base_uri: nft_base_uri + ) + end + + it 'returns the created smart contract' do + expect(deploy_nft).to eq(created_smart_contract) + end + + context 'when not using server signer' do + let(:use_server_signer) { false } + + it 'signs the contract with the key' do + expect(created_smart_contract).to have_received(:sign).with(key) + end + + it 'deploys the contract' do + expect(created_smart_contract).to have_received(:deploy!) + end + end + + context 'when using server signer' do + let(:use_server_signer) { true } + + it 'does not sign the contract with the key' do + expect(created_smart_contract).not_to have_received(:sign) + end + + it 'does not deploy the contract' do + expect(created_smart_contract).not_to have_received(:deploy!) + end + end + end + + context 'when the address cannot sign' do + let(:unhydrated_address) { described_class.new(model, nil) } + + it 'raises an AddressCannotSignError' do + expect do + unhydrated_address.deploy_nft( + name: nft_name, + symbol: nft_symbol, + base_uri: nft_base_uri + ) + end.to raise_error(Coinbase::AddressCannotSignError) + end + end + end + + describe '#deploy_multi_token' do + subject(:deploy_multi_token) do + address.deploy_multi_token(uri: multi_token_uri) + end + + let(:multi_token_uri) { 'https://example.com/multi-token/{id}' } + let(:created_smart_contract) { build(:smart_contract, network_id, key: key) } + let(:use_server_signer) { false } + + before do + allow(Coinbase).to receive(:use_server_signer?).and_return(use_server_signer) + end + + context 'when the multi-token contract deployment is successful' do + before do + allow(Coinbase::SmartContract).to receive(:create_multi_token_contract).and_return(created_smart_contract) + + allow(created_smart_contract).to receive(:sign) + allow(created_smart_contract).to receive(:deploy!) + + deploy_multi_token + end + + it 'creates a multi-token contract' do + expect(Coinbase::SmartContract).to have_received(:create_multi_token_contract).with( + address_id: address_id, + wallet_id: wallet_id, + uri: multi_token_uri + ) + end + + it 'returns the created smart contract' do + expect(deploy_multi_token).to eq(created_smart_contract) + end + + context 'when not using server signer' do + let(:use_server_signer) { false } + + it 'signs the contract with the key' do + expect(created_smart_contract).to have_received(:sign).with(key) + end + + it 'deploys the contract' do + expect(created_smart_contract).to have_received(:deploy!) + end + end + + context 'when using server signer' do + let(:use_server_signer) { true } + + it 'does not sign the contract with the key' do + expect(created_smart_contract).not_to have_received(:sign) + end + + it 'does not deploy the contract' do + expect(created_smart_contract).not_to have_received(:deploy!) + end + end + end + + context 'when the address cannot sign' do + let(:unhydrated_address) { described_class.new(model, nil) } + + it 'raises an AddressCannotSignError' do + expect do + unhydrated_address.deploy_multi_token(uri: multi_token_uri) + end.to raise_error(Coinbase::AddressCannotSignError) + end + end + end end diff --git a/spec/unit/coinbase/smart_contract_spec.rb b/spec/unit/coinbase/smart_contract_spec.rb index c43db025..3313b815 100644 --- a/spec/unit/coinbase/smart_contract_spec.rb +++ b/spec/unit/coinbase/smart_contract_spec.rb @@ -72,6 +72,132 @@ end end + describe '.create_nft_contract' do + subject(:smart_contract) do + described_class.create_nft_contract( + address_id: address_id, + wallet_id: wallet_id, + name: nft_name, + symbol: nft_symbol, + base_uri: base_uri + ) + end + + let(:nft_name) { 'Test NFT' } + let(:nft_symbol) { 'TNFT' } + let(:base_uri) { 'https://example.com/nft/' } + + let(:create_smart_contract_request) do + { + type: Coinbase::Client::SmartContractType::ERC721, + options: Coinbase::Client::NFTContractOptions.new( + name: nft_name, + symbol: nft_symbol, + base_uri: base_uri + ).to_body + } + end + + let(:nft_contract_model) do + build(:smart_contract_model, network_id, + type: Coinbase::Client::SmartContractType::ERC721, + options: Coinbase::Client::NFTContractOptions.new( + name: nft_name, + symbol: nft_symbol, + base_uri: base_uri + )) + end + + before do + allow(Coinbase::Client::SmartContractsApi).to receive(:new).and_return(smart_contracts_api) + allow(smart_contracts_api) + .to receive(:create_smart_contract) + .with(wallet_id, address_id, create_smart_contract_request) + .and_return(nft_contract_model) + end + + it 'creates a new SmartContract' do + expect(smart_contract).to be_a(described_class) + end + + it 'sets the smart_contract properties' do + expect(smart_contract.id).to eq(nft_contract_model.smart_contract_id) + end + + it 'sets the correct contract type' do + expect(smart_contract.type).to eq(Coinbase::Client::SmartContractType::ERC721) + end + + context 'when checking NFT options' do + it 'sets the correct name' do + expect(smart_contract.options.name).to eq(nft_name) + end + + it 'sets the correct symbol' do + expect(smart_contract.options.symbol).to eq(nft_symbol) + end + + it 'sets the correct base URI' do + expect(smart_contract.options.base_uri).to eq(base_uri) + end + end + end + + describe '.create_multi_token_contract' do + subject(:smart_contract) do + described_class.create_multi_token_contract( + address_id: address_id, + wallet_id: wallet_id, + uri: uri + ) + end + + let(:uri) { 'https://example.com/token/{id}.json' } + + let(:create_smart_contract_request) do + { + type: Coinbase::Client::SmartContractType::ERC1155, + options: Coinbase::Client::MultiTokenContractOptions.new( + uri: uri + ).to_body + } + end + + let(:multi_token_contract_model) do + build(:smart_contract_model, network_id, + type: Coinbase::Client::SmartContractType::ERC1155, + options: Coinbase::Client::MultiTokenContractOptions.new( + uri: uri + )) + end + + before do + allow(Coinbase::Client::SmartContractsApi).to receive(:new).and_return(smart_contracts_api) + allow(smart_contracts_api) + .to receive(:create_smart_contract) + .with(wallet_id, address_id, create_smart_contract_request) + .and_return(multi_token_contract_model) + end + + it 'creates a new SmartContract' do + expect(smart_contract).to be_a(described_class) + end + + it 'sets the smart_contract properties' do + expect(smart_contract.id).to eq(multi_token_contract_model.smart_contract_id) + end + + it 'sets the correct contract type' do + expect(smart_contract.type).to eq(Coinbase::Client::SmartContractType::ERC1155) + end + + context 'when checking Multi-Token options' do + it 'sets the correct URI' do + expect(smart_contract.options.uri).to eq(uri) + end + end + end + describe '.list_events' do subject(:enumerator) do described_class.list_events( diff --git a/spec/unit/coinbase/wallet_spec.rb b/spec/unit/coinbase/wallet_spec.rb index baeaa0e0..be9a271b 100644 --- a/spec/unit/coinbase/wallet_spec.rb +++ b/spec/unit/coinbase/wallet_spec.rb @@ -25,6 +25,7 @@ let(:addresses_api) { instance_double(Coinbase::Client::AddressesApi) } let(:external_addresses_api) { instance_double(Coinbase::Client::ExternalAddressesApi) } let(:transfers_api) { instance_double(Coinbase::Client::TransfersApi) } + let(:webhooks_api) { instance_double(Coinbase::Client::WebhooksApi) } let(:use_server_signer) { false } let(:default_network) { build(:network, :base_sepolia) } let(:network) { default_network } @@ -41,6 +42,7 @@ allow(Coinbase::Client::AddressesApi).to receive(:new).and_return(addresses_api) allow(Coinbase::Client::WalletsApi).to receive(:new).and_return(wallets_api) allow(Coinbase::Client::ExternalAddressesApi).to receive(:new).and_return(external_addresses_api) + allow(Coinbase::Client::WebhooksApi).to receive(:new).and_return(webhooks_api) allow(Coinbase).to receive(:configuration).and_return(configuration) @@ -934,6 +936,80 @@ def match_create_address_request(req, expected_public_key, expected_address_inde end end + describe '#deploy_nft' do + subject(:nft_contract) { wallet.deploy_nft(parameters) } + + let(:wallet) do + described_class.new(model_with_default_address, seed: '') + end + + let(:created_nft_contract) { build(:smart_contract, :nft) } + let(:smart_contract_model) { build(:smart_contract_model, :nft) } + let(:parameters) do + { + name: 'NFT Collection', + symbol: 'NFTC', + base_uri: 'https://example.com/nft/' + } + end + + before do + allow(addresses_api) + .to receive(:list_addresses) + .with(wallet_id, { limit: 20 }) + .and_return(Coinbase::Client::AddressList.new(data: [first_address_model], total_count: 1)) + + allow(wallet.default_address).to receive(:deploy_nft) + .and_return(created_nft_contract) + + nft_contract + end + + it 'returns the deployed NFT contract' do + expect(nft_contract).to eq(created_nft_contract) + end + + it 'calls deploy_nft on the default address' do + expect(wallet.default_address).to have_received(:deploy_nft).with(parameters) + end + end + + describe '#deploy_multi_token' do + subject(:multi_token_contract) { wallet.deploy_multi_token(parameters) } + + let(:wallet) do + described_class.new(model_with_default_address, seed: '') + end + + let(:created_multi_token_contract) { build(:smart_contract, :multi_token) } + let(:smart_contract_model) { build(:smart_contract_model, :multi_token) } + let(:parameters) do + { + uri: 'https://example.com/token/{id}.json' + } + end + + before do + allow(addresses_api) + .to receive(:list_addresses) + .with(wallet_id, { limit: 20 }) + .and_return(Coinbase::Client::AddressList.new(data: [first_address_model], total_count: 1)) + + allow(wallet.default_address).to receive(:deploy_multi_token) + .and_return(created_multi_token_contract) + + multi_token_contract + end + + it 'returns the deployed multi-token contract' do + expect(multi_token_contract).to eq(created_multi_token_contract) + end + + it 'calls deploy_multi_token on the default address' do + expect(wallet.default_address).to have_received(:deploy_multi_token).with(parameters) + end + end + describe '#invoke_contract' do subject(:contract_invocation) { wallet.invoke_contract(parameters) } @@ -1423,4 +1499,44 @@ def match_create_address_request(req, expected_public_key, expected_address_inde end end end + + describe '#create_webhook' do + subject(:wallet_webhook) { wallet.create_webhook(notification_uri: notification_uri) } + + let(:webhook_model) { build(:webhook_model, :wallet_activity) } + let(:wallet) { described_class.new(model, seed: seed) } + let(:network_id) { :base_sepolia } + let(:notification_uri) { 'https://example.com/notify' } + let(:event_type) { 'wallet_activity' } + let(:event_type_filter) do + { + 'addresses' => ['0xa3B299855BE3eA231337aC7c40A615e090A3de25'], + 'wallet_id' => 'd91d652b-d020-48d4-bf19-5c5eb5e280c7' + } + end + + before do + allow(webhooks_api).to receive(:create_wallet_webhook).and_return(webhook_model) + end + + it 'creates a new webhook with wallet activity event type' do + expect(wallet_webhook.event_type).to eq(event_type) + end + + it 'has the correct id' do + expect(wallet_webhook.id).to eq('wallet_webhook') + end + + it 'has the correct network_id' do + expect(wallet_webhook.network_id).to eq(network_id) + end + + it 'has the correct notification_uri' do + expect(wallet_webhook.notification_uri).to eq(notification_uri) + end + + it 'has the correct event_type_filter' do + expect(wallet_webhook.event_type_filter).to eq(event_type_filter) + end + end end