REIN
Sign inGet started
API reference

rein_history

rein_history(limit?, offset?)

Returns a paginated list of Receipt PDAs for your vault — each containing the full on-chain spend record. Useful for cost-per-task reporting and audit exports.

Parameters

limit
number
Maximum receipts to return. Defaults to 20. Max 100.
offset
number
Number of receipts to skip for pagination. Defaults to 0.

Returns

Array of SpendReceipt objects, newest first. See rein_spend for the full receipt shape.

Example

const receipts = await rein.history({ limit: 10 }); for (const r of receipts) { console.log(r.amount_usdc, r.recipient_hash, r.timestamp); }
request_step_up →rein_balance