Skip to content

Commit 6cc3247

Browse files
authored
add tokens to config api (#2485)
* update * update * update * update * empty
1 parent 0bcaa54 commit 6cc3247

File tree

8 files changed

+1166
-17
lines changed

8 files changed

+1166
-17
lines changed

Diff for: postman/ccip-chains-api.json

+188-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"info": {
3-
"name": "CCIP Chains API",
4-
"description": "Collection for testing the Cross-Chain Interoperability Protocol (CCIP) Chains API",
3+
"name": "CCIP API",
4+
"description": "Collection for testing the Cross-Chain Interoperability Protocol (CCIP) API",
55
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
66
},
77
"item": [
@@ -236,6 +236,192 @@
236236
}
237237
}
238238
]
239+
},
240+
{
241+
"name": "Tokens",
242+
"item": [
243+
{
244+
"name": "Get All Tokens (Mainnet)",
245+
"request": {
246+
"method": "GET",
247+
"url": {
248+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet",
249+
"host": ["{{baseUrl}}"],
250+
"path": ["api", "ccip", "v1", "tokens"],
251+
"query": [
252+
{
253+
"key": "environment",
254+
"value": "mainnet",
255+
"description": "Network environment (mainnet/testnet)"
256+
}
257+
]
258+
},
259+
"description": "Retrieve all available CCIP tokens for mainnet environment"
260+
}
261+
},
262+
{
263+
"name": "Get All Tokens (Testnet)",
264+
"request": {
265+
"method": "GET",
266+
"url": {
267+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=testnet",
268+
"host": ["{{baseUrl}}"],
269+
"path": ["api", "ccip", "v1", "tokens"],
270+
"query": [
271+
{
272+
"key": "environment",
273+
"value": "testnet",
274+
"description": "Network environment (mainnet/testnet)"
275+
}
276+
]
277+
},
278+
"description": "Retrieve all available CCIP tokens for testnet environment"
279+
}
280+
},
281+
{
282+
"name": "Get Token by Symbol",
283+
"request": {
284+
"method": "GET",
285+
"url": {
286+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&symbol=LINK",
287+
"host": ["{{baseUrl}}"],
288+
"path": ["api", "ccip", "v1", "tokens"],
289+
"query": [
290+
{
291+
"key": "environment",
292+
"value": "mainnet"
293+
},
294+
{
295+
"key": "symbol",
296+
"value": "LINK",
297+
"description": "Token symbol (e.g., LINK for Chainlink)"
298+
}
299+
]
300+
},
301+
"description": "Retrieve token information by its symbol"
302+
}
303+
},
304+
{
305+
"name": "Get Tokens by Chain ID",
306+
"request": {
307+
"method": "GET",
308+
"url": {
309+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&chainId=1",
310+
"host": ["{{baseUrl}}"],
311+
"path": ["api", "ccip", "v1", "tokens"],
312+
"query": [
313+
{
314+
"key": "environment",
315+
"value": "mainnet"
316+
},
317+
{
318+
"key": "chainId",
319+
"value": "1",
320+
"description": "Chain ID (e.g., 1 for Ethereum)"
321+
}
322+
]
323+
},
324+
"description": "Retrieve tokens available on a specific chain"
325+
}
326+
},
327+
{
328+
"name": "Get Tokens with Multiple Filters",
329+
"request": {
330+
"method": "GET",
331+
"url": {
332+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&symbol=LINK,ETH&chainId=1",
333+
"host": ["{{baseUrl}}"],
334+
"path": ["api", "ccip", "v1", "tokens"],
335+
"query": [
336+
{
337+
"key": "environment",
338+
"value": "mainnet"
339+
},
340+
{
341+
"key": "symbol",
342+
"value": "LINK,ETH",
343+
"description": "Token symbols separated by commas"
344+
},
345+
{
346+
"key": "chainId",
347+
"value": "1",
348+
"description": "Chain ID to filter by"
349+
}
350+
]
351+
},
352+
"description": "Retrieve tokens with multiple filter criteria"
353+
}
354+
},
355+
{
356+
"name": "Get Tokens with Selector Output Key",
357+
"request": {
358+
"method": "GET",
359+
"url": {
360+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&outputKey=selector",
361+
"host": ["{{baseUrl}}"],
362+
"path": ["api", "ccip", "v1", "tokens"],
363+
"query": [
364+
{
365+
"key": "environment",
366+
"value": "mainnet"
367+
},
368+
{
369+
"key": "outputKey",
370+
"value": "selector",
371+
"description": "Organize response by selector"
372+
}
373+
]
374+
},
375+
"description": "Retrieve tokens with response organized by selector"
376+
}
377+
},
378+
{
379+
"name": "Get Tokens with ChainId Output Key",
380+
"request": {
381+
"method": "GET",
382+
"url": {
383+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&outputKey=chainId",
384+
"host": ["{{baseUrl}}"],
385+
"path": ["api", "ccip", "v1", "tokens"],
386+
"query": [
387+
{
388+
"key": "environment",
389+
"value": "mainnet"
390+
},
391+
{
392+
"key": "outputKey",
393+
"value": "chainId",
394+
"description": "Organize response by chainId (default)"
395+
}
396+
]
397+
},
398+
"description": "Retrieve tokens with response organized by chainId"
399+
}
400+
},
401+
{
402+
"name": "Get Tokens with InternalId Output Key",
403+
"request": {
404+
"method": "GET",
405+
"url": {
406+
"raw": "{{baseUrl}}/api/ccip/v1/tokens?environment=mainnet&outputKey=internalId",
407+
"host": ["{{baseUrl}}"],
408+
"path": ["api", "ccip", "v1", "tokens"],
409+
"query": [
410+
{
411+
"key": "environment",
412+
"value": "mainnet"
413+
},
414+
{
415+
"key": "outputKey",
416+
"value": "internalId",
417+
"description": "Organize response by internal ID"
418+
}
419+
]
420+
},
421+
"description": "Retrieve tokens with response organized by internal ID"
422+
}
423+
}
424+
]
239425
}
240426
],
241427
"variable": [

0 commit comments

Comments
 (0)