0xProject / standard-relayer-api

Standard specifications for 0x relayer public APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot GET /token_pairs

SvenMeyer opened this issue · 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>

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.