Get desktop application:
View/edit binary Protocol Buffers messages
The necessary data to add a key to a DID.
Used in:
The key to include.
Used in:
Used in:
A signed operation, necessary to post anything on the blockchain.
The block content.
The possible operations affecting the blockchain.
Used in:
The actual operation.
Used to create a public DID.
Used to update an existing public DID.
Used to issue a batch of credentials.
Used to revoke a credential batch.
Used to announce new protocol update
Used to deactivate DID
* Information about a ledger block. See Ledger documentation for details on which ledgers are possible.
Used in:
Number of the block in the ledger.
Index of the transaction within the block.
Timestamp when the block was created.
* Holds the compressed representation of data needed to recover Elliptic Curve (EC)'s public key. @exclude TODO: Consider renaming this to CompressedECPublicKeyData.
Used in:
The curve name, like secp256k1.
compressed Elliptic Curve (EC) public key data.
The operation to create a public DID.
Used in:
DIDCreationData with public keys and services
The data necessary to create a DID.
Used in:
The keys that belong to this DID Document.
The list of services that belong to this DID Document.
Used in:
Represents a credential's batch. Check the protocol docs to understand it.
Used in:
The DID suffix that issues the credential's batch.
The Merkle root for the credential's batch.
The DID Document's data.
The DID suffix, where DID is in form did:prism:[DID suffix]
The keys that belong to this DID Document.
The list of services that belong to this DID Document.
* Represents a date by its parts (day, month, year).
A positive value.
A value in the [1, 12] range.
A value in the [1, 31] range (depending on the month, the maximum value might be 28).
Used in:
The hash of the operation that issued the DID.
DID Suffix of the DID to be deactivated
Used in:
(message has no fields)
* Holds the necessary data to recover an Elliptic Curve (EC)'s public key. @exclude TODO: Consider renaming this to ECPublicKeyData.
Used in:
The curve name, like secp256k1.
The x coordinate, represented as bytes.
The y coordinate, represented as bytes.
* A request that can be used to check service health. All PRISM services expose an RPC that accepts this message as request.
(message has no fields)
* A response that represents service health. Status code 0 with empty response represents a healthy and reachable service, while all other status codes represent issues with the service.
(message has no fields)
Specifies the data to issue a credential batch.
Used in:
The actual credential batch data.
Used in:
Every key has a single purpose:
Used in:
UNKNOWN_KEY is an invalid value - Protobuf uses 0 if no value is provided and we want the user to explicitly choose the usage.
This is the most privileged key-type, when any other key is lost, you could use this to recover the others.
This key-type is used for issuing credentials only, it should be kept in a safe place to avoid malicious credentials being issued.
This key-type is used to establish a shared symmetric key for secure end-to end communication use this key-type to encrypt the content.
This key-type is used to authenticate requests or logging into services.
This key-type is used for revoking credentials only, it should be kept in a safe place to avoid malicious credentials being issued.
This key-type is used to specify a verification method that might be used by the DID subject to invoke a cryptographic capability, such as the authorization to update the DID Document.
This is used to specify a mechanism that might be used by the DID subject to delegate a cryptographic capability to another party, such as delegating the authority to access a specific HTTP API to a subordinate.
* The supported ledger types. Specifies which chain is used for storing transactions.
Used in: ,
Invalid default value.
Store transactions in memory instead of blockchain, used only for development.
Cardano testnet, used for testing.
Cardano mainnet, used in production.
Ledger data associated to a protocol event. Note that the difference with TransactionInfo is that this message contains a full timestamp, and there is no expectation for it to be optional.
Used in: ,
ID of the transaction.
Ledger the transaction was published to.
The timestamp of the protocol event.
Used to encode the responses of the operations issued in an AtalaBlock.
Represents the response provided by IssueCredentialBatchOperation.
Represents the response provided by CreateDIDOperation.
Represents the response provided by UpdateDIDOperation.
Represents the response provided by RevokeCredentialOperation.
Represents the response provided by ProtocolVersionUpdateOperation.
Operation identifier.
Error description if PRISM Node service haven't scheduled the operation.
* The status of an Atala operation.
The operation hasn't been received by the node service yet.
The transaction containing this operation hasn't been published to the chain yet.
The transaction containing this operation has been published to the chain, but hasn't been processed by PRISM yet.
The operation has been successfully applied to the PRISM.
The operation has been processed by PRISM, but rejected because of some error.
Used in:
Represent the major version
Represent the minor version
Used in:
(optional) name of the version
Cardano block number that tells since which block the update is enforced
New major and minor version to be announced, If major value changes, the node MUST stop issuing and reading operations, and upgrade before `effective_since` because the new protocol version. If minor value changes, the node can opt to not update. All events _published_ by this node would be also understood by other nodes with the same major version. However, there may be new events that this node won't _read_
Specifies the protocol version update
Used in:
The DID suffix that proposes the protocol update.
Information of the new version
Used in:
(message has no fields)
* Represents a public key with metadata, necessary for a DID document. @exclude TODO: Consider renaming this to something more specific, like DIDPublicKey.
Used in: , ,
The key identifier within the DID Document.
The key's purpose.
The ledger details related to the event that added the key to the DID Document.
The ledger details related to the event that revoked the key to the DID Document.
The key's representation.
The Elliptic Curve (EC) key.
Compressed Elliptic Curve (EC) key.
The necessary data to remove a key from a DID.
Used in:
the key id to remove
Used in:
Specifies the credentials to revoke (the whole batch, or just a subset of it).
Used in:
The hash of the operation that issued the batch.
The corresponding batch ID, as returned in IssueCredentialBatchResponse.
The hashes of the credentials to revoke. If empty, the full batch is revoked.
Used in:
(message has no fields)
Used in: , ,
(when present) The ledger details related to the event that added the service.
(when present) The ledger details related to the event that revoked the service.
A signed operation, necessary to post anything on the blockchain.
Used in:
The key ID used to sign the operation, it must belong to the DID that signs the operation.
The actual signature.
The operation that was signed.
* This enum provides a way for some RPC requests to specify the direction so that the response values are sorted the way you want them to. Note that it specifies the direction only and doesn't say anything about a comparator (e.g. natural order, some RPC-specific order etc).
Nothing provided, each API can define whether to fail or take a default value (commonly ASCENDING).
Sort the results in ascending order.
Sort the results in descending order.
* Represents a time interval between two given timestamps. The message represents a closed interval (i.e. both ends are inclusive and mandatory).
* The starting timestamp. start_timestamp must be before or equal to end_timestamp.
* The ending timestamp. end_timestamp must be after or equal to start_timestamp.
Includes timestamping details about a blockchain's block.
Used in:
The transaction index inside the underlying block.
The operation index inside the AtalaBlock.
The timestamp provided from the underlying blockchain.
* Information about a ledger transaction and the block that the transaction is included in.
Transaction ID.
Ledger the transaction was published to.
Block the transaction was included in.
The potential details that can be updated in a DID.
Used in:
The action to perform.
Used to add a new key to the DID.
Used to remove a key from the DID.
Used to add a new service to a DID,
Used to remove an existing service from a DID,
Used to Update a list of service endpoints of a given service on a given DID.
Specifies the necessary data to update a public DID.
Used in:
The hash of the operation that issued the DID.
@exclude TODO: To be redefined after we start using this operation.
The actual updates to perform on the DID.
Used in:
(message has no fields)
Used in:
scoped to the did, unique per did
new type if provided
Will replace all existing service endpoints of the service with provided ones