The PoA Bridge is a solution for transferring asset tokens between blockchain network and NEAR Intents. This service is designed as an alternative to the OmniBridge. It will help users take full advantage of the NEAR Intents protocol's capabilities for interacting with multi-chain financial products.
How to use
Get supported assets. The bridge only works with a specific list of tokens that are available for transfer to NEAR Intents. The list of supported tokens and networks can be obtained using this request.
Get deposit address. Once you have verified that your token is supported by the bridge, you can use the request to obtain a deposit address. After receiving the address, transfer the tokens to it, and they will soon be available in NEAR Intents.
Get recent deposit. The API service allows you to get the status of the most recent deposits. Simply send a request to retrieve this information.
Get withdrawal status. The bridge supports token withdrawals from NEAR Intents to the supported network. To do this, call the 'withdrawal' contract method or use the frontend. The status of the withdrawal can be obtained upon request.
JSON-RPC Endpoint
POST: https://bridge.chaindefuser.com/rpc
Requests
1. Get supported assets
Returns a list of tokens that are supported by the PoA bridge in each network.
Parameters
[]chains - chain filter.
Response
[].tokens.defuse_asset_identifier — unique id of trading asset
[].tokens.near_token_id — unique id of the token in the NEAR blockchain
[].tokens.decimals — trading asset precision. should be used for amount setup during intent creation
[].tokens.asset_name — trading asset name
[].tokens.min_deposit_amount — minimum amount of tokens to trigger transfer process
[].tokens.min_withdrawal_amount — minimum amount of tokens to initiate a withdrawal
[].tokens.withdrawal_fee — the fee charged for withdrawing the specified token