{"api_version":"npl-passport-buyer-2026-11-16","base":{"atomic_units":"30000","availability":"COLLECTION_DISABLED_OWNER_DEFERRED","currency":"USDC","network":"eip155:8453","scheme":"exact","tariff_revision":"EXPLICIT_OWNER_DECISION_2026_10_15","tariff_sha256":"ff5142cc723fd3c3445dba1b12e079f572e4b53da3b6a4a57dca0916e60fc37a","tariff_url":"https://npl.kinganlogic.com/machines/base-tariff.json","unit":"operation","usd":"0.03"},"call_page":"https://npl.kinganlogic.com/machines/bsc-currentness-anti-snapback","content_type":"application/json","contract_revision":"2026-11-17-functions.2","contract_url":"https://npl.kinganlogic.com/machines/bsc-currentness-anti-snapback.json","example":{"access_grant":"SYNTHETIC-NON-USABLE-GRANT-OBTAIN-YOURS-IN-HOME","expected_hash":"0000000000000000000000000000000000000000000000000000000000000000"},"example_scope":"Supplied input","example_status":"PRIVATE_VALUE_TEMPLATE_SCHEMA_ONLY","family":"BSC","gateway_only_headers":{"PAYMENT-CONTEXT":"Cloudflare-issued Ed25519 signed JWT; never construct or supply a local fixture as payment proof"},"headers":{"Content-Type":"application/json","Idempotency-Key":"8..128 ASCII letters, digits, underscore or hyphen; retain for retries","PAYMENT-SIGNATURE":"Buyer wallet x402 authorization, only after an active Base gateway challenge","X-NPL-Buyer-Key":"Optional private random base64url retry key, 43..128 characters; persist before authorization"},"home_requirement":"Obtain runtime_state in signed-in Home, then POST it to /api/home/machines/state-digest and /api/home/machines/currentness-grant. Replace expected_hash and access_grant. Grant lifetime at most 900 seconds.","implementation_path":"Verified currentness grant in existing Home service","implemented_defaults":{},"mainnet_ccd":{"availability":"UNAVAILABLE_NO_APPROVED_OPERATION_TARIFF"},"mcp":{"authentication":"None for free discovery","input_schema":{"additionalProperties":false,"properties":{},"type":"object"},"paid_execution":false,"sequence":[{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"npl-buyer","version":"1"},"protocolVersion":"2025-03-26"}},{"jsonrpc":"2.0","method":"notifications/initialized"},{"id":2,"jsonrpc":"2.0","method":"tools/list"},{"id":3,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{},"name":"list_npl_capabilities"}}],"tools":["list_npl_capabilities","inspect_npl_pricing"],"transport":"https://npl.kinganlogic.com/mcp"},"method":"POST","name":"Currentness / anti-snapback check","openapi":{"operationId":"bsc_currentness_anti_snapback","url":"https://npl.kinganlogic.com/openapi.json"},"operation":"bsc-currentness-anti-snapback","paid_call":"After owner activation, an x402-capable client obtains a gateway challenge and resends the same body with PAYMENT-SIGNATURE. Keep response headers and private result. The unpaid curl below deliberately does not authorize a debit.","participant_testnet":{"available":false,"instructions":null,"network_fees":"Separate buyer-paid fees","price_microccd":null,"scope":"Passport only; other operations are not offered on this rail"},"preflight_curl":"curl -sS -i -X POST https://npl.kinganlogic.com/api/machine/preflight \\\n  -H 'Content-Type: application/json' \\\n  --data-binary '{\"operation\":\"bsc-currentness-anti-snapback\",\"input\":{\"expected_hash\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"access_grant\":\"SYNTHETIC-NON-USABLE-GRANT-OBTAIN-YOURS-IN-HOME\"}}'","purpose":"Check a retained owner-state digest under a short-lived grant from signed-in Home. No private Map contents or execution permission are returned.","recovery":{"authentication":"Authorization: Bearer <recovery.credential from the private original response>","curl":"curl -sS \"https://npl.kinganlogic.com/api/machine/receipts/${NPL_RESULT_ID}\" -H \"Authorization: Bearer ${NPL_RECOVERY_CREDENTIAL}\"","instructions":"Retain exact request, complete response, result_id and private recovery credential. Set the two variables from that response. Recovery requests do not debit. Wrong credentials return 404. For an interrupted Testnet response, retry the original order and transaction; do not transfer again.","method":"GET","url_template":"https://npl.kinganlogic.com/api/machine/receipts/{result_id}"},"request_schema":{"oneOf":[{"additionalProperties":false,"properties":{"access_grant":{"description":"A short-lived owner-issued currentness capability for paid machine access.","maxLength":256,"minLength":1,"type":"string"},"expected_hash":{"pattern":"^[a-f0-9]{64}$","type":"string"},"field_refs":{"items":{"enum":["resident_understanding","workshop_selected_text","safe_display_name","interruption_preference"]},"type":"array","uniqueItems":true}},"required":["expected_hash","access_grant"],"type":"object"},{"additionalProperties":false,"properties":{"input":{"additionalProperties":false,"properties":{"access_grant":{"description":"A short-lived owner-issued currentness capability for paid machine access.","maxLength":256,"minLength":1,"type":"string"},"expected_hash":{"pattern":"^[a-f0-9]{64}$","type":"string"},"field_refs":{"items":{"enum":["resident_understanding","workshop_selected_text","safe_display_name","interruption_preference"]},"type":"array","uniqueItems":true}},"required":["expected_hash","access_grant"],"type":"object"}},"required":["input"],"type":"object"}]},"responses":{"200":"Complete evaluated result or same recovered result. HOLD is a deliverable.","400":"Invalid schema, malformed JSON or invalid inner payload","401":"Invalid payment context","402":"Payment required; an application 402 alone is not gateway purchase evidence","403":"Currentness capability missing, expired, revoked or outside scope","404":"Private state or receipt unavailable","409":"Conflicting idempotency or paid request","410":"Retained result deleted","503":"Required private storage/provider unavailable"},"schema":"NPL_OPERATION_CONTRACT_V1","success_example":{"created_at_utc":"2026-11-16T00:00:00Z","currency":"USD","data_permission_from_payment":false,"hash_scheme":"NPL_CANONICAL_JSON_SHA256_V1","input_hash_scope":"CANONICAL_JSON_OF_OPERATION_INPUT","input_sha256":"eb429884e2c207ff42a528bc501340451d7c95e4c82c8a69471db187b79a8613","operation":"bsc-currentness-anti-snapback","owner_ref":"synthetic-public-example","price_atomic_units":"30000","receipt_core_sha256":"e481224ee0100ac2e3517e534cfcd8a0d5586fb2d146279b406b40e9414e798d","receipt_hash_fields":["created_at_utc","currency","data_permission_from_payment","hash_scheme","input_hash_scope","input_sha256","operation","owner_ref","price_atomic_units","result","result_hash_scope","result_id","result_sha256","schema","version"],"result":{"checked_at_utc":"2026-11-16T00:00:00Z","current_hash":"04d3576b4f6f3fab3e4a87f76ae3b261faa3306e2a8be5e2423b20b2bac38fe3","currentness_matches":false,"data_permission_granted":false,"decision":"STALE","expected_hash":"0000000000000000000000000000000000000000000000000000000000000000","field_currentness":{},"future_use_allowed":false,"runtime_id":"synthetic-currentness-example","scope":"SERVER_SEALED_HOME_STATE","selected_fields_current":false,"use_scope":"CURRENTNESS_ONLY"},"result_hash_scope":"CANONICAL_JSON_OF_RESULT_FIELD","result_id":"00000000-0000-4000-8000-000000000001","result_sha256":"ae80951cbc2b4045a13ef2490a902a69a8678f7ca94a5150f14718df9c1c964a","schema":"NPL_COMPLETE_MACHINE_RESULT_V1","version":"npl-passport-buyer-2026-11-16"},"success_example_status":"LOCAL_SYNTHETIC_EVALUATOR_OUTPUT_NOT_PAID_ACCEPTANCE","success_schema":{"properties":{"billing":{"type":"object"},"created_at_utc":{"type":"string"},"currency":{"enum":["USD","CCD"]},"data_permission_from_payment":{"const":false},"input_hash_scope":{"const":"CANONICAL_JSON_OF_OPERATION_INPUT"},"input_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"operation":{"const":"bsc-currentness-anti-snapback"},"owner_ref":{"type":"string"},"price_atomic_units":{"pattern":"^[0-9]+$","type":"string"},"receipt_core_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"receipt_hash_fields":{"items":{"type":"string"},"type":"array"},"recovery":{"properties":{"credential":{"description":"Private Bearer capability. Never include it in public evidence.","type":"string"},"path":{"type":"string"}},"required":["path","credential"],"type":"object"},"replayed":{"type":"boolean"},"result":{"required":["checked_at_utc","current_hash","currentness_matches","data_permission_granted","decision","expected_hash","field_currentness","future_use_allowed","runtime_id","scope","selected_fields_current","use_scope"],"type":"object"},"result_hash_scope":{"const":"CANONICAL_JSON_OF_RESULT_FIELD"},"result_id":{"format":"uuid","type":"string"},"result_sha256":{"pattern":"^[a-f0-9]{64}$","type":"string"},"schema":{"const":"NPL_COMPLETE_MACHINE_RESULT_V1"},"version":{"type":"string"}},"required":["schema","version","operation","result_id","result","input_sha256","result_sha256","receipt_core_sha256","receipt_hash_fields"],"type":"object"},"unpaid_curl":"curl -sS -i -X POST https://npl.kinganlogic.com/api/machine/bsc-currentness-anti-snapback \\\n  -H 'Content-Type: application/json' \\\n  -H 'Idempotency-Key: npl-synthetic-example-0001' \\\n  --data-binary '{\"expected_hash\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"access_grant\":\"SYNTHETIC-NON-USABLE-GRANT-OBTAIN-YOURS-IN-HOME\"}'","url":"https://npl.kinganlogic.com/api/machine/bsc-currentness-anti-snapback","verification":{"guide":"https://npl.kinganlogic.com/verification","offline":"https://npl.kinganlogic.com/capabilities/passport-oci","scope":"Canonical hashes and supplied-packet predicates, not issuer signatures, hardware attestation or settlement"}}