Swift Class
class Wallet
var address: String { get }
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 nfts(page: Int, nftsPerPage: Int) async throws(WalletError) -> [NFT]
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 transferToken(tokenId: String? = nil, recipient: TransferTokenRecipient, amount: String) async throws(TransactionError) -> Transaction
Was this page helpful?