Class VrfKeyLinkTransactionV1Descriptor
java.lang.Object
org.symbol.sdk.symbol.descriptors.VrfKeyLinkTransactionV1Descriptor
- All Implemented Interfaces:
SymbolTransactionDescriptor,SymbolTypedDescriptor,TypedDescriptor
public final class VrfKeyLinkTransactionV1Descriptor
extends Object
implements SymbolTransactionDescriptor
- VrfKeyLinkTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for VrfKeyLinkTransactionV1Descriptor. Link an account with a VRF public key required for harvesting (V1, latest). Announce a VrfKeyLinkTransaction to link an account with a VRF public key. The linked key is used to randomize block production and leader/participant selection. This transaction is required for all accounts wishing to [harvest](/concepts/harvesting.html).
-
Constructor Summary
ConstructorsConstructorDescriptionVrfKeyLinkTransactionV1Descriptor(String linkedPublicKey, String linkAction) Creates a descriptor for VrfKeyLinkTransactionV1 from string-form values.VrfKeyLinkTransactionV1Descriptor(CryptoTypes.PublicKey linkedPublicKey, LinkAction linkAction) Creates a descriptor for VrfKeyLinkTransactionV1. -
Method Summary
-
Constructor Details
-
VrfKeyLinkTransactionV1Descriptor
public VrfKeyLinkTransactionV1Descriptor(CryptoTypes.PublicKey linkedPublicKey, LinkAction linkAction) Creates a descriptor for VrfKeyLinkTransactionV1.- Parameters:
linkedPublicKey- Linked VRF public key.linkAction- Account link action.
-
VrfKeyLinkTransactionV1Descriptor
Creates a descriptor for VrfKeyLinkTransactionV1 from string-form values.- Parameters:
linkedPublicKey- Linked VRF public key.linkAction- Account link action.
-
-
Method Details
-
toMap
- VrfKeyLinkTransactionV1Descriptor.toMap
- Builds a representation of this descriptor that can be passed to a factory function.
- Specified by:
toMapin interfaceTypedDescriptor- Returns:
- Descriptor map that can be passed to a transaction factory.
-