Nimiq
consensus

Send new htlc transaction

Sends a transaction creating a new HTLC contract to the network.

sendNewHtlcTransactionrpc method

Parameters

walletstringrequired
htlcSenderstringrequired
htlcRecipientstringrequired
hashRootstringrequired
hashCountnumberrequired
timeoutnumberrequired
valuenumberrequired
feenumberrequired
validityStartHeightstring | numberrequired

Response fields

Blake2bHashstring

Interactive playground

Try the method against a public RPC endpoint.

Copyright © 2026