ledger

Number of APIs: 7

  1. Fetch the current transaction author agreement, if any GET {{baseUrl}}/ledger/taa

  2. Send a NYM registration to the ledger. POST {{baseUrl}}/ledger/register-nym?did=nigTMERH3xAx3YQ7GgB3fn&verkey=S5aXT8PEMWN9uNNxYid3hvxM5pJGgXfGDe4EnxSSmMas&alias=<string>&role=ENDORSER

  3. Get the role from the NYM registration of a public DID. GET {{baseUrl}}/ledger/get-nym-role?did=nigTMERH3xAx3YQ7GgB3fn

  4. Rotate key pair for public DID. PATCH {{baseUrl}}/ledger/rotate-public-did-keypair

  5. Get the endpoint for a DID from the ledger. GET {{baseUrl}}/ledger/did-endpoint?did=nigTMERH3xAx3YQ7GgB3fn&endpoint_type=Profile

  6. Get the verkey for a DID from the ledger. GET {{baseUrl}}/ledger/did-verkey?did=nigTMERH3xAx3YQ7GgB3fn

  7. Accept the transaction author agreement POST {{baseUrl}}/ledger/taa/accept