DetachedCosignatureDescriptor⚓︎
- DetachedCosignatureDescriptor
- Type safe descriptor used to generate a descriptor map for DetachedCosignatureDescriptor.
Cosignature detached from an AggregateCompleteTransaction or AggregateBondedTransaction.
Constructors⚓︎
new DetachedCosignatureDescriptor()⚓︎
new DetachedCosignatureDescriptor(
version,
signerPublicKey,
signature,
parentHash): DetachedCosignatureDescriptor
Creates a descriptor for DetachedCosignature.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
version |
bigint |
Version. |
signerPublicKey |
PublicKey |
Cosigner public key. |
signature |
Signature |
Transaction signature. |
parentHash |
Hash256 |
Hash of the AggregateBondedTransaction that is signed by this cosignature. |
Returns⚓︎
DetachedCosignatureDescriptor
Properties⚓︎
| Property | Type |
|---|---|
rawDescriptor |
object |
rawDescriptor.parentHash |
Hash256 |
rawDescriptor.signature |
Signature |
rawDescriptor.signerPublicKey |
PublicKey |
rawDescriptor.version |
bigint |
Methods⚓︎
toMap()⚓︎
- DetachedCosignatureDescriptor.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.