Skip to content

Commit

Permalink
update paths for 3rd party resources
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Feb 13, 2025
1 parent eeeadb1 commit efa17a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/api/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ export const RESOURCES = {
filterFields: [],
},
address_xstar_score: {
path: '/api/v2/proxy/xname/addresses/:hash',
path: '/api/v2/proxy/3rdparty/xname/addresses/:hash',
pathParams: [ 'hash' as const ],
},

Expand All @@ -626,7 +626,7 @@ export const RESOURCES = {
pathParams: [ 'hash' as const, 'method' as const ],
},
contract_solidity_scan_report: {
path: '/api/v2/smart-contracts/:hash/solidityscan-report',
path: '/api/v2/proxy/3dparty/solidityscan/smart-contracts/:hash/report',
pathParams: [ 'hash' as const ],
},
contract_security_audits: {
Expand Down Expand Up @@ -1042,16 +1042,16 @@ export const RESOURCES = {

// NOVES-FI
noves_transaction: {
path: '/api/v2/proxy/noves-fi/transactions/:hash',
path: '/api/v2/proxy/3rdparty/noves-fi/transactions/:hash',
pathParams: [ 'hash' as const ],
},
noves_address_history: {
path: '/api/v2/proxy/noves-fi/addresses/:address/transactions',
path: '/api/v2/proxy/3rdparty/noves-fi/addresses/:address/transactions',
pathParams: [ 'address' as const ],
filterFields: [],
},
noves_describe_txs: {
path: '/api/v2/proxy/noves-fi/transaction-descriptions',
path: '/api/v2/proxy/3rdparty/noves-fi/transaction-descriptions',
},

// USER OPS
Expand Down

0 comments on commit efa17a9

Please sign in to comment.