ExternalAPI
ExternalAPI
- class ExternalAPI(**kwargs)
Implements the federation api endpoints.
- estimate_conversion_gas(**kwargs) int
Returns an estimate of conversion gas fees.
- Parameters
**kwargs – Extra keyword arguments.
- Returns
The conversion gas fee estimate.
- Return type
int
- Raises
APIError – Error thrown by node API. See message for details.
- gas_price(**kwargs) int
Returns the current ETH gas price.
- Parameters
**kwargs – Extra keyword arguments.
- Returns
The ETH gas price.
- Return type
int
- Raises
APIError – Error thrown by node API. See message for details.