Dfns TypeScript SDK - v0.8.35
    Preparing search index...

    Type Alias CreateWalletResponse

    type CreateWalletResponse = {
        address?: string;
        custodial: boolean;
        dateCreated: string;
        dateDeleted?: string;
        externalId?: string;
        id: string;
        name?: string;
        network: string | "KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark";
        networkInfo?: { nonceAccounts?: string[]; validatorId?: string };
        signingKey: {
            curve: "ed25519" | "secp256k1" | "stark";
            delegatedTo?: string;
            id: string;
            publicKey: string;
            scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
            storeId?: string;
        };
        status: "Active"
        | "Inactive"
        | "Archived";
        tags: string[];
        validatorId?: string;
        vaultId?: string;
    }
    Index

    Properties

    address?: string

    Wallet address on its corresponding network.

    custodial: boolean

    Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial).

    dateCreated: string

    ISO 8601 date string when wallet was created.

    dateDeleted?: string

    ISO 8601 date string when wallet was deleted.

    externalId?: string

    User-defined value that can be used to correlate the entity with an external system.

    id: string

    ID of the wallet.

    name?: string

    Wallet nickname.

    network: string | "KeyECDSA" | "KeyEdDSA" | "KeyECDSAStark"

    Network this wallet is bound to.

    networkInfo?: { nonceAccounts?: string[]; validatorId?: string }

    Additional chain-dependent information about the wallet. Only returned by Get Wallet.

    Type Declaration

    • OptionalnonceAccounts?: string[]

      Confirmed Solana durable-nonce accounts owned by this wallet.

    • OptionalvalidatorId?: string

      Id of the validator on which the wallet is created for Canton networks.

    signingKey: {
        curve: "ed25519" | "secp256k1" | "stark";
        delegatedTo?: string;
        id: string;
        publicKey: string;
        scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr";
        storeId?: string;
    }

    Details about the key underlying the wallet.

    Type Declaration

    • curve: "ed25519" | "secp256k1" | "stark"

      The elliptic curve for the key.

    • OptionaldelegatedTo?: string

      The end user ID the key (and wallet) is delegated to.

    • id: string

      Key id.

    • publicKey: string

      Hex-encoded value of the public key.

    • scheme: "DH" | "ECDSA" | "EdDSA" | "Schnorr"

      The cryptographic scheme for the key.

    • OptionalstoreId?: string

      ID of the key store the signing key lives in (see List Key Stores). Use it to tell wallets apart by custody setup, for instance to scope a policy to one store with the keyStoreId policy filter.

    status: "Active" | "Inactive" | "Archived"

    Wallet status.

    tags: string[]

    List of tags.

    validatorId?: string

    use networkInfo.validatorId instead.

    vaultId?: string

    The vault controlling this wallet, absent for ordinary wallets. A vault wallet is read-only, its funds move through the vault endpoints, and it carries its vault name and tags as its own.