BSV blockchainBSV blockchain

listCertificates

POST/listCertificates

Lists certificates

Body application/json

certifiersstring[]
typesstring[]
limitinteger
offsetinteger
privilegedboolean
privilegedReasonstring

Response

The list of certificates

totalCertificatesnumber
certificatesobject[]
Show certificates properties
typestring
subjectstring
serialNumberstring
certifierstring
revocationOutputstring
signaturestring
fieldsobject

Invalid input

Internal server error

Request
curl -X POST "http://localhost:3321/listCertificates" \
  -H "Content-Type: application/json" \
  -d '{
  "certifiers": [
    "string"
  ],
  "types": [
    "string"
  ],
  "limit": 0,
  "offset": 0,
  "privileged": false,
  "privilegedReason": "string"
}'
Response
{
  "totalCertificates": 0,
  "certificates": [
    {
      "type": "string",
      "subject": "string",
      "serialNumber": "string",
      "certifier": "string",
      "revocationOutput": "string",
      "signature": "string",
      "fields": {}
    }
  ]
}