Mayson Monorepo Documentation
Preparing search index...
packages/types/src
IExchangeKey
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?
user
Id
exchange
encrypted
Api
Key
encrypted
Secret
Key
label?
permissions
testnet
last
Verified?
created
At
updated
At
Properties
Optional
_
id
_id
?:
string
user
Id
userId
:
string
exchange
exchange
:
ExchangeName
encrypted
Api
Key
encryptedApiKey
:
string
encrypted
Secret
Key
encryptedSecretKey
:
string
Optional
label
label
?:
string
permissions
permissions
:
{
read
:
boolean
;
trade
:
boolean
;
withdraw
:
boolean
}
testnet
testnet
:
boolean
Optional
last
Verified
lastVerified
?:
Date
created
At
createdAt
:
Date
updated
At
updatedAt
:
Date
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
_
id
user
Id
exchange
encrypted
Api
Key
encrypted
Secret
Key
label
permissions
testnet
last
Verified
created
At
updated
At
Mayson Monorepo Documentation
Loading...
Stored exchange key (encrypted) in database