Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Jay04653
Copy link
Contributor

@Jay04653 Jay04653 commented Feb 1, 2022

API Restrictions info added (sapi). It returns information about permissions of your API Key and trading authority expiration time.
More info: https://binance-docs.github.io/apidocs/spot/en/#get-api-key-permission-user_data
Example of the response:

Array
(
    [ipRestrict] => 
    [createTime] => 1640988000000
    [tradingAuthorityExpirationTime] => 1646085600000
    [enableSpotAndMarginTrading] => 1
    [enableFutures] => 
    [enableMargin] => 
    [enableReading] => 1
    [enableWithdrawals] => 
    [enableInternalTransfer] => 
    [permitsUniversalTransfer] => 
    [enableVanillaOptions] => 
)

@Jay04653 Jay04653 closed this Feb 1, 2022
@Jay04653 Jay04653 force-pushed the api_restrinctions_method branch from 38b0bf8 to 1360aaa Compare February 1, 2022 18:05
@Jay04653 Jay04653 reopened this Feb 1, 2022
@Jay04653
Copy link
Contributor Author

Jay04653 commented Feb 1, 2022

I've moved the new method to the proper section, so I force-pushed and re-committed it.
@ePascalC, could you please check it? I need this method to build automatic API keys validation.

@ePascalC ePascalC merged commit d153dd9 into ccxt:master Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants