Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2930,6 +2930,21 @@ public function accountStatus()
$arr['sapi'] = $this->httpRequest("v1/account/status", 'GET', [ 'sapi' => true ], true);
return $arr;
}

/**
* apiRestriction - Fetch a set of API restrictions
*
* @link https://binance-docs.github.io/apidocs/spot/en/#get-api-key-permission-user_data
*
* @property int $weight 1
*
* @return array containing the response
* @throws \Exception
*/
public function apiRestrictions()
{
return $this->httpRequest("v1/account/apiRestrictions", 'GET', ['sapi' => true], true);
}

/**
* apiTradingStatus - Fetch account API trading status detail.
Expand Down