v4

latestOpenAPI 3.0.02026-08-0370073.2 KB
Mesh Economics

Commit a call to the ledger after execution

Book the call into the append-only ledger. Writes debit for caller, fee for treasury, and reward events for originator/referrer if applicable.

post/economics/api/commit

Request body

decisionobject required

CallDecision returned by /price

walletstring required
kind'fresh' | 'cached' | 'verify_only' required
result_signedstring

Full signed result (for fresh calls)

output_hashstring
signature_hashstring
referrer_walletstring
referrer_agent_idstring
agent_idstring

Response

Call committed