com.publicdomainrelay.temp.market.submitAccept
Submit the AT-URI and CID of an accept record directly to the bidder named in the winning bid's payload, settling the contract: the bidder resolves accept->bid->rfp->vm, provisions the resource, mints a market.receipt record, and returns a strong reference to it plus its submitEvent service DID reference. Must be called via PDS service-proxying (atproto-proxy); the receiver verifies the inter-service auth JWT and requires its issuer to be the DID that authored the referenced accept record. The receiver additionally verifies badge.blue attestations (network.attested.signature) across the contract graph: the accept's inline signature, the bid's and RFP's inline signatures, and the accept payload's remote-attestation binding (receipts.* cid) before provisioning.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | market.temp.publicdomainrelay.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.acceptCidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.acceptUriNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.submitEventNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.uriNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Submit the AT-URI and CID of an accept record directly to the bidder named in the winning bid's payload, settling the contract: the bidder resolves accept->bid->rfp->vm, provisions the resource, mints a market.receipt record, and returns a strong reference to it plus its submitEvent service DID reference. Must be called via PDS service-proxying (atproto-proxy); the receiver verifies the inter-service auth JWT and requires its issuer to be the DID that authored the referenced accept record. The receiver additionally verifies badge.blue attestations (network.attested.signature) across the contract graph: the accept's inline signature, the bid's and RFP's inline signatures, and the accept payload's remote-attestation binding (receipts.* cid) before provisioning.",
"errors": [
{
"name": "InvalidRequest"
},
{
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"acceptCid": {
"description": "CID of the accept record.",
"type": "string"
},
"acceptUri": {
"description": "AT-URI of the accept record.",
"type": "string"
}
},
"required": [
"acceptUri",
"acceptCid"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the newly minted receipt record.",
"type": "string"
},
"id": {
"description": "Record key (rkey) of the newly minted receipt.",
"type": "string"
},
"submitEvent": {
"description": "Service DID reference (did:web:HOST#compute_event) of the bidder's compute-event service, scoped to this receipt's strongRef. The requester calls com.publicdomainrelay.temp.market.submitEvent via PDS service-proxying using this value as the atproto-proxy target.",
"type": "string"
},
"uri": {
"description": "AT-URI of the newly minted receipt record.",
"type": "string"
}
},
"required": [
"id",
"uri",
"cid",
"submitEvent"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.publicdomainrelay.temp.market.submitAccept",
"lexicon": 1
}