API
eip_1559_transaction_price
: Retrieve the current gas fee for the target chain.
estimate_current_wrap_fee
: Estimate the target chain's gas fee paying with the token being bridged.
get_canister_status
: Retrieve canister status data.
get_events
: Returns a set of events at the minter.
get_history
: Return historical data supporting various filters.
get_minter_info
: Return detailed canister information, including configuration details, etc.
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
.
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.
get_conf
: Retrieve configuration information, such as the Hub address and support chains.
get_history
: Query personal history records.
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.
add_chain
: Add support chains. (Only admin or SNS)
Last updated