notary_notarize
Submits a work artifact for on-chain notarization once the NEAR payment is verified, returning a job ID to poll for the signed provenance record.
Instructions
Submit a work artifact for on-chain notarisation (NEAR_DIRECT payment path). PREREQUISITE: Send the NEAR amount from notary_quote to the sink account, then provide the resulting tx_hash here. The server verifies the on-chain payment and submits the notarisation. Payment binding: pass payer_account (the NEAR account that paid) and bind_sig — a base64 Ed25519 NEP-413 signature over 'AOTrust AITP-BIND v1 work_hash:<64hex> tx_hash:<tx_hash>'. Returns job_id — use notary_verify to poll for the signed PDR. Step 3 of the notarisation flow: quote -> pay -> notarize -> verify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | ||
| bind_sig | No | ||
| metadata | No | {} | |
| agent_sig | No | ||
| work_hash | Yes | ||
| agent_pubkey | No | ||
| artifact_uri | No | ||
| payer_account | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||