API
The 3A Borrowing Protocol API is engineered to facilitate seamless interaction between integrators and the core protocol contracts.
Retrieves core protocol contract addresses
GET
https://api-testnet.3adao.org/chain
Get overall protocol statistics
GET
https://api-testnet.3adao.org/protocolStats
Retrieves core protocol supported collaterals
GET
https://api-testnet.3adao.org/collaterals
Also retrieves collateral settings such as - MCR: Minimum Collateralization Ratio (%) - MLR: Minimum Liquidation Ratio (%)
Retrieves collateral price via the core protocol oracles
GET
https://api-testnet.3adao.org/collaterals/price/:collateralAddress
Path Parameters
:collateralAddress*
String
ERC20 collateral address
Retrieves the full list of core protocol contract ABIs
GET
https://api-testnet.3adao.org/abi/list
Retrieves a specific ABI of the input contract, along with its deployed address
GET
https://api-testnet.3adao.org/abi/
Example: /abi/A3A
Path Parameters
contractName*
String
target contract
Get vaults list and detailed informations
GET
https://api-testnet.3adao.org/vaults
If no vault address is provided, it will return the full list of opened vaults in the protocol.
To get a specific vault details, use /vaults/0x....00
Path Parameters
vaultAddress
String
target Vault address
Get all vaults that can be redeemed against
GET
https://api-testnet.3adao.org/redeemableVaults
If any vault can be redeemed against, it will also provide which collateral can be redeemed for EURO3
Get all liquidatable vaults
GET
https://api-testnet.3adao.org/liquidatableVaults
Get all vaults owned by a specific address
GET
https://api-testnet.3adao.org/vaultsByUser/:address
If no vault address is provided, it will return the full list of opened vaults in the protocol.
To get a specific vault details, use /vaults/0x....00
Path Parameters
:address
String
target owner address
Last updated