Anchor

class Anchor

Build on/off ramps with anchors.

Functions

Link copied to clipboard
suspend fun sep1(): TomlInfo

Get anchor information from a TOML file.

Link copied to clipboard
suspend fun sep10(): Sep10

Create new auth object to authenticate account with the anchor using SEP-10.

Link copied to clipboard
suspend fun sep12(token: AuthToken): Sep12

Create new customer object to handle customer records with the anchor using SEP-12.

Link copied to clipboard
fun sep24(): Sep24

Creates new interactive flow for given anchor. It can be used for withdrawal or deposit.

Extensions

Link copied to clipboard
suspend fun Anchor.auth(): Auth
Link copied to clipboard
suspend fun Anchor.customer(authToken: AuthToken): Customer
Link copied to clipboard
suspend fun Anchor.getInfo(): TomlInfo
Link copied to clipboard
fun Anchor.interactive(): Interactive