On-chain
On-chain connection status
GET
/api/v2/onchain/statusWhether an xpub is registered, its fingerprint, and how many addresses have been issued from it.
- Dashboard-only (merchant JWT).
- With nothing registered, responds
{ success: true, connected: false }. addresses_issuedis the next derivation index — i.e. how many addresses have been handed out.
Authentication
Requires a dashboard session JWT in the Authorization: Bearer … header.
GET
/api/v2/onchain/statuscurl "https://api.trevi.cash/api/v2/onchain/status" --header "Authorization: Bearer $TREVI_JWT"Was this page helpful?
