PBV

Vault status

get
/pbv/{asset}
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
assetstringRequired
Responses
200

Utilization and rates

application/json
get
/pbv/{asset}
GET /v1/pbv/{asset} HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

Utilization and rates

{
  "asset": "USDt",
  "liquidity": "15000000",
  "utilization": 0.71,
  "borrow_apr": 0.082,
  "supply_apr": 0.061
}

Deposit to vault

post
/pbv/{asset}/deposit
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
assetstringRequired
Body
anyOptional
Responses
200

Accepted

application/json
post
/pbv/{asset}/deposit
POST /v1/pbv/{asset}/deposit HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "v": 1,
  "op": "pbv.deposit",
  "amount": "10000"
}
200

Accepted

{
  "status": "accepted",
  "block_id": 120394
}

Open borrow

post
/pbv/{asset}/borrow
Authorizations
AuthorizationstringRequired

Compact signature envelope. Only keccak256 + secp256k1 are supported.

Authorization: Bondis alg=<secp256k1-keccak-eip712|secp256k1-keccak-raw>, h=<0x..>, sig=<0x..>

  • Default alg is secp256k1-keccak-eip712.
  • h is keccak256(CRR) of the Canonical Request Representation.
  • sig signs h.
Path parameters
assetstringRequired
Body
anyOptional
Responses
200

Accepted

application/json
post
/pbv/{asset}/borrow
POST /v1/pbv/{asset}/borrow HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67

{
  "v": 1,
  "op": "pbv.borrow",
  "amount": "5000",
  "collateral_asset": "BRLt"
}
200

Accepted

{
  "status": "accepted",
  "block_id": 120394
}