Mayson Monorepo Documentation
    Preparing search index...

    Interface IExchangeKey

    Stored exchange key (encrypted) in database

    interface IExchangeKey {
        _id?: string;
        userId: string;
        exchange: ExchangeName;
        encryptedApiKey: string;
        encryptedSecretKey: string;
        label?: string;
        permissions: { read: boolean; trade: boolean; withdraw: boolean };
        testnet: boolean;
        lastVerified?: Date;
        createdAt: Date;
        updatedAt: Date;
    }
    Index

    Properties

    _id?: string
    userId: string
    exchange: ExchangeName
    encryptedApiKey: string
    encryptedSecretKey: string
    label?: string
    permissions: { read: boolean; trade: boolean; withdraw: boolean }
    testnet: boolean
    lastVerified?: Date
    createdAt: Date
    updatedAt: Date