Cryptocurrency configurations (crypto_config)

The request for cryptocurrencies configuration.

crypto_config(currency_code: Optional[str] = None, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int
Parameters:
  • currency_code (Optional[str]) – [Optional] Cryptocurrency code. Sending request with currency_code provides crypto config for the sent cryptocurrency code only.
  • passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
  • req_id (Optional[int]) – [Optional] Used to map request to response.
Returns:

req_id

Return type:

int

Example

binary.api.crypto_config()