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

Start a token swap between different chains (V1, latest). Use a SecretLockTransaction to transfer mosaics between two accounts. The mosaics sent remain locked until a valid SecretProofTransaction unlocks them. The default expiration date is 365 days after announcement (See the maxSecretLockDuration network property). If the lock expires before a valid SecretProofTransaction is announced the locked amount goes back to the initiator of the SecretLockTransaction.

Constructors

Properties

Methods

Constructors

Properties

rawDescriptor: {
    duration: BlockDuration;
    hashAlgorithm: LockHashAlgorithm;
    mosaic: any;
    recipientAddress: Address;
    secret: Hash256;
    type: string;
}

Type declaration

Methods

  • 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.