APIs
Hyphen can also be integrated using APIs too.
In some scenarios, where SDK integration is not possible due to any circumstances, Hyphen APIs can be used directly to integrate the same on any Platform.
These are the same APIs that are being used in the SDK internally.

Supported Token & Chain List

get
https://hyphen-api.biconomy.io
/api/v1/admin/supported-token/list
​

Pool-Info

Get Min & Max transfer amount allowed in Hyphen for the Token. Also, you get the Available liquidity on the destination chain.
get
https://hyphen-api.biconomy.io
/api/v1/insta-exit/get-pool-info
​

System- status

Check if the cross-transfer requirement can be fulfilled or not, before initiating the deposit.
get
https://hyphen-api.biconomy.io
/api/v1/insta-exit/system-status
​

Time to initiate the cross-chain transfer

Once All the above checks are passed, now you can initiate the Transfer functionality.
  1. 1.
    For Native currency on source chain, call depositNative() method. No Approval Required.
  2. 2.
    For Erc20, call depositErc20() method. Approval is required before the deposit
​

Check Status API

Once a deposit is initiated, keep calling this API to get the status of the deposit request. If processed, it will return the exit hash along with status "PROCESSED"
get
https://hyphen-api.biconomy.io
/api/v1/insta-exit/check-status
​

Manual exit API

In some scenerios, somehow the deposit hash is not received by our watch-towers. To mitigate this, we have this manual exit API, which can be triggered after some time, if the Exit transfer transaction is not received.
get
https://hyphen-api.biconomy.io
/api/v1/insta-exit/execute
Last modified 22d ago