# API

`eip_1559_transaction_price`: Retrieve the current gas fee for the target chain.&#x20;

`estimate_current_wrap_fee`: Estimate the target chain's gas fee paying with the token being bridged.&#x20;

`get_canister_status`: Retrieve canister status data.&#x20;

`get_events`: Returns a set of events at the minter.&#x20;

`get_history`: Return historical data supporting various filters.&#x20;

`get_minter_info`: Return detailed canister information, including configuration details, etc.&#x20;

`token_wrap`: The entry point for user bridging used in the current code. It will be upgraded to `bridge` function next month.

`token_wrap_status`: Users query the current status of the bridge based on the `token_wrap` returned `block_index` and `icrc_ledger_id`.&#x20;

`add_icrc_erc20_token`: Add support for ICRC tokens (to be systematically managed by the Hub in the future). (Only admin or SNS)

`get_btc_address`: Returns a specific Bitcoin address to which the caller can send BTC.&#x20;

`get_conf`: Retrieve configuration information, such as the Hub address and support chains.&#x20;

`get_history`: Query personal history records.&#x20;

`submit`: Submit the Bitcoin deposit `tx_id` of the UTXO that needs bridging, the `recipient`, `target_chain`, and the `max_fee`. The BTC canister will automatically call the ckBTC minter `update_balance` periodically. Once the update is successful, it will be submitted to the Hub.&#x20;

`add_chain`: Add support chains. (Only admin or SNS)
