Blockchain

Get the issuer's blockchain address

get

Retrieves the blockchain address used by the issuer

Responses
chevron-right
200

Success

application/json

Response DTO for blockchain address

addressstring · min: 1Required

Blockchain address of the issuer

Example: 0x1234567890abcdef1234567890abcdef12345678Pattern: ^0x[a-fA-F0-9]{40}$
get
/api/v1/blockchain/address

Anchor the issuer's DID on blockchain Creates a blockchain transaction to register the issuer's DID

post

Anchors the issuer's DID on the blockchain

Responses
chevron-right
200

Success

application/json

Response DTO for anchoring DID on blockchain

didstringRequired

DID anchored on blockchain

Example: did:empe:0x1234567890abcdef1234567890abcdef12345678
post
/api/v1/blockchain/dids

Verify a DID on the blockchain Retrieves and validates a DID document from the blockchain

get

Verifies if a DID exists on the blockchain

Path parameters
didstringRequired

The DID to verify

Responses
chevron-right
200

Success

application/json

Response DTO for verifying DID on blockchain

get
/api/v1/blockchain/dids/{did}

Update the revocation list on the blockchain

post

Updates the revocation list on the blockchain based on the current status of the credentials It fetches all credentials from the database, checks their status, and updates the revocation list accordingly.

Authorizations
x-client-secretstringRequired
Path parameters
idnumber · doubleRequired

The ID of the revocation list to update

Responses
chevron-right
200

OK

No content

post
/api/v1/blockchain/revocations/{id}

No content

Last updated