Skip to main content
GET
Returns calldata to refund an expired EVM-sourced HTLC, built from the swap's current hash and timelock (after a rehash, the new ones).

Path Parameters

id
string<uuid>
required

Swap ID

Response

Refund calldata

Response containing refund calldata for an EVM-to-Arkade swap.

calldata
string
required

ABI-encoded calldata for the refund call on that contract

coordinator_address
string
required

The contract the calldata is sent to: the coordinator (refundTo) up to HTLCErc20 v6 / HTLCNative v1, the HTLC itself (refundFor) from HTLCErc20 v7 / HTLCNative v2 on. Named for the former.