cdp.openapi_client.models package¶
Submodules¶
cdp.openapi_client.models.create_evm_account_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.create_evm_account_request.CreateEvmAccountRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of CreateEvmAccountRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of CreateEvmAccountRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod name_validate_regular_expression(value)¶
Validates the regular expression
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.create_evm_smart_account_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.create_evm_smart_account_request.CreateEvmSmartAccountRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of CreateEvmSmartAccountRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of CreateEvmSmartAccountRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- owners: List[Annotated[str, Field(strict=True)]]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.create_solana_account_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.create_solana_account_request.CreateSolanaAccountRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of CreateSolanaAccountRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of CreateSolanaAccountRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod name_validate_regular_expression(value)¶
Validates the regular expression
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.error module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.error.Error(**data)¶
Bases:
BaseModel
An error response including the code for the type of error and a human-readable message describing the error.
- correlation_id: Optional[StrictStr]¶
- error_link: Optional[StrictStr]¶
- error_message: StrictStr¶
- error_type: ErrorType¶
- classmethod from_dict(obj)¶
Create an instance of Error from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of Error from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.error_type module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.error_type.ErrorType(value)¶
Bases:
str
,Enum
The code that indicates the type of error that occurred. These error codes can be used to determine how to handle the error.
- ALREADY_EXISTS = 'already_exists'¶
- FAUCET_LIMIT_EXCEEDED = 'faucet_limit_exceeded'¶
- FORBIDDEN = 'forbidden'¶
- IDEMPOTENCY_ERROR = 'idempotency_error'¶
- INTERNAL_SERVER_ERROR = 'internal_server_error'¶
- INVALID_REQUEST = 'invalid_request'¶
- INVALID_SIGNATURE = 'invalid_signature'¶
- MALFORMED_TRANSACTION = 'malformed_transaction'¶
- NOT_FOUND = 'not_found'¶
- POLICY_VIOLATION = 'policy_violation'¶
- RATE_LIMIT_EXCEEDED = 'rate_limit_exceeded'¶
- REQUEST_CANCELED = 'request_canceled'¶
- TIMED_OUT = 'timed_out'¶
- UNAUTHORIZED = 'unauthorized'¶
- classmethod from_json(json_str)¶
Create an instance of ErrorType from a JSON string
- Return type:
Self
cdp.openapi_client.models.evm_account module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.evm_account.EvmAccount(**data)¶
Bases:
BaseModel
- address: Annotated[str, Field(strict=True)]¶
- classmethod address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of EvmAccount from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of EvmAccount from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod name_validate_regular_expression(value)¶
Validates the regular expression
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.evm_call module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.evm_call.EvmCall(**data)¶
Bases:
BaseModel
- data: Annotated[str, Field(strict=True)]¶
- classmethod data_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of EvmCall from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of EvmCall from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to: Annotated[str, Field(strict=True)]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- classmethod to_validate_regular_expression(value)¶
Validates the regular expression
- value: StrictStr¶
cdp.openapi_client.models.evm_smart_account module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.evm_smart_account.EvmSmartAccount(**data)¶
Bases:
BaseModel
- address: Annotated[str, Field(strict=True)]¶
- classmethod address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of EvmSmartAccount from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of EvmSmartAccount from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod name_validate_regular_expression(value)¶
Validates the regular expression
- owners: List[Annotated[str, Field(strict=True)]]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.evm_user_operation module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.evm_user_operation.EvmUserOperation(**data)¶
Bases:
BaseModel
- calls: List[EvmCall]¶
- classmethod from_dict(obj)¶
Create an instance of EvmUserOperation from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of EvmUserOperation from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- network: StrictStr¶
- classmethod network_validate_enum(value)¶
Validates the enum
- status: StrictStr¶
- classmethod status_validate_enum(value)¶
Validates the enum
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction_hash: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod transaction_hash_validate_regular_expression(value)¶
Validates the regular expression
- user_op_hash: Annotated[str, Field(strict=True)]¶
- classmethod user_op_hash_validate_regular_expression(value)¶
Validates the regular expression
cdp.openapi_client.models.list_evm_accounts200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_evm_accounts200_response.ListEvmAccounts200Response(**data)¶
Bases:
BaseModel
- accounts: List[EvmAccount]¶
- classmethod from_dict(obj)¶
Create an instance of ListEvmAccounts200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of ListEvmAccounts200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- next_page_token: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.list_evm_smart_accounts200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_evm_smart_accounts200_response.ListEvmSmartAccounts200Response(**data)¶
Bases:
BaseModel
- accounts: List[EvmSmartAccount]¶
- classmethod from_dict(obj)¶
Create an instance of ListEvmSmartAccounts200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of ListEvmSmartAccounts200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- next_page_token: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.list_evm_token_balances200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_evm_token_balances200_response.ListEvmTokenBalances200Response(**data)¶
Bases:
BaseModel
- balances: List[TokenBalance]¶
- classmethod from_dict(obj)¶
Create an instance of ListEvmTokenBalances200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of ListEvmTokenBalances200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- next_page_token: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.list_evm_token_balances_network module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_evm_token_balances_network.ListEvmTokenBalancesNetwork(value)¶
Bases:
str
,Enum
The name of the supported EVM networks in human-readable format.
- BASE = 'base'¶
- BASE_MINUS_SEPOLIA = 'base-sepolia'¶
- classmethod from_json(json_str)¶
Create an instance of ListEvmTokenBalancesNetwork from a JSON string
- Return type:
Self
cdp.openapi_client.models.list_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_response.ListResponse(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of ListResponse from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of ListResponse from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- next_page_token: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.list_solana_accounts200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.list_solana_accounts200_response.ListSolanaAccounts200Response(**data)¶
Bases:
BaseModel
- accounts: List[SolanaAccount]¶
- classmethod from_dict(obj)¶
Create an instance of ListSolanaAccounts200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of ListSolanaAccounts200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- next_page_token: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.prepare_user_operation_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.prepare_user_operation_request.PrepareUserOperationRequest(**data)¶
Bases:
BaseModel
- calls: List[EvmCall]¶
- classmethod from_dict(obj)¶
Create an instance of PrepareUserOperationRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of PrepareUserOperationRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- network: StrictStr¶
- classmethod network_validate_enum(value)¶
Validates the enum
- paymaster_url: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.request_evm_faucet200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.request_evm_faucet200_response.RequestEvmFaucet200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of RequestEvmFaucet200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of RequestEvmFaucet200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction_hash: StrictStr¶
cdp.openapi_client.models.request_evm_faucet_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.request_evm_faucet_request.RequestEvmFaucetRequest(**data)¶
Bases:
BaseModel
- address: Annotated[str, Field(strict=True)]¶
- classmethod address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of RequestEvmFaucetRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of RequestEvmFaucetRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- network: StrictStr¶
- classmethod network_validate_enum(value)¶
Validates the enum
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- token: StrictStr¶
- classmethod token_validate_enum(value)¶
Validates the enum
cdp.openapi_client.models.request_solana_faucet200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.request_solana_faucet200_response.RequestSolanaFaucet200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of RequestSolanaFaucet200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of RequestSolanaFaucet200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction_signature: StrictStr¶
cdp.openapi_client.models.request_solana_faucet_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.request_solana_faucet_request.RequestSolanaFaucetRequest(**data)¶
Bases:
BaseModel
- address: Annotated[str, Field(strict=True)]¶
- classmethod address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of RequestSolanaFaucetRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of RequestSolanaFaucetRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- token: StrictStr¶
- classmethod token_validate_enum(value)¶
Validates the enum
cdp.openapi_client.models.send_evm_transaction200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.send_evm_transaction200_response.SendEvmTransaction200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SendEvmTransaction200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SendEvmTransaction200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction_hash: StrictStr¶
cdp.openapi_client.models.send_evm_transaction_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.send_evm_transaction_request.SendEvmTransactionRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SendEvmTransactionRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SendEvmTransactionRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- network: StrictStr¶
- classmethod network_validate_enum(value)¶
Validates the enum
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction: StrictStr¶
cdp.openapi_client.models.send_user_operation_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.send_user_operation_request.SendUserOperationRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SendUserOperationRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SendUserOperationRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signature: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_hash200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_hash200_response.SignEvmHash200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmHash200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmHash200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signature: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_hash_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_hash_request.SignEvmHashRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmHashRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmHashRequest from a JSON string
- Return type:
Optional
[Self
]
- hash: StrictStr¶
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_message200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_message200_response.SignEvmMessage200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmMessage200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmMessage200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signature: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_message_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_message_request.SignEvmMessageRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmMessageRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmMessageRequest from a JSON string
- Return type:
Optional
[Self
]
- message: StrictStr¶
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_transaction200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_transaction200_response.SignEvmTransaction200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmTransaction200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmTransaction200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signed_transaction: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_evm_transaction_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_evm_transaction_request.SignEvmTransactionRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignEvmTransactionRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignEvmTransactionRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction: StrictStr¶
cdp.openapi_client.models.sign_solana_message200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_solana_message200_response.SignSolanaMessage200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignSolanaMessage200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignSolanaMessage200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signature: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_solana_message_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_solana_message_request.SignSolanaMessageRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignSolanaMessageRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignSolanaMessageRequest from a JSON string
- Return type:
Optional
[Self
]
- message: StrictStr¶
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_solana_transaction200_response module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_solana_transaction200_response.SignSolanaTransaction200Response(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignSolanaTransaction200Response from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignSolanaTransaction200Response from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- signed_transaction: StrictStr¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.sign_solana_transaction_request module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.sign_solana_transaction_request.SignSolanaTransactionRequest(**data)¶
Bases:
BaseModel
- classmethod from_dict(obj)¶
Create an instance of SignSolanaTransactionRequest from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SignSolanaTransactionRequest from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- transaction: StrictStr¶
cdp.openapi_client.models.solana_account module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.solana_account.SolanaAccount(**data)¶
Bases:
BaseModel
- address: Annotated[str, Field(strict=True)]¶
- classmethod address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of SolanaAccount from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of SolanaAccount from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[Annotated[str, Field(strict=True)]]¶
- classmethod name_validate_regular_expression(value)¶
Validates the regular expression
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.token module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.token.Token(**data)¶
Bases:
BaseModel
General information about a token. Includes the type, the network, and other identifying information.
- contract_address: Annotated[str, Field(strict=True)]¶
- classmethod contract_address_validate_regular_expression(value)¶
Validates the regular expression
- classmethod from_dict(obj)¶
Create an instance of Token from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of Token from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Optional[StrictStr]¶
- network: ListEvmTokenBalancesNetwork¶
- symbol: Optional[StrictStr]¶
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.token_amount module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.token_amount.TokenAmount(**data)¶
Bases:
BaseModel
Amount of a given token.
- amount: Annotated[str, Field(strict=True)]¶
- classmethod amount_validate_regular_expression(value)¶
Validates the regular expression
- decimals: StrictInt¶
- classmethod from_dict(obj)¶
Create an instance of TokenAmount from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of TokenAmount from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
cdp.openapi_client.models.token_balance module¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
- class cdp.openapi_client.models.token_balance.TokenBalance(**data)¶
Bases:
BaseModel
- amount: TokenAmount¶
- classmethod from_dict(obj)¶
Create an instance of TokenBalance from a dict
- Return type:
Optional
[Self
]
- classmethod from_json(json_str)¶
Create an instance of TokenBalance from a JSON string
- Return type:
Optional
[Self
]
- model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to_dict()¶
Return the dictionary representation of the model using alias.
This has the following differences from calling pydantic’s self.model_dump(by_alias=True): :rtype:
Dict
[str
,Any
]None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.
- to_json()¶
Returns the JSON representation of the model using alias
- Return type:
str
- to_str()¶
Returns the string representation of the model using alias
- Return type:
str
- token: Token¶
Module contents¶
Coinbase Developer Platform APIs
The Coinbase Developer Platform APIs - leading the world’s transition onchain.
The version of the OpenAPI document: 2.0.0 Contact: cdp@coinbase.com Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.