notary_notarize
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"work_hash": "<work_hash>",
"tx_hash": "<tx_hash>"
},
"name": "notary_notarize"
}
}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 | |||