NodeKeyLinkTransactionV1Descriptor⚓︎
- NodeKeyLinkTransactionV1Descriptor
- Type safe descriptor used to generate a descriptor map for NodeKeyLinkTransactionV1Descriptor.
This transaction is required for all accounts willing to activate delegated harvesting (V1, latest). Announce a NodeKeyLinkTransaction to link an account with a public key used by TLS to create sessions.
Constructors⚓︎
new NodeKeyLinkTransactionV1Descriptor()⚓︎
new NodeKeyLinkTransactionV1Descriptor(linkedPublicKey, linkAction): NodeKeyLinkTransactionV1Descriptor
Creates a descriptor for NodeKeyLinkTransactionV1.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
linkedPublicKey |
PublicKey |
Linked public key. |
linkAction |
LinkAction |
Account link action. |
Returns⚓︎
NodeKeyLinkTransactionV1Descriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
rawDescriptor.linkAction |
LinkAction |
rawDescriptor.linkedPublicKey |
PublicKey |
rawDescriptor.type |
string |
Methods⚓︎
toMap()⚓︎
- NodeKeyLinkTransactionV1Descriptor.toMap
- Builds a representation of this descriptor that can be passed to a factory function.
Returns⚓︎
object
Descriptor that can be passed to a factory function.