n8n-nodes-dex
Version:
n8n node module for dYdX v4 trading and account access
44 lines • 1.41 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DydxApi = void 0;
class DydxApi {
constructor() {
this.name = 'dydxApi';
this.displayName = 'dYdX API';
this.documentationURL = "https://dydxprotocol.github.io/v4-documentation";
this.properties = [
{
displayName: 'Mnemonic',
name: 'mnemonic',
type: 'string',
default: '',
typeOptions: {
password: true,
},
required: true,
description: 'The mnemonic (seed phrase) for your wallet',
},
{
displayName: 'Address',
name: 'address',
type: 'string',
default: '',
required: true,
description: 'Your wallet address',
},
{
displayName: 'Network',
name: 'network',
type: 'options',
options: [
{ name: 'Testnet', value: 'testnet' },
{ name: 'Mainnet', value: 'mainnet' },
],
default: 'testnet',
description: 'The network to connect to',
},
];
}
}
exports.DydxApi = DydxApi;
//# sourceMappingURL=DydxApi.credentials.js.map