Skip to main content

CreateExchangeInput

CreateExchangeInput is used for create Exchange object. Input was generated by ent.

input CreateExchangeInput {
deletedAt: Time
encryptionMode: ExchangeEncryptionMode
keyCustodyBackend: ExchangeKeyCustodyBackend
keyID: String
keyVersion: Int
algorithm: ExchangeEncryptionAlgorithm
encryptedAt: Time
name: String!
config: Map
ownerID: String!
createdAt: Time
updatedAt: Time
botIDs: [ID!]
}

Fields

CreateExchangeInput.deletedAt ● Time scalar

Soft-delete timestamp. If set, record is considered deleted.

CreateExchangeInput.encryptionMode ● ExchangeEncryptionMode enum

Trust-ladder encryption mode for this row's sensitive fields. Set at create time; immutable after. Defaults to 'legacy_server' for all rows created before the trust ladder shipped.

CreateExchangeInput.keyCustodyBackend ● ExchangeKeyCustodyBackend enum

KeyCustodyBackend implementation that produced the wrapping key. Pinned at write time alongside encryption_mode.

CreateExchangeInput.keyID ● String scalar

Opaque identifier of the wrapping key, backend-specific. Null for legacy_server rows that use the global process key.

CreateExchangeInput.keyVersion ● Int scalar

Rotation counter for the wrapping key. Null for legacy_server rows; populated when the row is rewrapped under a versioned key.

CreateExchangeInput.algorithm ● ExchangeEncryptionAlgorithm enum

Symmetric algorithm protecting the row's sensitive fields. Stored alongside the ciphertext so future migrations can retire algorithms without re-encrypting existing rows.

CreateExchangeInput.encryptedAt ● Time scalar

Timestamp the row's sensitive fields were last encrypted with the current key_id/key_version. Null for legacy_server rows.

CreateExchangeInput.name ● String! non-null scalar

Exchange display name (e.g., 'Binance Production', 'Coinbase Testnet')

CreateExchangeInput.config ● Map scalar

Complete freqtrade exchange configuration (name, key, secret, pair_whitelist, etc.)

CreateExchangeInput.ownerID ● String! non-null scalar

Group ID (organization) that owns this exchange

CreateExchangeInput.createdAt ● Time scalar

CreateExchangeInput.updatedAt ● Time scalar

CreateExchangeInput.botIDs ● [ID!] list scalar

Member Of

createExchange mutation ● createExchangeWithPassphrase mutation