All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
WalletExchangeOrder | Get /v2/private/exchange-order/list | Asset Exchange Records |
WalletGetBalance | Get /v2/private/wallet/balance | get wallet balance info |
WalletGetRecords | Get /open-api/wallet/fund/records | Get wallet fund records |
WalletGetRiskLimit | Get /open-api/wallet/risk-limit/list | Get risk limit. |
WalletSetRiskLimit | Post /open-api/wallet/risk-limit | Set risk limit |
WalletWithdraw | Get /open-api/wallet/withdraw/list | Get wallet fund records |
interface{} WalletExchangeOrder(ctx, optional) Asset Exchange Records
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *WalletExchangeOrderOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WalletExchangeOrderOpts struct
Name | Type | Description | Notes |
---|---|---|---|
limit | optional.Float32 | Limit for data size per page, max size is 50. Default as showing 20 pieces of data per page | |
from | optional.Float32 | Start ID. By default, returns the latest IDs | |
direction | optional.String | Search direction. Prev: searches in ascending order from start ID, Next: searches in descending order from start ID. Defaults to Next |
apiKey, apiSignature, timestamp
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} WalletGetBalance(ctx, optional) get wallet balance info
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *WalletGetBalanceOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WalletGetBalanceOpts struct
Name | Type | Description | Notes |
---|---|---|---|
coin | optional.String | Coin.enum {BTC,EOS,XRP,ETH,USDT} |
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} WalletGetRecords(ctx, optional) Get wallet fund records
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *WalletGetRecordsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WalletGetRecordsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
startDate | optional.String | Start point for result | |
endDate | optional.String | End point for result | |
currency | optional.String | Currency type | |
walletFundType | optional.String | wallet fund type | |
page | optional.String | Page. Default getting first page data | |
limit | optional.String | Limit for data size per page, max size is 50. Default as showing 20 pieces of data per page |
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} WalletGetRiskLimit(ctx, ) Get risk limit.
This endpoint does not need any parameter.
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} WalletSetRiskLimit(ctx, symbol, riskId) Set risk limit
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | Contract type. | |
riskId | float32 | Risk ID. Can be found with the Get risk limit list endpoint. |
apiKey, apiSignature, timestamp
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} WalletWithdraw(ctx, optional) Get wallet fund records
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *WalletWithdrawOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a WalletWithdrawOpts struct
Name | Type | Description | Notes |
---|---|---|---|
startDate | optional.String | Start point for result | |
endDate | optional.String | End point for result | |
coin | optional.String | Currency | |
status | optional.String | Withdraw status | |
page | optional.String | Page. Default getting first page data | |
limit | optional.String | Limit for data size per page, max size is 50. Default as showing 20 pieces of data per page |
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]