Bridge

Report missing observed deposit from origin chain

post
/bridge/report

Deposits are initiated on the origin chain by interacting with the Bondis Bridge contract. This endpoint lets a client notify validators about an origin-chain transaction that should be observed but hasn't been reflected on Bondis yet.

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.
Body
anyOptional
Responses
post
/bridge/report
POST /v1/bridge/report HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 72

{
  "v": 1,
  "op": "bridge.report",
  "origin_chain": "ethereum",
  "tx_hash": "0x…"
}
200

Report accepted

{
  "intent_id": "brg_9xz",
  "status": "observed",
  "chain": "ethereum",
  "tx_hash": "0x…"
}

Bridge status by intent id

get
/bridge/{intentId}
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
intentIdstringRequired
Responses
get
/bridge/{intentId}
GET /v1/bridge/{intentId} HTTP/1.1
Host: api.bondis.xyz
Authorization: YOUR_API_KEY
Accept: */*
200

Current status

{
  "intent_id": "brg_9xz",
  "status": "minted",
  "chain": "ethereum",
  "tx_hash": "0x…",
  "block_id": 120394
}