Skip to content

Commit 4e4bf8b

Browse files
authored
Merge pull request #31 from blockscout/np-add-metadata-service
Add metadata service to dev pro api
2 parents ff0c710 + 3a8f08e commit 4e4bf8b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

pro-api/dev/endpoint-pricing-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
"api/v2/smart-contracts/verification/config": 40,
1717
"api?action=getLogs&module=logs": 10000000,
1818
"api/v2/blocks/:number/transactions": 1000000,
19-
"multichain/api/v1/search:quick": 120
19+
"multichain/api/v1/search:quick": 120,
20+
"metadata/api/v1/metadata": 120
2021
}

pro-api/dev/modules-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
"allowed_paths": [
99
"^\/api\/v1\/search:quick$"
1010
]
11+
},
12+
"metadata": {
13+
"service_url": "https://metadata.services.blockscout.com",
14+
"swagger_url": "https://raw.githubusercontent.com/blockscout/swaggers/refs/heads/master/services/metadata/2.6.16/swagger.yaml",
15+
"api_key": null,
16+
"root": true,
17+
"allowed_paths": [
18+
"^\/api\/v1\/metadata$"
19+
]
1120
}
1221
}
1322
}

0 commit comments

Comments
 (0)