Pre-compute and persist engine data for a wallet
POST
/api/wallets/{address}/precompute
const url = 'https://api.qeychain.xyz/api/wallets/example/precompute?force=false';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url 'https://api.qeychain.xyz/api/wallets/example/precompute?force=false'Fire-and-forget: returns immediately with 202 Accepted while the engine runs in the background. Call this from an external app so that when the user later opens the dashboard, data loads instantly from DB (~1s instead of ~14s). If data is already fresh, returns 200 with no background work.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”address
required
Address
string
Query Parameters
Section titled “Query Parameters”owned_wallets
force
Force
Force recompute even if DB already has fresh data.
boolean
Force recompute even if DB already has fresh data.
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleBad Request
Not Found
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}Internal Server Error
