standard-relayer-api icon indicating copy to clipboard operation
standard-relayer-api copied to clipboard

Cannot GET /token_pairs

Open SvenMeyer opened this issue 6 years ago • 1 comments

file : http/v3.md

curl https://api.0x.org/token_pairs?page=3&perPage=20

returns

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot GET /token_pairs</pre>
</body>
</html>

SvenMeyer avatar Dec 31 '19 06:12 SvenMeyer

This should be https://api.0x.org/sra/asset_pairs?page=1&perPage=20 and any example code referencing token_pairs is not correct. It is only used in an Link Header example but should be updated to be asset_pairs.

dekz avatar Jan 05 '20 05:01 dekz