nayori_provider_submit_committed
Submit provider work for an evaluable Nayori job with evidence and acceptance criteria, producing an on-chain commitment and returning a txid after verifying the criteria hash.
Instructions
WRITE (mainnet). Act as a PROVIDER: submit work for an evaluable job with an evidence commitment (escrow submit-work). Reads the job fresh, splits its on-chain description into plain text + criteria hash, recomputes the commitments with @perkos/agent-sdk from your acceptanceCriteria and evidence, and REFUSES unless the criteria hash equals the one committed on-chain, the signer is the assigned provider and status is 1 (funded). The deliverable is 36 bytes: 'ny1:' + the 32 raw bytes of the evidence hash. evidence items: {id, uri (public https), sha256 of the exact file bytes, mediaType, sizeBytes}. Keep the exact inputs for nayori_evaluation_request. Use this instead of nayori_submit_work when the job description ends with 'nayori-criteria-v1:'. Returns a txid; broadcast is not confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| jobId | Yes | ||
| evidence | Yes | Evidence files: public https URI, SHA-256 of the exact bytes, media type and size. | |
| acceptanceCriteria | Yes | The job's acceptance criteria. They are hashed into the on-chain commitment, so keep the exact text. |