{"openapi":"3.1.0","info":{"title":"Sup Adaptor Marketplace API","version":"0.1.0","description":"Open, permissionless registry of Sui wallet adaptors. Discover, introspect, mine, and draft listings. KEYLESS — write helpers return drafts + UNSIGNED register() params; you sign with your own wallet. The canonical interface is the on-chain registry contract.","x-llms":"https://www.supwallet.app/llms.txt"},"servers":[{"url":"https://www.supwallet.app"}],"paths":{"/api/adaptors":{"get":{"operationId":"listAdaptors","summary":"List live adaptors (manifest + usage + reviews).","parameters":[{"name":"network","in":"query","schema":{"type":"string","enum":["testnet","mainnet"]}}],"responses":{"200":{"description":"Catalog","content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string"},"count":{"type":"integer"},"adaptors":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/adaptors/schema":{"get":{"operationId":"getSchema","summary":"Manifest + call-spec shape and registry ids per network.","responses":{"200":{"description":"Schema"}}}},"/api/adaptors/openapi.json":{"get":{"operationId":"getOpenApi","summary":"This document.","responses":{"200":{"description":"OpenAPI"}}}},"/api/adaptors/introspect":{"post":{"operationId":"introspect","summary":"Read a deployed package's ABI → witnesses + ops + classified params.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["packageId"],"properties":{"packageId":{"type":"string"},"network":{"type":"string"}}}}}},"responses":{"200":{"description":"ABI","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/adaptors/infer":{"post":{"operationId":"infer","summary":"Mine an op's past calls → fixed object ids + scalars.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["packageId","entry"],"properties":{"packageId":{"type":"string"},"entry":{"type":"string"},"network":{"type":"string"}}}}}},"responses":{"200":{"description":"Inferred call info"}}}},"/api/adaptors/draft":{"post":{"operationId":"draft","summary":"Draft a full executable manifest + UNSIGNED register() call.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["packageId","name","summary"],"properties":{"packageId":{"type":"string"},"name":{"type":"string"},"summary":{"type":"string"},"category":{"type":"string"},"witness":{"type":"string"},"network":{"type":"string"},"upload":{"type":"boolean","description":"Pin the manifest to Walrus server-side."}}}}}},"responses":{"200":{"description":"Draft","content":{"application/json":{"schema":{"type":"object","properties":{"serviceType":{"type":"string"},"manifestHash":{"type":"string"},"manifestUri":{"type":["string","null"]},"manifest":{"$ref":"#/components/schemas/Manifest"},"register":{"type":"object","description":"UNSIGNED register() call — sign with your own wallet.","properties":{"deployed":{"type":"boolean"},"target":{"type":"string"},"arguments":{"type":"array","items":{"type":"object"}}}}}}}}}}}}},"components":{"schemas":{"Manifest":{"type":"object","required":["name","category","summary","serviceType","packageId","ops"],"properties":{"name":{"type":"string"},"category":{"type":"string"},"summary":{"type":"string"},"serviceType":{"type":"string","description":"witness type 0x<pkg>::<module>::<Witness>"},"packageId":{"type":"string"},"ops":{"type":"array","items":{"type":"object"}},"supportedCoins":{"type":"array","items":{"type":"string"}},"feeBps":{"type":"integer","description":"declared integrator fee in basis points"},"feeRecipient":{"type":"string","description":"address that receives the integrator fee"},"integrator":{"type":"string","description":"integrator/partner id for attribution"},"networks":{"type":"array","items":{"type":"string","enum":["testnet","mainnet"]}}}}}}}