Commit 534d93fb authored by tom goriunov's avatar tom goriunov Committed by GitHub

Use /api path for all methods from backend (#1073)

Fixes #1066
parent 23287552
...@@ -427,11 +427,6 @@ export const RESOURCES = { ...@@ -427,11 +427,6 @@ export const RESOURCES = {
path: '/api/v2/search/check-redirect', path: '/api/v2/search/check-redirect',
}, },
// GraphQL
graphql: {
path: '/graphql',
},
// L2 // L2
l2_deposits: { l2_deposits: {
path: '/api/v2/optimism/deposits', path: '/api/v2/optimism/deposits',
...@@ -479,18 +474,21 @@ export const RESOURCES = { ...@@ -479,18 +474,21 @@ export const RESOURCES = {
path: '/api/v2/key', path: '/api/v2/key',
}, },
// DEPRECATED // API V1
csv_export_txs: { csv_export_txs: {
path: '/transactions-csv', path: '/api/v1/transactions-csv',
}, },
csv_export_internal_txs: { csv_export_internal_txs: {
path: '/internal-transactions-csv', path: '/api/v1/internal-transactions-csv',
}, },
csv_export_token_transfers: { csv_export_token_transfers: {
path: '/token-transfers-csv', path: '/api/v1/token-transfers-csv',
}, },
csv_export_logs: { csv_export_logs: {
path: '/logs-csv', path: '/api/v1/logs-csv',
},
graphql: {
path: '/api/v1/graphql',
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment