コンテンツにスキップ

CosignatureDescriptor⚓︎

CosignatureDescriptor
Type safe descriptor used to generate a descriptor map for CosignatureDescriptor.

Cosignature attached to an AggregateCompleteTransaction or AggregateBondedTransaction.

Constructors⚓︎

new CosignatureDescriptor()⚓︎

new CosignatureDescriptor(
   version, 
   signerPublicKey, 
   signature): CosignatureDescriptor

Creates a descriptor for Cosignature.

Parameters⚓︎

Parameter Type Description
version bigint Version.
signerPublicKey PublicKey Cosigner public key.
signature Signature Transaction signature.

Returns⚓︎

CosignatureDescriptor

Properties⚓︎

Property Type
rawDescriptor object
rawDescriptor.signature Signature
rawDescriptor.signerPublicKey PublicKey
rawDescriptor.version bigint

Methods⚓︎

toMap()⚓︎

toMap(): object
CosignatureDescriptor.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.