Hinkal API

Stuck Bridge Balance

Get balances left by a failed private send bridge payout

GET/stuck-bridge-balance
https://api.hinkal.io/stuck-bridge-balance

Lists, per token, the refunds of private send bridge payouts that failed after the payout transaction: LI.FI refunds on the caller's temporary wallets on chainId, and, for Solana and Tron, NEAR Intents refunds in the caller's NEAR Intents account. Amounts are totals before recovery fees. Temporary wallets created in the last 3 minutes are skipped, so funds still in transit are not listed. Temporary-wallet tokens are listed only when they have a USD value and are not flagged as spam or volatile. Recover with POST /recover-stuck-bridge-balance.

Read-only — requires an active session. Pass sessionId and nonce as query parameters and include x-hinkal-request-signature: secp256k1_sign(SHA256("GET /stuck-bridge-balance\n" + queryString)) in the headers.

Query parameters

NameTypeDescription
sessionIdrequiredstring (uuid)Session identifier UUID from POST /create-session
noncerequiredstring (uuid)Per-request UUID. Echoed back in the response.
chainIdrequiredstringChain ID to check (e.g. 8453 for Base, 501 for Solana mainnet, 728126428 for Tron mainnet)

Header parameters

NameTypeDescription
x-hinkal-request-signaturerequiredstringHex-encoded compact secp256k1 signature: secp256k1_sign(SHA256(binding + "\n" + payload)), where binding is "<METHOD> <routePath>" (this route's own method and path, e.g. "POST /deposit" or "GET /balance") and payload is JSON.stringify(body) for POST requests or the raw query string for GET requests. Binding the route into the signed digest stops a signature captured for one endpoint from being replayed against another. See Authentication for the full signing scheme.

Responses

200Stuck bridge balances
NameTypeDescription
successrequiredboolean
One of: true
balancesrequiredobject[]
balances[].chainIdrequiredinteger
balances[].tokenAddressrequiredstring
balances[].balancerequiredstringBalance in the token's smallest unit
noncerequiredstringEchoed per-request nonce from the request.
401Invalid signature or reused nonce
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring
500Server error
NameTypeDescription
successrequiredboolean
One of: false
errorrequiredstring