Skip to main content

IAddressSwap

Defined in: atomiq-sdk/src/swaps/IAddressSwap.ts:17

Interface for swaps which require a user to send funds to a specific address

Methods

getAddress()

getAddress(): string;

Defined in: atomiq-sdk/src/swaps/IAddressSwap.ts:22

An address to which the user needs to send funds on the source chain

Returns

string


getHyperlink(): string;

Defined in: atomiq-sdk/src/swaps/IAddressSwap.ts:28

A hyperlink representation of the address + amount that the user needs to sends on the source chain. This is suitable to be displayed in a form of QR code.

Returns

string