Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Wallets V1
Swift Class
class Wallet
var address: String { get }
func addSigner(_ config: SignerConfig) async throws(WalletError)
func approve(transactionId id: String) async throws(TransactionError) -> Transaction
func balance(of tokens: [CryptoCurrency] = []) async throws(WalletError) -> Balances
func balances(_ tokens: [CryptoCurrency] = [], _ chains: [Chain] = []) async throws(WalletError) -> Balance
func fund(token: CryptoCurrency, amount: Int) async throws(WalletError)
func listTransfers(tokens: [CryptoCurrency]) async throws(WalletError) -> TransferListResult
func needsRecovery() async -> Bool
func nfts(page: Int, nftsPerPage: Int) async throws(WalletError) -> [NFT]
func recover() async throws(WalletError)
func removeSigner(locator: String) async throws(TransactionError) -> Transaction
func send(_ walletLocator: String, _ tokenLocator: String, _ amount: Double, idempotencyKey: String? = nil) async throws(TransactionError) -> TransactionSummary
func send(token: CryptoCurrency, recipient: TransferTokenRecipient, amount: String) async throws(TransactionError) -> Transaction
func signerIsRegistered(_ locator: String) async -> Bool
func transferToken(tokenId: String? = nil, recipient: TransferTokenRecipient, amount: String) async throws(TransactionError) -> Transaction
func useSigner(_ config: SignerConfig) async throws(WalletError)
Was this page helpful?