Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.77 KB

File metadata and controls

33 lines (24 loc) · 1.77 KB

CreateAddressRequest

Properties

Name Type Description Notes
chain_id str The chain ID, which is the unique identifier of a blockchain. You can retrieve the IDs of all the chains you can use by calling List enabled chains.
count int The number of addresses to create. This property will be ignored if you are generating tweaked Taproot addresses. [default to 1]
taproot_script_tree_hashes List[str] A list of script tree hashes used to generate a tweaked Taproot address. This property is required only if you want to generate tweaked Taproot addresses. [optional]
taproot_internal_address str The original Taproot address to be tweaked. This property is required only if you want to generate tweaked Taproot addresses. [optional]
encoding AddressEncoding [optional]

Example

from cobo_waas2.models.create_address_request import CreateAddressRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateAddressRequest from a JSON string
create_address_request_instance = CreateAddressRequest.from_json(json)
# print the JSON string representation of the object
print(CreateAddressRequest.to_json())

# convert the object into a dict
create_address_request_dict = create_address_request_instance.to_dict()
# create an instance of CreateAddressRequest from a dict
create_address_request_from_dict = CreateAddressRequest.from_dict(create_address_request_dict)

[Back to Model list] [Back to API list] [Back to README]