Get a provider's certificate
Returns the cached performance certificate for a given provider account.
Returns the performance certificate this node holds for a given provider. A node answers from its own certificate when it is that provider, and otherwise from the certificates it has cached from gossip.
/certificate/{provider}provider is the provider's hex-encoded ed25519 public key.
curl https://<node>/certificate/<provider>The response body is the same certificate object documented on Get this node's certificate.
Errors
{ "error": "no certificate for provider" }That response carries HTTP 404 — returned both for an address the node holds
no certificate for and for one that is not a provider at all. Omitting the
address entirely (/certificate/) does not reach this endpoint; the router
answers 404 for it.
Consistency
Certificates reach a node by gossip, so this read reflects only what that
particular node has cached. A provider whose certificate has not yet propagated,
or whose certificate has been superseded, can read differently from one node to
the next. The value that binds a lease is the certificate_hash recorded on the
lease block, not whatever the provider is advertising now.