Kotlin Class
class Wallet
val address: String
val chainType: ChainType
val config: WalletConfig
val owner: Owner?
val type: WalletType
suspend fun approve(transactionId: String, signer: Signer? = null): Result<Transaction, TransactionError>
suspend fun balances(tokens: List<String> = emptyList()): Result<Balances, BalanceError>
fun getSigner(): Signer?
suspend fun getTransaction(transactionId: String): Result<Transaction, TransactionError>
suspend fun send(recipient: String, tokenLocator: String, amount: Double, idempotencyKey: String? = null, signer: Signer? = null): Result<Transaction, TransactionError>
fun withSigner(newSigner: Signer): Wallet
Was this page helpful?