inference_update_provider
Update an existing marketplace provider listing in place, changing only the fields you pass. Signs the update with your unlocked payout wallet; switching accepted token requires a new price per request.
Instructions
Update your marketplace listing in place — name, models, payout address, endpoint, description, price, or accepted token — no delete/re-add. Switching acceptedToken requires a new pricePerRequest in the same call. Signs an update message with the unlocked payout wallet and PATCHes it. Only fields you pass change. Changing the endpoint re-verifies reachability before taking effect. Requires an unlocked wallet.
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name. | |
| apiKey | No | Set/replace the key your endpoint requires (locks the endpoint). | |
| models | No | New Hugging Face repo id list. | |
| gateway | No | Marketplace gateway base URL. Defaults to https://inference.aibtc.com. Use http://localhost:8787 for local dev. | |
| endpoint | No | New OpenAI-compatible base URL (re-verified before it takes effect). | |
| providerId | Yes | The provider id returned at registration (from inference_list_providers). | |
| description | No | New description. | |
| acceptedToken | No | New token callers pay in: sBTC or USDCx. Requires pricePerRequest too. | |
| payoutAddress | No | New payout address (must match the gateway network). | |
| pricePerRequest | No | Flat price per request, as a whole number in the accepted token's base unit: sats for sBTC ("5" = 5 sats), 0.000001 USDCx for USDCx ("2000" = 0.002 USDCx). No decimals. | |
| allowUnsafeGateway | No | Allow a gateway host outside localhost / *.aibtc.com. Required to send wallet-signed headers (and any apiKey) to an arbitrary host — leave unset unless you deliberately self-host the gateway. |