Skip to content

HTLC Refund

HTLC transactions are not currently active on Solar's Mainnet.

TypeGroup Type
1 10

A Hashed Time-Lock Contract (HTLC) is a set of transaction types that permits a designated party (the "sender/seller") to LOCK funds by disclosing the preimage (secret) of a hash. It also permits a second party (the "recipient/buyer") to CLAIM the funds, or after a timeout is reached enter a REFUND situation.

The purpose of this transaction is for the sender to retrieve their locked funds, in the case of the recipient not claiming them using a CLAIM transactions.

API Endpoints Link
AJV Schema Base | HTLC Refund


    "version": 3,
    "network": 63,
    "typeGroup": 1,
    "type": 10,
    "nonce": "11",
    "senderPublicKey": "034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192",
    "fee": "0",
    "amount": "0",
    "asset": {
        "refund": {
            "lockTransactionId": "3aade2b98391ba7230252530cdd5124183a9f4e582660666ae873da48173ea5f"




Key Pos. Size
Header: [0] 1 0xff
Version: [1] 1 0x03
Network: [2] 1 0x3f
TypeGroup: [3] 4 0x01000000
Type: [7] 2 0x0a00
Nonce: [9] 8 0x0b00000000000000
SenderPublicKey: [17] 33 0x034151a3ec46b5670a682b0a63394f863587d1bc97483b1b6c70eb58e7f0aed192
Fee: [50] 8 0x0000000000000000
Memo Length: [58] 1 0x00
Lock Id: [59] 32 0x3aade2b98391ba7230252530cdd5124183a9f4e582660666ae873da48173ea5f