+cdp.client.models package
+
+
+cdp.client.models.address module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.address.Address(**data)
+Bases: BaseModel
+
+-
+address_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Address from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Address from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+index: StrictInt
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address derived on the server-side.', metadata=[Strict(strict=True)]), 'index': FieldInfo(annotation=int, required=True, description='The index of the address in the wallet.', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'public_key': FieldInfo(annotation=str, required=True, description='The public key from which the address is derived.', metadata=[Strict(strict=True)]), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that owns the address', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+public_key: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.address_balance_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.address_balance_list.AddressBalanceList(**data)
+Bases: BaseModel
+
+-
+data: list[Balance]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of AddressBalanceList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of AddressBalanceList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Balance], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of balances for the wallet.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.address_historical_balance_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.address_historical_balance_list.AddressHistoricalBalanceList(**data)
+Bases: BaseModel
+
+-
+data: list[HistoricalBalance]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of AddressHistoricalBalanceList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of AddressHistoricalBalanceList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[HistoricalBalance], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.address_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.address_list.AddressList(**data)
+Bases: BaseModel
+
+-
+data: list[Address]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of AddressList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of AddressList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Address], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of addresses for the wallet.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.address_transaction_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.address_transaction_list.AddressTransactionList(**data)
+Bases: BaseModel
+
+-
+data: list[Transaction]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of AddressTransactionList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of AddressTransactionList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Transaction], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.asset module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.asset.Asset(**data)
+Bases: BaseModel
+An asset onchain scoped to a particular network, e.g. ETH on base-sepolia, or the USDC ERC20 Token on ethereum-mainnet.
+
+-
+asset_id: StrictStr
+
+
+
+-
+contract_address: StrictStr | None
+
+
+
+-
+decimals: StrictInt | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Asset from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Asset from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'asset_id': FieldInfo(annotation=str, required=True, description='The ID for the asset on the network', metadata=[Strict(strict=True)]), 'contract_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The optional contract address for the asset. This will be specified for smart contract-based assets, for example ERC20s.'), 'decimals': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The number of decimals the asset supports. This is used to convert from atomic units to base units.'), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: 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
]
+
+
+
+
+-
+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.client.models.balance module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.balance.Balance(**data)
+Bases: BaseModel
+The balance of an asset onchain
+
+-
+amount: StrictStr
+
+
+
+-
+asset: Asset
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Balance from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Balance from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'amount': FieldInfo(annotation=str, required=True, description='The amount in the atomic units of the asset', metadata=[Strict(strict=True)]), 'asset': FieldInfo(annotation=Asset, required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.broadcast_contract_invocation_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.broadcast_contract_invocation_request.BroadcastContractInvocationRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of BroadcastContractInvocationRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of BroadcastContractInvocationRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'signed_payload': FieldInfo(annotation=str, required=True, description='The hex-encoded signed payload of the contract invocation', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signed_payload: 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
]
+
+
+
+
+-
+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.client.models.broadcast_staking_operation_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.broadcast_staking_operation_request.BroadcastStakingOperationRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of BroadcastStakingOperationRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of BroadcastStakingOperationRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'signed_payload': FieldInfo(annotation=str, required=True, description='The hex-encoded signed payload of the staking operation.', metadata=[Strict(strict=True)]), 'transaction_index': FieldInfo(annotation=int, required=True, description='The index in the transaction array of the staking operation.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signed_payload: 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
]
+
+
+
+
+-
+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_index: StrictInt
+
+
+
+
+
+
+cdp.client.models.broadcast_trade_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.broadcast_trade_request.BroadcastTradeRequest(**data)
+Bases: BaseModel
+
+-
+approve_transaction_signed_payload: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of BroadcastTradeRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of BroadcastTradeRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'approve_transaction_signed_payload': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The hex-encoded signed payload of the approval transaction'), 'signed_payload': FieldInfo(annotation=str, required=True, description='The hex-encoded signed payload of the trade', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signed_payload: 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
]
+
+
+
+
+-
+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.client.models.broadcast_transfer_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.broadcast_transfer_request.BroadcastTransferRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of BroadcastTransferRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of BroadcastTransferRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'signed_payload': FieldInfo(annotation=str, required=True, description='The hex-encoded signed payload of the transfer', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signed_payload: 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
]
+
+
+
+
+-
+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.client.models.build_staking_operation_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.build_staking_operation_request.BuildStakingOperationRequest(**data)
+Bases: BaseModel
+
+-
+action: StrictStr
+
+
+
+-
+address_id: StrictStr
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of BuildStakingOperationRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of BuildStakingOperationRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'action': FieldInfo(annotation=str, required=True, description='The type of staking operation', metadata=[Strict(strict=True)]), 'address_id': FieldInfo(annotation=str, required=True, description='The onchain address from which the staking transaction originates and is responsible for signing the transaction.', metadata=[Strict(strict=True)]), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset being staked', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'options': FieldInfo(annotation=dict[str, Annotated[str, Strict(strict=True)]], required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+options: dict[str, 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
]
+
+
+
+
+-
+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.client.models.contract_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.contract_event.ContractEvent(**data)
+Bases: BaseModel
+Represents a single decoded event emitted by a smart contract
+
+-
+block_height: StrictInt
+
+
+
+-
+block_time: datetime
+
+
+
+-
+contract_address: StrictStr
+
+
+
+-
+contract_name: StrictStr
+
+
+
+-
+data: StrictStr
+
+
+
+-
+event_index: StrictInt
+
+
+
+-
+event_name: StrictStr
+
+
+
+-
+four_bytes: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ContractEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ContractEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_height': FieldInfo(annotation=int, required=True, description='The block number in which the event was emitted', metadata=[Strict(strict=True)]), 'block_time': FieldInfo(annotation=datetime, required=True, description='The timestamp of the block in which the event was emitted'), 'contract_address': FieldInfo(annotation=str, required=True, description='The EVM address of the smart contract', metadata=[Strict(strict=True)]), 'contract_name': FieldInfo(annotation=str, required=True, description='The name of the specific contract within the project', metadata=[Strict(strict=True)]), 'data': FieldInfo(annotation=str, required=True, description='The event data in a stringified format', metadata=[Strict(strict=True)]), 'event_index': FieldInfo(annotation=int, required=True, description='The index of the event within the transaction', metadata=[Strict(strict=True)]), 'event_name': FieldInfo(annotation=str, required=True, description='The name of the event emitted by the contract', metadata=[Strict(strict=True)]), 'four_bytes': FieldInfo(annotation=str, required=True, description='The first four bytes of the Keccak hash of the event signature', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The name of the blockchain network', metadata=[Strict(strict=True)]), 'protocol_name': FieldInfo(annotation=str, required=True, description='The name of the blockchain project or protocol', metadata=[Strict(strict=True)]), 'sig': FieldInfo(annotation=str, required=True, description='The signature of the event, including parameter types', metadata=[Strict(strict=True)]), 'tx_hash': FieldInfo(annotation=str, required=True, description='The transaction hash in which the event was emitted', metadata=[Strict(strict=True)]), 'tx_index': FieldInfo(annotation=int, required=True, description='The index of the transaction within the block', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+protocol_name: StrictStr
+
+
+
+-
+sig: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+tx_hash: StrictStr
+
+
+
+-
+tx_index: StrictInt
+
+
+
+
+
+
+cdp.client.models.contract_event_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.contract_event_list.ContractEventList(**data)
+Bases: BaseModel
+A list of contract events with pagination information
+
+-
+data: list[ContractEvent]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ContractEventList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ContractEventList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[ContractEvent], required=True, description='An array of ContractEvent objects'), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.contract_invocation module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.contract_invocation.ContractInvocation(**data)
+Bases: BaseModel
+A contract invocation onchain.
+
+-
+abi: StrictStr | None
+
+
+
+-
+address_id: StrictStr
+
+
+
+-
+amount: StrictStr
+
+
+
+-
+args: StrictStr
+
+
+
+-
+contract_address: StrictStr
+
+
+
+-
+contract_invocation_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ContractInvocation from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ContractInvocation from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+method: StrictStr
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'abi': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The JSON-encoded ABI of the contract.'), 'address_id': FieldInfo(annotation=str, required=True, description='The onchain address of the address invoking the contract.', metadata=[Strict(strict=True)]), 'amount': FieldInfo(annotation=str, required=True, description='The amount to send to the contract for a payable method', metadata=[Strict(strict=True)]), 'args': FieldInfo(annotation=str, required=True, description='The JSON-encoded arguments to pass to the contract method. The keys should be the argument names and the values should be the argument values.', metadata=[Strict(strict=True)]), 'contract_address': FieldInfo(annotation=str, required=True, description='The onchain address of the contract.', metadata=[Strict(strict=True)]), 'contract_invocation_id': FieldInfo(annotation=str, required=True, description='The ID of the contract invocation.', metadata=[Strict(strict=True)]), 'method': FieldInfo(annotation=str, required=True, description='The method to be invoked on the contract.', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network.', metadata=[Strict(strict=True)]), 'transaction': FieldInfo(annotation=Transaction, required=True), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that owns the address.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: 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
]
+
+
+
+
+-
+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: Transaction
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.contract_invocation_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.contract_invocation_list.ContractInvocationList(**data)
+Bases: BaseModel
+
+-
+data: list[ContractInvocation]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ContractInvocationList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ContractInvocationList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[ContractInvocation], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of contract invocations for the address in the wallet.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.create_address_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_address_request.CreateAddressRequest(**data)
+Bases: BaseModel
+
+-
+address_index: StrictInt | None
+
+
+
+-
+attestation: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateAddressRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateAddressRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The index of the address within the wallet.'), 'attestation': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='An attestation signed by the private key that is associated with the wallet. The attestation will be a hex-encoded signature of a json payload with fields `wallet_id` and `public_key`, signed by the private key associated with the public_key set in the request.'), 'public_key': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The public key from which the address will be derived.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+public_key: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.create_contract_invocation_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_contract_invocation_request.CreateContractInvocationRequest(**data)
+Bases: BaseModel
+
+-
+abi: StrictStr | None
+
+
+
+-
+amount: StrictStr | None
+
+
+
+-
+args: StrictStr
+
+
+
+-
+contract_address: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateContractInvocationRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateContractInvocationRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+method: StrictStr
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'abi': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The JSON-encoded ABI of the contract.'), 'amount': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The amount in atomic units of the native asset to send to the contract for a payable method'), 'args': FieldInfo(annotation=str, required=True, description='The JSON-encoded arguments to pass to the contract method. The keys should be the argument names and the values should be the argument values.', metadata=[Strict(strict=True)]), 'contract_address': FieldInfo(annotation=str, required=True, description='The address of the contract to invoke.', metadata=[Strict(strict=True)]), 'method': FieldInfo(annotation=str, required=True, description='The method to invoke on the contract.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.create_payload_signature_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_payload_signature_request.CreatePayloadSignatureRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of CreatePayloadSignatureRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreatePayloadSignatureRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'signature': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The signature of the payload.'), 'unsigned_payload': FieldInfo(annotation=str, required=True, description='The unsigned payload.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signature: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+unsigned_payload: StrictStr
+
+
+
+
+
+
+cdp.client.models.create_server_signer_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_server_signer_request.CreateServerSignerRequest(**data)
+Bases: BaseModel
+
+-
+enrollment_data: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateServerSignerRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateServerSignerRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+is_mpc: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'enrollment_data': FieldInfo(annotation=str, required=True, description='The enrollment data of the server signer. This will be the base64 encoded server-signer-id for the 1 of 1 server signer.', metadata=[Strict(strict=True)]), 'is_mpc': FieldInfo(annotation=bool, required=True, description='Whether the Server-Signer uses MPC.', metadata=[Strict(strict=True)]), 'server_signer_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The ID of the server signer for the 1 of 1 server signer.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+server_signer_id: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.create_smart_contract_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_smart_contract_request.CreateSmartContractRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateSmartContractRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateSmartContractRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'options': FieldInfo(annotation=SmartContractOptions, required=True), 'type': FieldInfo(annotation=SmartContractType, required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+options: SmartContractOptions
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+type: SmartContractType
+
+
+
+
+
+
+cdp.client.models.create_staking_operation_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_staking_operation_request.CreateStakingOperationRequest(**data)
+Bases: BaseModel
+
+-
+action: StrictStr
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateStakingOperationRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateStakingOperationRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'action': FieldInfo(annotation=str, required=True, description='The type of staking operation.', metadata=[Strict(strict=True)]), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset being staked.', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network.', metadata=[Strict(strict=True)]), 'options': FieldInfo(annotation=dict[str, Annotated[str, Strict(strict=True)]], required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+options: dict[str, 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
]
+
+
+
+
+-
+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.client.models.create_trade_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_trade_request.CreateTradeRequest(**data)
+Bases: BaseModel
+
+-
+amount: StrictStr
+
+
+
+-
+from_asset_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateTradeRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateTradeRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'amount': FieldInfo(annotation=str, required=True, description='The amount to trade', metadata=[Strict(strict=True)]), 'from_asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset to trade', metadata=[Strict(strict=True)]), 'to_asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset to receive from the trade', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+to_asset_id: 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
]
+
+
+
+
+-
+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.client.models.create_transfer_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_transfer_request.CreateTransferRequest(**data)
+Bases: BaseModel
+
+-
+amount: StrictStr
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+destination: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateTransferRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateTransferRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+gasless: StrictBool | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'amount': FieldInfo(annotation=str, required=True, description='The amount to transfer', metadata=[Strict(strict=True)]), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset to transfer', metadata=[Strict(strict=True)]), 'destination': FieldInfo(annotation=str, required=True, description='The destination address, which can be a 0x address, Basename, or ENS name', metadata=[Strict(strict=True)]), 'gasless': FieldInfo(annotation=Union[Annotated[bool, Strict(strict=True)], NoneType], required=False, default=None, description='Whether the transfer uses sponsored gas'), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: 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
]
+
+
+
+
+-
+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.client.models.create_wallet_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_wallet_request.CreateWalletRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateWalletRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateWalletRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'wallet': FieldInfo(annotation=CreateWalletRequestWallet, required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallet: CreateWalletRequestWallet
+
+
+
+
+
+
+cdp.client.models.create_wallet_request_wallet module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_wallet_request_wallet.CreateWalletRequestWallet(**data)
+Bases: BaseModel
+Parameters for configuring a wallet
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateWalletRequestWallet from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateWalletRequestWallet from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'use_server_signer': FieldInfo(annotation=Union[Annotated[bool, Strict(strict=True)], NoneType], required=False, default=None, description="Whether the wallet should use the project's server signer or if the addresses in the wallets will belong to a private key the developer manages. Defaults to false.")}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+use_server_signer: StrictBool | None
+
+
+
+
+
+
+cdp.client.models.create_webhook_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.create_webhook_request.CreateWebhookRequest(**data)
+Bases: BaseModel
+
+-
+event_filters: list[WebhookEventFilter] | None
+
+
+
+-
+event_type: WebhookEventType
+
+
+
+-
+event_type_filter: WebhookEventTypeFilter | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of CreateWebhookRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of CreateWebhookRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'event_filters': FieldInfo(annotation=Union[list[WebhookEventFilter], NoneType], required=False, default=None, description='Webhook will monitor all events that matches any one of the event filters.'), 'event_type': FieldInfo(annotation=WebhookEventType, required=True), 'event_type_filter': FieldInfo(annotation=Union[WebhookEventTypeFilter, NoneType], required=False, default=None), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'notification_uri': FieldInfo(annotation=str, required=True, description='The URL to which the notifications will be sent', metadata=[Strict(strict=True)]), 'signature_header': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The custom header to be used for x-webhook-signature header on callbacks, so developers can verify the requests are coming from Coinbase.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+notification_uri: 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
]
+
+
+
+
+-
+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.client.models.deploy_smart_contract_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.deploy_smart_contract_request.DeploySmartContractRequest(**data)
+Bases: BaseModel
+
+-
+classmethod from_dict(obj)
+Create an instance of DeploySmartContractRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of DeploySmartContractRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'signed_payload': FieldInfo(annotation=str, required=True, description='The hex-encoded signed payload of the contract deployment transaction.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+signed_payload: 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
]
+
+
+
+
+-
+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.client.models.erc20_transfer_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.erc20_transfer_event.ERC20TransferEvent(**data)
+Bases: BaseModel
+Represents an event triggered by an ERC-20 token transfer on the blockchain. Contains information about the transaction, block, and involved addresses.
+
+-
+block_hash: StrictStr | None
+
+
+
+-
+block_number: StrictInt | None
+
+
+
+-
+block_time: datetime | None
+
+
+
+-
+contract_address: StrictStr | None
+
+
+
+-
+event_type: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ERC20TransferEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ERC20TransferEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+log_index: StrictInt | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='blockHash', alias_priority=2, description='Hash of the block containing the transaction.'), 'block_number': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='blockNumber', alias_priority=2, description='Number of the block containing the transaction.'), 'block_time': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, alias='blockTime', alias_priority=2, description='Timestamp when the block was mined.'), 'contract_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='contractAddress', alias_priority=2, description='Address of the ERC-20 token contract.'), 'event_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='eventType', alias_priority=2, description='Type of event, in this case, an ERC-20 token transfer.'), 'log_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='logIndex', alias_priority=2, description='Position of the event log within the transaction.'), 'network': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Blockchain network where the event occurred.'), 'to': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Address of the recipient in the token transfer.'), 'transaction_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='transactionHash', alias_priority=2, description='Hash of the transaction that triggered the event.'), 'transaction_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='transactionIndex', alias_priority=2, description='Position of the transaction within the block.'), 'value': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Amount of tokens transferred, typically in the smallest unit (e.g., wei for Ethereum).'), 'var_from': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='from', alias_priority=2, description='Address of the sender in the token transfer.'), 'webhook_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='webhookId', alias_priority=2, description='Unique identifier for the webhook that triggered this event.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network: StrictStr | None
+
+
+
+-
+to: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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 | None
+
+
+
+-
+transaction_index: StrictInt | None
+
+
+
+-
+value: StrictStr | None
+
+
+
+-
+var_from: StrictStr | None
+
+
+
+-
+webhook_id: StrictStr | None
+
+
+
+
+
+
+cdp.client.models.erc721_transfer_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.erc721_transfer_event.ERC721TransferEvent(**data)
+Bases: BaseModel
+Represents an event triggered by an ERC-721 token transfer on the blockchain. Contains information about the transaction, block, and involved addresses.
+
+-
+block_hash: StrictStr | None
+
+
+
+-
+block_number: StrictInt | None
+
+
+
+-
+block_time: datetime | None
+
+
+
+-
+contract_address: StrictStr | None
+
+
+
+-
+event_type: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ERC721TransferEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ERC721TransferEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+log_index: StrictInt | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='blockHash', alias_priority=2, description='Hash of the block containing the transaction.'), 'block_number': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='blockNumber', alias_priority=2, description='Number of the block containing the transaction.'), 'block_time': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, alias='blockTime', alias_priority=2, description='Timestamp when the block was mined.'), 'contract_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='contractAddress', alias_priority=2, description='Address of the ERC-721 token contract.'), 'event_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='eventType', alias_priority=2, description='Type of event, in this case, an ERC-721 token transfer.'), 'log_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='logIndex', alias_priority=2, description='Position of the event log within the transaction.'), 'network': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Blockchain network where the event occurred.'), 'to': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Address of the recipient in the token transfer.'), 'token_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='tokenId', alias_priority=2, description='Unique identifier of the NFT being transferred.'), 'transaction_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='transactionHash', alias_priority=2, description='Hash of the transaction that triggered the event.'), 'transaction_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, alias='transactionIndex', alias_priority=2, description='Position of the transaction within the block.'), 'var_from': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='from', alias_priority=2, description='Address of the sender in the token transfer.'), 'webhook_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='webhookId', alias_priority=2, description='Unique identifier for the webhook that triggered this event.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network: StrictStr | None
+
+
+
+-
+to: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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_id: StrictStr | None
+
+
+
+-
+transaction_hash: StrictStr | None
+
+
+
+-
+transaction_index: StrictInt | None
+
+
+
+-
+var_from: StrictStr | None
+
+
+
+-
+webhook_id: StrictStr | None
+
+
+
+
+
+
+cdp.client.models.error module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.error.Error(**data)
+Bases: BaseModel
+An error response from the Coinbase Developer Platform API
+
+-
+code: Annotated[str, Field(strict=True, max_length=5000)]
+
+
+
+-
+correlation_id: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+
+-
+message: Annotated[str, Field(strict=True, max_length=5000)]
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'code': FieldInfo(annotation=str, required=True, description='A short string representing the reported error. Can be use to handle errors programmatically.', metadata=[Strict(strict=True), MaxLen(max_length=5000)]), 'correlation_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='A unique identifier for the request that generated the error. This can be used to help debug issues with the API.'), 'message': FieldInfo(annotation=str, required=True, description='A human-readable message providing more details about the error.', metadata=[Strict(strict=True), MaxLen(max_length=5000)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.ethereum_transaction module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.ethereum_transaction.EthereumTransaction(**data)
+Bases: BaseModel
+
+-
+block_timestamp: datetime | None
+
+
+
+-
+flattened_traces: list[EthereumTransactionFlattenedTrace] | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of EthereumTransaction from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of EthereumTransaction from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+gas: StrictInt | None
+
+
+
+-
+gas_price: StrictInt | None
+
+
+
+-
+hash: StrictStr | None
+
+
+
+-
+index: StrictInt | None
+
+
+
+-
+input: StrictStr | None
+
+
+
+-
+max_fee_per_gas: StrictInt | None
+
+
+
+-
+max_priority_fee_per_gas: StrictInt | None
+
+
+
+-
+mint: StrictStr | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_timestamp': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, description='The timestamp of the block in which the event was emitted'), 'flattened_traces': FieldInfo(annotation=Union[list[EthereumTransactionFlattenedTrace], NoneType], required=False, default=None), 'gas': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The amount of gas spent in the transaction.'), 'gas_price': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The price per gas spent in the transaction in atomic units of the native asset.'), 'hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The hash of the transaction as a hexadecimal string, prefixed with 0x.'), 'index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The index of the transaction in the block.'), 'input': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The input data of the transaction.'), 'max_fee_per_gas': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The max fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.'), 'max_priority_fee_per_gas': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The max priority fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.'), 'mint': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='This is for handling optimism rollup specific EIP-2718 transaction type field.'), 'nonce': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The nonce of the transaction in the source address.'), 'priority_fee_per_gas': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The confirmed priority fee per gas as defined in EIP-1559. https://eips.ethereum.org/EIPS/eip-1559 for more details.'), 'to': FieldInfo(annotation=str, required=True, description='The onchain address of the receiver.', metadata=[Strict(strict=True)]), 'transaction_access_list': FieldInfo(annotation=Union[EthereumTransactionAccessList, NoneType], required=False, default=None), 'type': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None, description='The EIP-2718 transaction type. See https://eips.ethereum.org/EIPS/eip-2718 for more details.'), 'value': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The value of the transaction in atomic units of the native asset.'), 'var_from': FieldInfo(annotation=str, required=True, alias='from', alias_priority=2, description='The onchain address of the sender.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+nonce: StrictInt | None
+
+
+
+-
+priority_fee_per_gas: StrictInt | None
+
+
+
+-
+to: 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
]
+
+
+
+
+-
+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_access_list: EthereumTransactionAccessList | None
+
+
+
+-
+type: StrictInt | None
+
+
+
+-
+value: StrictStr | None
+
+
+
+-
+var_from: StrictStr
+
+
+
+
+
+
+cdp.client.models.ethereum_transaction_access module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.ethereum_transaction_access.EthereumTransactionAccess(**data)
+Bases: BaseModel
+
+-
+address: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of EthereumTransactionAccess from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of EthereumTransactionAccess from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'storage_keys': FieldInfo(annotation=Union[list[Annotated[str, Strict(strict=True)]], NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+storage_keys: list[StrictStr] | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.ethereum_transaction_access_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.ethereum_transaction_access_list.EthereumTransactionAccessList(**data)
+Bases: BaseModel
+
+-
+access_list: list[EthereumTransactionAccess] | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of EthereumTransactionAccessList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of EthereumTransactionAccessList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'access_list': FieldInfo(annotation=Union[list[EthereumTransactionAccess], NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.ethereum_transaction_flattened_trace module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.ethereum_transaction_flattened_trace.EthereumTransactionFlattenedTrace(**data)
+Bases: BaseModel
+
+-
+block_hash: StrictStr | None
+
+
+
+-
+block_number: StrictInt | None
+
+
+
+-
+call_type: StrictStr | None
+
+
+
+-
+error: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of EthereumTransactionFlattenedTrace from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of EthereumTransactionFlattenedTrace from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+gas: StrictInt | None
+
+
+
+-
+gas_used: StrictInt | None
+
+
+
+-
+input: StrictStr | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'block_number': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'call_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'error': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'gas': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'gas_used': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'input': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'output': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'status': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'sub_traces': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'to': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'trace_address': FieldInfo(annotation=Union[list[Annotated[int, Strict(strict=True)]], NoneType], required=False, default=None), 'trace_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'trace_type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'transaction_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'transaction_index': FieldInfo(annotation=Union[Annotated[int, Strict(strict=True)], NoneType], required=False, default=None), 'type': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'value': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'var_from': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, alias='from', alias_priority=2)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+output: StrictStr | None
+
+
+
+-
+status: StrictInt | None
+
+
+
+-
+sub_traces: StrictInt | None
+
+
+
+-
+to: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+trace_address: list[StrictInt] | None
+
+
+
+-
+trace_id: StrictStr | None
+
+
+
+-
+trace_type: StrictStr | None
+
+
+
+-
+transaction_hash: StrictStr | None
+
+
+
+-
+transaction_index: StrictInt | None
+
+
+
+-
+type: StrictStr | None
+
+
+
+-
+value: StrictStr | None
+
+
+
+-
+var_from: StrictStr | None
+
+
+
+
+
+
+
+cdp.client.models.faucet_transaction module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.faucet_transaction.FaucetTransaction(**data)
+Bases: BaseModel
+The faucet transaction
+
+-
+classmethod from_dict(obj)
+Create an instance of FaucetTransaction from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of FaucetTransaction from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'transaction_hash': FieldInfo(annotation=str, required=True, description='The transaction hash of the transaction the faucet created.', metadata=[Strict(strict=True)]), 'transaction_link': FieldInfo(annotation=str, required=True, description='Link to the transaction on the blockchain explorer.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+-
+transaction_link: StrictStr
+
+
+
+
+
+
+cdp.client.models.feature_set module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.feature_set.FeatureSet(**data)
+Bases: BaseModel
+
+-
+faucet: StrictBool
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of FeatureSet from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of FeatureSet from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+gasless_send: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'faucet': FieldInfo(annotation=bool, required=True, description='Whether the network supports a faucet', metadata=[Strict(strict=True)]), 'gasless_send': FieldInfo(annotation=bool, required=True, description='Whether the network supports gasless sends', metadata=[Strict(strict=True)]), 'server_signer': FieldInfo(annotation=bool, required=True, description='Whether the network supports Server-Signers', metadata=[Strict(strict=True)]), 'stake': FieldInfo(annotation=bool, required=True, description='Whether the network supports staking', metadata=[Strict(strict=True)]), 'trade': FieldInfo(annotation=bool, required=True, description='Whether the network supports trading', metadata=[Strict(strict=True)]), 'transfer': FieldInfo(annotation=bool, required=True, description='Whether the network supports transfers', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+server_signer: StrictBool
+
+
+
+-
+stake: StrictBool
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+trade: StrictBool
+
+
+
+-
+transfer: StrictBool
+
+
+
+
+
+
+cdp.client.models.fetch_historical_staking_balances200_response module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.fetch_historical_staking_balances200_response.FetchHistoricalStakingBalances200Response(**data)
+Bases: BaseModel
+
+-
+data: list[StakingBalance]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of FetchHistoricalStakingBalances200Response from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of FetchHistoricalStakingBalances200Response from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[StakingBalance], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.fetch_staking_rewards200_response module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.fetch_staking_rewards200_response.FetchStakingRewards200Response(**data)
+Bases: BaseModel
+
+-
+data: list[StakingReward]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of FetchStakingRewards200Response from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of FetchStakingRewards200Response from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[StakingReward], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.fetch_staking_rewards_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.fetch_staking_rewards_request.FetchStakingRewardsRequest(**data)
+Bases: BaseModel
+
+-
+address_ids: list[StrictStr]
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+end_time: datetime
+
+
+
+-
+format: StakingRewardFormat
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of FetchStakingRewardsRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of FetchStakingRewardsRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_ids': FieldInfo(annotation=list[Annotated[str, Strict(strict=True)]], required=True, description='The onchain addresses for which the staking rewards are being fetched'), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset for which the staking rewards are being fetched', metadata=[Strict(strict=True)]), 'end_time': FieldInfo(annotation=datetime, required=True, description='The end time of this reward period'), 'format': FieldInfo(annotation=StakingRewardFormat, required=True), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'start_time': FieldInfo(annotation=datetime, required=True, description='The start time of this reward period')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+start_time: datetime
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.get_staking_context_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.get_staking_context_request.GetStakingContextRequest(**data)
+Bases: BaseModel
+
+-
+address_id: StrictStr
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of GetStakingContextRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of GetStakingContextRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address for which the staking context is being fetched', metadata=[Strict(strict=True)]), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset being staked', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'options': FieldInfo(annotation=dict[str, Annotated[str, Strict(strict=True)]], required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+options: dict[str, 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
]
+
+
+
+
+-
+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.client.models.historical_balance module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.historical_balance.HistoricalBalance(**data)
+Bases: BaseModel
+The balance of an asset onchain at a particular block
+
+-
+amount: StrictStr
+
+
+
+-
+asset: Asset
+
+
+
+-
+block_hash: StrictStr
+
+
+
+-
+block_height: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of HistoricalBalance from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of HistoricalBalance from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'amount': FieldInfo(annotation=str, required=True, description='The amount in the atomic units of the asset', metadata=[Strict(strict=True)]), 'asset': FieldInfo(annotation=Asset, required=True), 'block_hash': FieldInfo(annotation=str, required=True, description='The hash of the block at which the balance was recorded', metadata=[Strict(strict=True)]), 'block_height': FieldInfo(annotation=str, required=True, description='The block height at which the balance was recorded', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.network module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.network.Network(**data)
+Bases: BaseModel
+
+-
+address_path_prefix: StrictStr | None
+
+
+
+-
+chain_id: StrictInt
+
+
+
+-
+display_name: StrictStr
+
+
+
+-
+feature_set: FeatureSet
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Network from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Network from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+id: NetworkIdentifier
+
+
+
+-
+is_testnet: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_path_prefix': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The BIP44 path prefix for the network'), 'chain_id': FieldInfo(annotation=int, required=True, description='The chain ID of the blockchain network', metadata=[Strict(strict=True)]), 'display_name': FieldInfo(annotation=str, required=True, description='The human-readable name of the blockchain network', metadata=[Strict(strict=True)]), 'feature_set': FieldInfo(annotation=FeatureSet, required=True), 'id': FieldInfo(annotation=NetworkIdentifier, required=True), 'is_testnet': FieldInfo(annotation=bool, required=True, description='Whether the network is a testnet or not', metadata=[Strict(strict=True)]), 'native_asset': FieldInfo(annotation=Asset, required=True), 'protocol_family': FieldInfo(annotation=str, required=True, description='The protocol family of the blockchain network', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+native_asset: Asset
+
+
+
+-
+protocol_family: StrictStr
+
+
+
+-
+classmethod protocol_family_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
]
+
+
+
+
+-
+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.client.models.network_identifier module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.network_identifier.NetworkIdentifier(value)
+Bases: str
, Enum
+The ID of the blockchain network. This is unique across all networks, and takes the form of <blockchain>-<network>.
+
+-
+ARBITRUM_MINUS_MAINNET = 'arbitrum-mainnet'
+
+
+
+-
+BASE_MINUS_MAINNET = 'base-mainnet'
+
+
+
+-
+BASE_MINUS_SEPOLIA = 'base-sepolia'
+
+
+
+-
+ETHEREUM_MINUS_HOLESKY = 'ethereum-holesky'
+
+
+
+-
+ETHEREUM_MINUS_MAINNET = 'ethereum-mainnet'
+
+
+
+-
+POLYGON_MINUS_MAINNET = 'polygon-mainnet'
+
+
+
+-
+SOLANA_MINUS_DEVNET = 'solana-devnet'
+
+
+
+-
+SOLANA_MINUS_MAINNET = 'solana-mainnet'
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of NetworkIdentifier from a JSON string
+
+- Return type:
+Self
+
+
+
+
+
+
+
+
+cdp.client.models.nft_contract_options module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.nft_contract_options.NFTContractOptions(**data)
+Bases: BaseModel
+Options for NFT contract creation
+
+-
+classmethod from_dict(obj)
+Create an instance of NFTContractOptions from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of NFTContractOptions from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'name': FieldInfo(annotation=str, required=True, description='The name of the NFT', metadata=[Strict(strict=True)]), 'symbol': FieldInfo(annotation=str, required=True, description='The symbol of the NFT', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+name: StrictStr
+
+
+
+-
+symbol: 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
]
+
+
+
+
+-
+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.client.models.payload_signature module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.payload_signature.PayloadSignature(**data)
+Bases: BaseModel
+A payload signed by an address.
+
+-
+address_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of PayloadSignature from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of PayloadSignature from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address of the signer.', metadata=[Strict(strict=True)]), 'payload_signature_id': FieldInfo(annotation=str, required=True, description='The ID of the payload signature.', metadata=[Strict(strict=True)]), 'signature': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The signature of the payload.'), 'status': FieldInfo(annotation=str, required=True, description='The status of the payload signature.', metadata=[Strict(strict=True)]), 'unsigned_payload': FieldInfo(annotation=str, required=True, description='The unsigned payload. This is the payload that needs to be signed by the signer address.', metadata=[Strict(strict=True)]), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that owns the address.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+payload_signature_id: StrictStr
+
+
+
+-
+signature: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+unsigned_payload: StrictStr
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.payload_signature_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.payload_signature_list.PayloadSignatureList(**data)
+Bases: BaseModel
+
+-
+data: list[PayloadSignature]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of PayloadSignatureList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of PayloadSignatureList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[PayloadSignature], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of payload signatures for the address.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.seed_creation_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.seed_creation_event.SeedCreationEvent(**data)
+Bases: BaseModel
+An event representing a seed creation.
+
+-
+classmethod from_dict(obj)
+Create an instance of SeedCreationEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SeedCreationEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that the server-signer should create the seed for', metadata=[Strict(strict=True)]), 'wallet_user_id': FieldInfo(annotation=str, required=True, description='The ID of the user that the wallet belongs to', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+-
+wallet_user_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.seed_creation_event_result module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.seed_creation_event_result.SeedCreationEventResult(**data)
+Bases: BaseModel
+The result to a SeedCreationEvent.
+
+-
+extended_public_key: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of SeedCreationEventResult from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SeedCreationEventResult from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'extended_public_key': FieldInfo(annotation=str, required=True, description='The extended public key for the first master key derived from seed.', metadata=[Strict(strict=True)]), 'seed_id': FieldInfo(annotation=str, required=True, description='The ID of the seed in Server-Signer used to generate the extended public key.', metadata=[Strict(strict=True)]), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that the seed was created for', metadata=[Strict(strict=True)]), 'wallet_user_id': FieldInfo(annotation=str, required=True, description='The ID of the user that the wallet belongs to', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+seed_id: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+-
+wallet_user_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.server_signer module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.server_signer.ServerSigner(**data)
+Bases: BaseModel
+A Server-Signer assigned to sign transactions in a wallet.
+
+-
+classmethod from_dict(obj)
+Create an instance of ServerSigner from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ServerSigner from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+is_mpc: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'is_mpc': FieldInfo(annotation=bool, required=True, description='Whether the Server-Signer uses MPC.', metadata=[Strict(strict=True)]), 'server_signer_id': FieldInfo(annotation=str, required=True, description='The ID of the server-signer', metadata=[Strict(strict=True)]), 'wallets': FieldInfo(annotation=Union[list[Annotated[str, Strict(strict=True)]], NoneType], required=False, default=None, description='The IDs of the wallets that the server-signer can sign for')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+server_signer_id: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallets: list[StrictStr] | None
+
+
+
+
+
+
+cdp.client.models.server_signer_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.server_signer_event.ServerSignerEvent(**data)
+Bases: BaseModel
+An event that is waiting to be processed by a Server-Signer.
+
+-
+event: ServerSignerEventEvent
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ServerSignerEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ServerSignerEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'event': FieldInfo(annotation=ServerSignerEventEvent, required=True), 'server_signer_id': FieldInfo(annotation=str, required=True, description='The ID of the server-signer that the event is for', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+server_signer_id: 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
]
+
+
+
+
+-
+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.client.models.server_signer_event_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.server_signer_event_event.ServerSignerEventEvent(*args, **kwargs)
+Bases: BaseModel
+
+-
+actual_instance: SeedCreationEvent | SignatureCreationEvent | None
+
+
+
+-
+classmethod actual_instance_must_validate_oneof(v)
+
+
+
+-
+classmethod from_dict(obj)
+
+- Return type:
+Self
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Returns the object represented by the json string
+
+- Return type:
+Self
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'actual_instance': FieldInfo(annotation=Union[SeedCreationEvent, SignatureCreationEvent, NoneType], required=False, default=None), 'one_of_schemas': FieldInfo(annotation=set[str], required=False, default={'SeedCreationEvent', 'SignatureCreationEvent'}), 'oneof_schema_1_validator': FieldInfo(annotation=Union[SeedCreationEvent, NoneType], required=False, default=None), 'oneof_schema_2_validator': FieldInfo(annotation=Union[SignatureCreationEvent, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+one_of_schemas: set[str]
+
+
+
+-
+oneof_schema_1_validator: SeedCreationEvent | None
+
+
+
+-
+oneof_schema_2_validator: SignatureCreationEvent | None
+
+
+
+-
+to_dict()
+Returns the dict representation of the actual instance
+
+- Return type:
+dict
[str
, Any
] | SeedCreationEvent
| SignatureCreationEvent
| None
+
+
+
+
+
+-
+to_json()
+Returns the JSON representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+-
+to_str()
+Returns the string representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+
+
+
+cdp.client.models.server_signer_event_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.server_signer_event_list.ServerSignerEventList(**data)
+Bases: BaseModel
+
+-
+data: list[ServerSignerEvent]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ServerSignerEventList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ServerSignerEventList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[ServerSignerEvent], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of events for the server signer.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.server_signer_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.server_signer_list.ServerSignerList(**data)
+Bases: BaseModel
+
+-
+data: list[ServerSigner]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ServerSignerList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ServerSignerList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[ServerSigner], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of server-signers for the project.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.signature_creation_event module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.signature_creation_event.SignatureCreationEvent(**data)
+Bases: BaseModel
+An event representing a signature creation.
+
+-
+address_id: StrictStr
+
+
+
+-
+address_index: StrictInt
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of SignatureCreationEvent from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SignatureCreationEvent from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The ID of the address the transfer belongs to', metadata=[Strict(strict=True)]), 'address_index': FieldInfo(annotation=int, required=True, description='The index of the address that the server-signer should sign with', metadata=[Strict(strict=True)]), 'seed_id': FieldInfo(annotation=str, required=True, description='The ID of the seed that the server-signer should create the signature for', metadata=[Strict(strict=True)]), 'signing_payload': FieldInfo(annotation=str, required=True, description='The payload that the server-signer should sign', metadata=[Strict(strict=True)]), 'transaction_id': FieldInfo(annotation=str, required=True, description='The ID of the transaction that the server-signer should sign', metadata=[Strict(strict=True)]), 'transaction_type': FieldInfo(annotation=TransactionType, required=True), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet the signature is for', metadata=[Strict(strict=True)]), 'wallet_user_id': FieldInfo(annotation=str, required=True, description='The ID of the user that the wallet belongs to', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+seed_id: StrictStr
+
+
+
+-
+signing_payload: 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
]
+
+
+
+
+-
+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_id: StrictStr
+
+
+
+-
+transaction_type: TransactionType
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+-
+wallet_user_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.signature_creation_event_result module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.signature_creation_event_result.SignatureCreationEventResult(**data)
+Bases: BaseModel
+The result to a SignatureCreationEvent.
+
+-
+address_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of SignatureCreationEventResult from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SignatureCreationEventResult from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The ID of the address the transfer belongs to', metadata=[Strict(strict=True)]), 'signature': FieldInfo(annotation=str, required=True, description='The signature created by the server-signer.', metadata=[Strict(strict=True)]), 'transaction_id': FieldInfo(annotation=str, required=True, description='The ID of the transaction that the Server-Signer has signed for', metadata=[Strict(strict=True)]), 'transaction_type': FieldInfo(annotation=TransactionType, required=True), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that the event was created for.', metadata=[Strict(strict=True)]), 'wallet_user_id': FieldInfo(annotation=str, required=True, description='The ID of the user that the wallet belongs to', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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_id: StrictStr
+
+
+
+-
+transaction_type: TransactionType
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+-
+wallet_user_id: StrictStr
+
+
+
+
+
+
+
+cdp.client.models.smart_contract module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.smart_contract.SmartContract(**data)
+Bases: BaseModel
+Represents a smart contract on the blockchain
+
+-
+abi: StrictStr
+
+
+
+-
+contract_address: StrictStr
+
+
+
+-
+deployer_address: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of SmartContract from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SmartContract from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'abi': FieldInfo(annotation=str, required=True, description='The JSON-encoded ABI of the contract', metadata=[Strict(strict=True)]), 'contract_address': FieldInfo(annotation=str, required=True, description='The EVM address of the smart contract', metadata=[Strict(strict=True)]), 'deployer_address': FieldInfo(annotation=str, required=True, description='The EVM address of the account that deployed the smart contract', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The name of the blockchain network', metadata=[Strict(strict=True)]), 'options': FieldInfo(annotation=SmartContractOptions, required=True), 'smart_contract_id': FieldInfo(annotation=str, required=True, description='The unique identifier of the smart contract', metadata=[Strict(strict=True)]), 'transaction': FieldInfo(annotation=Transaction, required=True), 'type': FieldInfo(annotation=SmartContractType, required=True), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that deployed the smart contract', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+options: SmartContractOptions
+
+
+
+-
+smart_contract_id: 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
]
+
+
+
+
+-
+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: Transaction
+
+
+
+-
+type: SmartContractType
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.smart_contract_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.smart_contract_list.SmartContractList(**data)
+Bases: BaseModel
+
+-
+data: list[SmartContract]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of SmartContractList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SmartContractList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[SmartContract], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.smart_contract_options module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.smart_contract_options.SmartContractOptions(*args, **kwargs)
+Bases: BaseModel
+Options for smart contract creation
+
+-
+actual_instance: NFTContractOptions | TokenContractOptions | None
+
+
+
+-
+classmethod actual_instance_must_validate_oneof(v)
+
+
+
+-
+classmethod from_dict(obj)
+
+- Return type:
+Self
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Returns the object represented by the json string
+
+- Return type:
+Self
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'actual_instance': FieldInfo(annotation=Union[NFTContractOptions, TokenContractOptions, NoneType], required=False, default=None), 'one_of_schemas': FieldInfo(annotation=set[str], required=False, default={'NFTContractOptions', 'TokenContractOptions'}), 'oneof_schema_1_validator': FieldInfo(annotation=Union[TokenContractOptions, NoneType], required=False, default=None), 'oneof_schema_2_validator': FieldInfo(annotation=Union[NFTContractOptions, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+one_of_schemas: set[str]
+
+
+
+-
+oneof_schema_1_validator: TokenContractOptions | None
+
+
+
+-
+oneof_schema_2_validator: NFTContractOptions | None
+
+
+
+-
+to_dict()
+Returns the dict representation of the actual instance
+
+- Return type:
+dict
[str
, Any
] | NFTContractOptions
| TokenContractOptions
| None
+
+
+
+
+
+-
+to_json()
+Returns the JSON representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+-
+to_str()
+Returns the string representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+
+
+
+cdp.client.models.smart_contract_type module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.smart_contract_type.SmartContractType(value)
+Bases: str
, Enum
+The type of the smart contract
+
+-
+ERC20 = 'erc20'
+
+
+
+-
+ERC721 = 'erc721'
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of SmartContractType from a JSON string
+
+- Return type:
+Self
+
+
+
+
+
+
+
+
+
+cdp.client.models.staking_balance module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_balance.StakingBalance(**data)
+Bases: BaseModel
+The staking balances for an address.
+
+-
+address: StrictStr
+
+
+
+-
+bonded_stake: Balance
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingBalance from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingBalance from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address': FieldInfo(annotation=str, required=True, description='The onchain address for which the staking balances are being fetched.', metadata=[Strict(strict=True)]), 'bonded_stake': FieldInfo(annotation=Balance, required=True), 'participant_type': FieldInfo(annotation=str, required=True, description='The type of staking participation.', metadata=[Strict(strict=True)]), 'unbonded_balance': FieldInfo(annotation=Balance, required=True), 'var_date': FieldInfo(annotation=datetime, required=True, alias='date', alias_priority=2, description='The timestamp of the staking balance in UTC.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+participant_type: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+unbonded_balance: Balance
+
+
+
+-
+var_date: datetime
+
+
+
+
+
+
+cdp.client.models.staking_context module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_context.StakingContext(**data)
+Bases: BaseModel
+Context needed to perform a staking operation
+
+-
+context: StakingContextContext
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingContext from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingContext from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'context': FieldInfo(annotation=StakingContextContext, required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.staking_context_context module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_context_context.StakingContextContext(**data)
+Bases: BaseModel
+
+-
+claimable_balance: Balance
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingContextContext from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingContextContext from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'claimable_balance': FieldInfo(annotation=Balance, required=True), 'stakeable_balance': FieldInfo(annotation=Balance, required=True), 'unstakeable_balance': FieldInfo(annotation=Balance, required=True)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+stakeable_balance: Balance
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+unstakeable_balance: Balance
+
+
+
+
+
+
+cdp.client.models.staking_operation module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_operation.StakingOperation(**data)
+Bases: BaseModel
+A list of onchain transactions to help realize a staking action.
+
+-
+address_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingOperation from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingOperation from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+id: StrictStr
+
+
+
+-
+metadata: StakingOperationMetadata | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address orchestrating the staking operation.', metadata=[Strict(strict=True)]), 'id': FieldInfo(annotation=str, required=True, description='The unique ID of the staking operation.', metadata=[Strict(strict=True)]), 'metadata': FieldInfo(annotation=Union[StakingOperationMetadata, NoneType], required=False, default=None), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network.', metadata=[Strict(strict=True)]), 'status': FieldInfo(annotation=str, required=True, description='The status of the staking operation.', metadata=[Strict(strict=True)]), 'transactions': FieldInfo(annotation=list[Transaction], required=True, description='The transaction(s) that will execute the staking operation onchain.'), 'wallet_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The ID of the wallet that owns the address.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+transactions: list[Transaction]
+
+
+
+-
+wallet_id: StrictStr | None
+
+
+
+
+
+
+
+cdp.client.models.staking_reward module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_reward.StakingReward(**data)
+Bases: BaseModel
+The staking rewards for an address.
+
+-
+address_id: StrictStr
+
+
+
+-
+amount: StrictStr
+
+
+
+-
+format: StakingRewardFormat
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingReward from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingReward from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address for which the staking rewards are being fetched.', metadata=[Strict(strict=True)]), 'amount': FieldInfo(annotation=str, required=True, description='The reward amount in requested "format". Default is USD.', metadata=[Strict(strict=True)]), 'format': FieldInfo(annotation=StakingRewardFormat, required=True), 'state': FieldInfo(annotation=str, required=True, description='The state of the reward.', metadata=[Strict(strict=True)]), 'usd_value': FieldInfo(annotation=StakingRewardUSDValue, required=True), 'var_date': FieldInfo(annotation=datetime, required=True, alias='date', alias_priority=2, description='The timestamp of the reward in UTC.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+state: StrictStr
+
+
+
+-
+classmethod state_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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+usd_value: StakingRewardUSDValue
+
+
+
+-
+var_date: datetime
+
+
+
+
+
+
+
+cdp.client.models.staking_reward_usd_value module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.staking_reward_usd_value.StakingRewardUSDValue(**data)
+Bases: BaseModel
+The USD value of the reward
+
+-
+amount: StrictStr
+
+
+
+-
+conversion_price: StrictStr
+
+
+
+-
+conversion_time: datetime
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of StakingRewardUSDValue from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of StakingRewardUSDValue from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'amount': FieldInfo(annotation=str, required=True, description='The value of the reward in USD', metadata=[Strict(strict=True)]), 'conversion_price': FieldInfo(annotation=str, required=True, description='The conversion price from native currency to USD', metadata=[Strict(strict=True)]), 'conversion_time': FieldInfo(annotation=datetime, required=True, description='The time of the conversion in UTC.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.token_contract_options module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.token_contract_options.TokenContractOptions(**data)
+Bases: BaseModel
+Options for token contract creation
+
+-
+classmethod from_dict(obj)
+Create an instance of TokenContractOptions from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of TokenContractOptions from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'name': FieldInfo(annotation=str, required=True, description='The name of the token', metadata=[Strict(strict=True)]), 'symbol': FieldInfo(annotation=str, required=True, description='The symbol of the token', metadata=[Strict(strict=True)]), 'total_supply': FieldInfo(annotation=str, required=True, description='The total supply of the token denominated in the whole amount of the token.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+name: StrictStr
+
+
+
+-
+symbol: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_supply: StrictStr
+
+
+
+
+
+
+cdp.client.models.trade module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.trade.Trade(**data)
+Bases: BaseModel
+A trade of an asset to another asset
+
+-
+address_id: StrictStr
+
+
+
+-
+approve_transaction: Transaction | None
+
+
+
+-
+from_amount: StrictStr
+
+
+
+-
+from_asset: Asset
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Trade from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Trade from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address of the sender', metadata=[Strict(strict=True)]), 'approve_transaction': FieldInfo(annotation=Union[Transaction, NoneType], required=False, default=None), 'from_amount': FieldInfo(annotation=str, required=True, description='The amount of the from asset to be traded (in atomic units of the from asset)', metadata=[Strict(strict=True)]), 'from_asset': FieldInfo(annotation=Asset, required=True), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'to_amount': FieldInfo(annotation=str, required=True, description='The amount of the to asset that will be received (in atomic units of the to asset)', metadata=[Strict(strict=True)]), 'to_asset': FieldInfo(annotation=Asset, required=True), 'trade_id': FieldInfo(annotation=str, required=True, description='The ID of the trade', metadata=[Strict(strict=True)]), 'transaction': FieldInfo(annotation=Transaction, required=True), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that owns the from address', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+to_amount: StrictStr
+
+
+
+-
+to_asset: Asset
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+trade_id: StrictStr
+
+
+
+-
+transaction: Transaction
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.trade_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.trade_list.TradeList(**data)
+Bases: BaseModel
+
+-
+data: list[Trade]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of TradeList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of TradeList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Trade], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of trades for the address in the wallet.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.transaction module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.transaction.Transaction(**data)
+Bases: BaseModel
+An onchain transaction.
+
+-
+block_hash: StrictStr | None
+
+
+
+-
+block_height: StrictStr | None
+
+
+
+-
+content: TransactionContent | None
+
+
+
+-
+from_address_id: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Transaction from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Transaction from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'block_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The hash of the block at which the transaction was recorded.'), 'block_height': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The block height at which the transaction was recorded.'), 'content': FieldInfo(annotation=Union[TransactionContent, NoneType], required=False, default=None), 'from_address_id': FieldInfo(annotation=str, required=True, description='The onchain address of the sender.', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network.', metadata=[Strict(strict=True)]), 'signed_payload': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The signed payload of the transaction. This is the payload that has been signed by the sender.'), 'status': FieldInfo(annotation=str, required=True, description='The status of the transaction.', metadata=[Strict(strict=True)]), 'to_address_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The onchain address of the recipient.'), 'transaction_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The hash of the transaction.'), 'transaction_link': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The link to view the transaction on a block explorer. This is optional and may not be present for all transactions.'), 'unsigned_payload': FieldInfo(annotation=str, required=True, description='The unsigned payload of the transaction. This is the payload that needs to be signed by the sender.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+signed_payload: StrictStr | None
+
+
+
+-
+status: StrictStr
+
+
+
+-
+classmethod status_validate_enum(value)
+Validates the enum
+
+
+
+-
+to_address_id: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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 | None
+
+
+
+-
+transaction_link: StrictStr | None
+
+
+
+-
+unsigned_payload: StrictStr
+
+
+
+
+
+
+cdp.client.models.transaction_content module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.transaction_content.TransactionContent(*args, **kwargs)
+Bases: BaseModel
+
+-
+actual_instance: EthereumTransaction | None
+
+
+
+-
+classmethod actual_instance_must_validate_oneof(v)
+
+
+
+-
+classmethod from_dict(obj)
+
+- Return type:
+Self
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Returns the object represented by the json string
+
+- Return type:
+Self
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'actual_instance': FieldInfo(annotation=Union[EthereumTransaction, NoneType], required=False, default=None), 'one_of_schemas': FieldInfo(annotation=set[str], required=False, default={'EthereumTransaction'}), 'oneof_schema_1_validator': FieldInfo(annotation=Union[EthereumTransaction, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+one_of_schemas: set[str]
+
+
+
+-
+oneof_schema_1_validator: EthereumTransaction | None
+
+
+
+-
+to_dict()
+Returns the dict representation of the actual instance
+
+- Return type:
+dict
[str
, Any
] | EthereumTransaction
| None
+
+
+
+
+
+-
+to_json()
+Returns the JSON representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+-
+to_str()
+Returns the string representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+
+
+
+cdp.client.models.transaction_type module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.transaction_type.TransactionType(value)
+Bases: str
, Enum
+
+-
+TRANSFER = 'transfer'
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of TransactionType from a JSON string
+
+- Return type:
+Self
+
+
+
+
+
+
+
+
+cdp.client.models.transfer module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.transfer.Transfer(**data)
+Bases: BaseModel
+A transfer of an asset from one address to another
+
+-
+address_id: StrictStr
+
+
+
+-
+amount: StrictStr
+
+
+
+-
+asset: Asset
+
+
+
+-
+asset_id: StrictStr
+
+
+
+-
+destination: StrictStr
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Transfer from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Transfer from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+gasless: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'address_id': FieldInfo(annotation=str, required=True, description='The onchain address of the sender', metadata=[Strict(strict=True)]), 'amount': FieldInfo(annotation=str, required=True, description='The amount in the atomic units of the asset', metadata=[Strict(strict=True)]), 'asset': FieldInfo(annotation=Asset, required=True), 'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset being transferred', metadata=[Strict(strict=True)]), 'destination': FieldInfo(annotation=str, required=True, description='The onchain address of the recipient', metadata=[Strict(strict=True)]), 'gasless': FieldInfo(annotation=bool, required=True, description='Whether the transfer uses sponsored gas', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'signed_payload': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The signed payload of the transfer. This is the payload that has been signed by the sender.'), 'sponsored_send': FieldInfo(annotation=Union[SponsoredSend, NoneType], required=False, default=None), 'status': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The status of the transfer'), 'transaction': FieldInfo(annotation=Union[Transaction, NoneType], required=False, default=None), 'transaction_hash': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The hash of the transfer transaction'), 'transfer_id': FieldInfo(annotation=str, required=True, description='The ID of the transfer', metadata=[Strict(strict=True)]), 'unsigned_payload': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The unsigned payload of the transfer. This is the payload that needs to be signed by the sender.'), 'wallet_id': FieldInfo(annotation=str, required=True, description='The ID of the wallet that owns the from address', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+signed_payload: StrictStr | None
+
+
+
+
+
+
+
+-
+status: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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: Transaction | None
+
+
+
+-
+transaction_hash: StrictStr | None
+
+
+
+-
+transfer_id: StrictStr
+
+
+
+-
+unsigned_payload: StrictStr | None
+
+
+
+-
+wallet_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.transfer_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.transfer_list.TransferList(**data)
+Bases: BaseModel
+
+-
+data: list[Transfer]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of TransferList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of TransferList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Transfer], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of transfers for the address in the wallet.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.update_webhook_request module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.update_webhook_request.UpdateWebhookRequest(**data)
+Bases: BaseModel
+
+-
+event_filters: list[WebhookEventFilter] | None
+
+
+
+-
+event_type_filter: WebhookEventTypeFilter | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of UpdateWebhookRequest from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of UpdateWebhookRequest from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'event_filters': FieldInfo(annotation=Union[list[WebhookEventFilter], NoneType], required=False, default=None, description='Webhook will monitor all events that matches any one of the event filters.'), 'event_type_filter': FieldInfo(annotation=Union[WebhookEventTypeFilter, NoneType], required=False, default=None), 'notification_uri': FieldInfo(annotation=str, required=True, description='The Webhook uri that updates to', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+notification_uri: 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
]
+
+
+
+
+-
+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.client.models.user module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.user.User(**data)
+Bases: BaseModel
+
+-
+display_name: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of User from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of User from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+id: StrictStr
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'display_name': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None), 'id': FieldInfo(annotation=str, required=True, description='The ID of the user', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.validator module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.validator.Validator(**data)
+Bases: BaseModel
+A validator onchain.
+
+-
+asset_id: StrictStr
+
+
+
+-
+details: ValidatorDetails | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Validator from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Validator from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'asset_id': FieldInfo(annotation=str, required=True, description='The ID of the asset that the validator helps stake.', metadata=[Strict(strict=True)]), 'details': FieldInfo(annotation=Union[ValidatorDetails, NoneType], required=False, default=None), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network to which the Validator belongs.', metadata=[Strict(strict=True)]), 'status': FieldInfo(annotation=ValidatorStatus, required=True), 'validator_id': FieldInfo(annotation=str, required=True, description='The publicly identifiable unique id of the validator. This can be the public key for Ethereum validators and maybe an address for some other network.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+status: ValidatorStatus
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+validator_id: StrictStr
+
+
+
+
+
+
+cdp.client.models.validator_details module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.validator_details.ValidatorDetails(*args, **kwargs)
+Bases: BaseModel
+
+-
+actual_instance: EthereumValidatorMetadata | None
+
+
+
+-
+classmethod actual_instance_must_validate_oneof(v)
+
+
+
+-
+classmethod from_dict(obj)
+
+- Return type:
+Self
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Returns the object represented by the json string
+
+- Return type:
+Self
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'actual_instance': FieldInfo(annotation=Union[EthereumValidatorMetadata, NoneType], required=False, default=None), 'one_of_schemas': FieldInfo(annotation=set[str], required=False, default={'EthereumValidatorMetadata'}), 'oneof_schema_1_validator': FieldInfo(annotation=Union[EthereumValidatorMetadata, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+one_of_schemas: set[str]
+
+
+
+-
+oneof_schema_1_validator: EthereumValidatorMetadata | None
+
+
+
+-
+to_dict()
+Returns the dict representation of the actual instance
+
+- Return type:
+dict
[str
, Any
] | EthereumValidatorMetadata
| None
+
+
+
+
+
+-
+to_json()
+Returns the JSON representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+-
+to_str()
+Returns the string representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+
+
+
+cdp.client.models.validator_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.validator_list.ValidatorList(**data)
+Bases: BaseModel
+
+-
+data: list[Validator]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of ValidatorList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ValidatorList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Validator], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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.client.models.validator_status module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.validator_status.ValidatorStatus(value)
+Bases: str
, Enum
+The status of the validator.
+
+-
+ACTIVE = 'active'
+
+
+
+-
+ACTIVE_SLASHED = 'active_slashed'
+
+
+
+-
+DEPOSITED = 'deposited'
+
+
+
+-
+EXITED = 'exited'
+
+
+
+-
+EXITED_SLASHED = 'exited_slashed'
+
+
+
+-
+EXITING = 'exiting'
+
+
+
+-
+PENDING_ACTIVATION = 'pending_activation'
+
+
+
+-
+PROVISIONED = 'provisioned'
+
+
+
+-
+PROVISIONING = 'provisioning'
+
+
+
+-
+REAPED = 'reaped'
+
+
+
+-
+UNKNOWN = 'unknown'
+
+
+
+-
+WITHDRAWAL_AVAILABLE = 'withdrawal_available'
+
+
+
+-
+WITHDRAWAL_COMPLETE = 'withdrawal_complete'
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of ValidatorStatus from a JSON string
+
+- Return type:
+Self
+
+
+
+
+
+
+
+
+cdp.client.models.wallet module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.wallet.Wallet(**data)
+Bases: BaseModel
+
+-
+default_address: Address | None
+
+
+
+-
+feature_set: FeatureSet
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Wallet from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Wallet from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+id: StrictStr
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'default_address': FieldInfo(annotation=Union[Address, NoneType], required=False, default=None), 'feature_set': FieldInfo(annotation=FeatureSet, required=True), 'id': FieldInfo(annotation=str, required=True, description='The server-assigned ID for the wallet.', metadata=[Strict(strict=True)]), 'network_id': FieldInfo(annotation=str, required=True, description='The ID of the blockchain network', metadata=[Strict(strict=True)]), 'server_signer_status': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The status of the Server-Signer for the wallet if present.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr
+
+
+
+-
+server_signer_status: StrictStr | None
+
+
+
+-
+classmethod server_signer_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
]
+
+
+
+
+-
+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.client.models.wallet_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.wallet_list.WalletList(**data)
+Bases: BaseModel
+Paginated list of wallets
+
+-
+data: list[Wallet]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of WalletList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of WalletList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Wallet], required=True), 'has_more': FieldInfo(annotation=bool, required=True, description='True if this list has another page of items after this one that can be fetched.', metadata=[Strict(strict=True)]), 'next_page': FieldInfo(annotation=str, required=True, description='The page token to be used to fetch the next page.', metadata=[Strict(strict=True)]), 'total_count': FieldInfo(annotation=int, required=True, description='The total number of wallets', metadata=[Strict(strict=True)])}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: 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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+total_count: StrictInt
+
+
+
+
+
+
+cdp.client.models.webhook module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook.Webhook(**data)
+Bases: BaseModel
+Webhook that is used for getting notifications when monitored events occur.
+
+-
+created_at: datetime | None
+
+
+
+-
+event_filters: list[WebhookEventFilter] | None
+
+
+
+-
+event_type: WebhookEventType | None
+
+
+
+-
+event_type_filter: WebhookEventTypeFilter | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of Webhook from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of Webhook from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+id: StrictStr | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'created_at': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, description='The date and time the webhook was created.'), 'event_filters': FieldInfo(annotation=Union[list[WebhookEventFilter], NoneType], required=False, default=None, description='Webhook will monitor all events that matches any one of the event filters.'), 'event_type': FieldInfo(annotation=Union[WebhookEventType, NoneType], required=False, default=None), 'event_type_filter': FieldInfo(annotation=Union[WebhookEventTypeFilter, NoneType], required=False, default=None), 'id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='Identifier of the webhook.'), 'network_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The ID of the blockchain network'), 'notification_uri': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The URL to which the notifications will be sent.'), 'signature_header': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The header that will contain the signature of the webhook payload.'), 'updated_at': FieldInfo(annotation=Union[datetime, NoneType], required=False, default=None, description='The date and time the webhook was last updated.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+network_id: StrictStr | None
+
+
+
+-
+notification_uri: StrictStr | None
+
+
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+updated_at: datetime | None
+
+
+
+
+
+
+cdp.client.models.webhook_event_filter module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook_event_filter.WebhookEventFilter(**data)
+Bases: BaseModel
+The event_filter parameter specifies the criteria to filter events from the blockchain. It allows filtering events by contract address, sender address and receiver address. For a single event filter, not all of the properties need to be presented.
+
+-
+contract_address: StrictStr | None
+
+
+
+-
+from_address: StrictStr | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of WebhookEventFilter from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of WebhookEventFilter from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'contract_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The onchain contract address of the token for which the events should be tracked.'), 'from_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The onchain address of the sender. Set this filter to track all transfer events originating from your address.'), 'to_address': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The onchain address of the receiver. Set this filter to track all transfer events sent to your address.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+to_address: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.webhook_event_type module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook_event_type.WebhookEventType(value)
+Bases: str
, Enum
+
+-
+ERC20_TRANSFER = 'erc20_transfer'
+
+
+
+-
+ERC721_TRANSFER = 'erc721_transfer'
+
+
+
+-
+UNSPECIFIED = 'unspecified'
+
+
+
+-
+WALLET_ACTIVITY = 'wallet_activity'
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of WebhookEventType from a JSON string
+
+- Return type:
+Self
+
+
+
+
+
+
+
+
+cdp.client.models.webhook_event_type_filter module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook_event_type_filter.WebhookEventTypeFilter(*args, **kwargs)
+Bases: BaseModel
+The event_type_filter parameter specifies the criteria to filter events based on event type.
+
+-
+actual_instance: WebhookWalletActivityFilter | None
+
+
+
+-
+classmethod actual_instance_must_validate_oneof(v)
+
+
+
+-
+classmethod from_dict(obj)
+
+- Return type:
+Self
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Returns the object represented by the json string
+
+- Return type:
+Self
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'actual_instance': FieldInfo(annotation=Union[WebhookWalletActivityFilter, NoneType], required=False, default=None), 'one_of_schemas': FieldInfo(annotation=set[str], required=False, default={'WebhookWalletActivityFilter'}), 'oneof_schema_1_validator': FieldInfo(annotation=Union[WebhookWalletActivityFilter, NoneType], required=False, default=None)}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+one_of_schemas: set[str]
+
+
+
+-
+oneof_schema_1_validator: WebhookWalletActivityFilter | None
+
+
+
+-
+to_dict()
+Returns the dict representation of the actual instance
+
+- Return type:
+dict
[str
, Any
] | WebhookWalletActivityFilter
| None
+
+
+
+
+
+-
+to_json()
+Returns the JSON representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+-
+to_str()
+Returns the string representation of the actual instance
+
+- Return type:
+str
+
+
+
+
+
+
+
+
+cdp.client.models.webhook_list module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook_list.WebhookList(**data)
+Bases: BaseModel
+
+-
+data: list[Webhook]
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of WebhookList from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of WebhookList from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+has_more: StrictBool | None
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'data': FieldInfo(annotation=list[Webhook], required=True), 'has_more': FieldInfo(annotation=Union[Annotated[bool, Strict(strict=True)], NoneType], required=False, default=None, description='True if this list has another page of items after this one that can be fetched.'), 'next_page': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The page token to be used to fetch the next page.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+next_page: StrictStr | None
+
+
+
+-
+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
]
+
+
+
+
+-
+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.client.models.webhook_wallet_activity_filter module
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+-
+class cdp.client.models.webhook_wallet_activity_filter.WebhookWalletActivityFilter(**data)
+Bases: BaseModel
+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.
+
+-
+addresses: list[StrictStr] | None
+
+
+
+-
+classmethod from_dict(obj)
+Create an instance of WebhookWalletActivityFilter from a dict
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+classmethod from_json(json_str)
+Create an instance of WebhookWalletActivityFilter from a JSON string
+
+- Return type:
+Optional
[Self
]
+
+
+
+
+
+-
+model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}
+A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
+
+
+
+-
+model_config: ClassVar[ConfigDict] = {'populate_by_name': True, 'protected_namespaces': (), 'validate_assignment': True}
+Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
+
+
+
+-
+model_fields: ClassVar[Dict[str, FieldInfo]] = {'addresses': FieldInfo(annotation=Union[list[Annotated[str, Strict(strict=True)]], NoneType], required=False, default=None, description='A list of wallet addresses to filter on.'), 'wallet_id': FieldInfo(annotation=Union[Annotated[str, Strict(strict=True)], NoneType], required=False, default=None, description='The ID of the wallet that owns the webhook.')}
+Metadata about the fields defined on the model,
+mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
+This replaces Model.__fields__ from Pydantic V1.
+
+
+
+-
+model_post_init(context, /)
+This function is meant to behave like a BaseModel method to initialise private attributes.
+It takes context as an argument since that’s what pydantic-core passes when calling it.
+
+- Parameters:
+-
+
+- Return type:
+None
+
+
+
+
+
+-
+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
]
+
+
+
+
+-
+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
+
+
+
+
+
+-
+wallet_id: StrictStr | None
+
+
+
+
+
+
+Module contents
+Coinbase Platform API
+This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.
+The version of the OpenAPI document: 0.0.1-alpha
+Generated by OpenAPI Generator (https://openapi-generator.tech)
+Do not edit the class manually.
+
+