CreateWalletResult

data class CreateWalletResult(val credentialId: String, val contractId: String, val publicKey: ByteArray, val signedTransactionXdr: String, val transactionHash: String? = null, val nickname: String? = null)

Result of a wallet creation operation.

Contains the credential ID, contract address, public key, the signed deploy transaction XDR (always present), and an optional transaction hash if the wallet was auto-submitted.

The signedTransactionXdr field is always populated — the deploy transaction is built and signed regardless of autoSubmit. When autoSubmit is false, the caller can use this XDR to submit the transaction externally or store it for later submission via OZWalletOperations.deployPendingCredential.

Constructors

Link copied to clipboard
constructor(credentialId: String, contractId: String, publicKey: ByteArray, signedTransactionXdr: String, transactionHash: String? = null, nickname: String? = null)

Properties

Link copied to clipboard

The smart account contract address (C-address)

Link copied to clipboard

The credential ID (Base64URL-encoded, no padding)

Link copied to clipboard

The user display name provided during wallet creation

Link copied to clipboard

The uncompressed secp256r1 public key (65 bytes)

Link copied to clipboard

The base64-encoded signed deploy transaction envelope

Link copied to clipboard

The transaction hash if auto-submitted, null otherwise

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int