Tomo provides a few internal wallet services to wallet users so developers can selectively embed these services into their applications with minimum effort. Currently, these features are only available for users using social login, and users can only operate through a pop-up Tomo UI component. We will add support for extension wallet users and provide more configurable ways to invoke these services.
Service Types
Tomo supports the following basic service types:
enum WebWalletInvokeType {
SWAP = "swap", // Swap between selected token pairs
ONRAMP = "onramp", // Purchase Token by card
SEND = "send", // Send token to a given address
RECEIVE = "receive", // Display QR code and address for given token
}