User

Documentation on interacting with ByBit's User API functions through the PENDAX Javascript SDK.

Create Sub UID

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/create-subuid

Function name:

createSubUid(options)

Usage:

import { createExchange } from "./exchanges/exchange.js";

  let myByBitAccount = createExchange({
      exchange: "bybit",
      authenticate: "true",
      key: "myKeys",
      secret: "mySecret",
      label: "bybit",
      testnet: "false"
});

async function createSubUid(exchange, options) {
    try {
        let result = await exchange.createSubUid(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

const result = await createSubUid(myByBitAccount, 
    {
        username: "bill",
        memberType: "1"
    });

Create Sub UID API Key

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/create-subuid-apikey

Function name:

Usage:

Get Sub UID List

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/subuid-list

Function name:

Usage:

Freeze Sub UID

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/market/preimum-index-kline

Function name:

Usage:

Get API Key Information

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/apikey-info

Function name:

Usage:

Modify Master API Key

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/modify-master-apikey

Function name:

Usage:

Modify Sub API Key

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/modify-sub-apikey

Function name:

Usage:

Delete Master API Key

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/rm-master-apikey

Function name:

Usage:

Delete Sub API Key

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/user/rm-sub-apikey

Function name:

Usage:

Last updated