Interface DidSet

All Superinterfaces:
Transaction
All Known Implementing Classes:
ImmutableDidSet

@Beta @Immutable public interface DidSet extends Transaction
Object mapping for the DIDSet transaction.

This constant will be marked Beta until the featureDID amendment is enabled on mainnet. Its API is subject to change.

  • Method Details

    • builder

      static ImmutableDidSet.Builder builder()
      Construct a DidSet builder.
      Returns:
      An ImmutableDidSet.Builder.
    • flags

      @Default default TransactionFlags flags()
      Set of TransactionFlagss for this DidSet, which only allows the tfFullyCanonicalSig flag, which is deprecated.

      The value of the flags can be set manually, but exists mostly for JSON serialization/deserialization only and for proper signature computation in rippled.

      Returns:
      Always TransactionFlags.EMPTY.
    • didDocument

      Optional<DidDocument> didDocument()
      The DID document for this DID. This field should contain a DID Document per W3C standards, however its contents are not checked for validity by the XRPL.
      Returns:
      An optionally-present DidDocument.
    • uri

      The Universal Resource Identifier associated with the DID.
      Returns:
      An optionally-present DidUri.
    • data

      Optional<DidData> data()
      The public attestations of identity credentials associated with the DID.
      Returns:
      An optionalyl-present DidData.