Exchange EndpointsΒΆ

class idex.client.Client(api_key, address=None, private_key=None)[source]
get_contract_address()[source]

Get the contract address used for depositing, withdrawing, and posting orders

https://github.com/AuroraDAO/idex-api-docs#returncontractaddress

trades = client.get_contract_address()
Returns:API Response
{
    address: '0x2a0c0dbecc7e4d658f48e01e3fa353f44050c208'
}
Raises:IdexResponseException, IdexAPIException