From f0c5220db4d894e884f9950dd56dd1298ca9b90f Mon Sep 17 00:00:00 2001 From: galleon8 Date: Fri, 19 Apr 2024 15:26:33 +0300 Subject: [PATCH] AAPI OpenAPI JSON request --- pages/advanced-api/overview.mdx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pages/advanced-api/overview.mdx b/pages/advanced-api/overview.mdx index d9f7200b5..c9c11642f 100644 --- a/pages/advanced-api/overview.mdx +++ b/pages/advanced-api/overview.mdx @@ -34,11 +34,20 @@ Currently, Advanced API works with the following EVM-compatible chains: And more EVM and non-EVM chains coming soon. -## API Methods Supported - -> Supported methods in OpenAPI format: [`aapi-swagger.json`](/build/aapi-swagger.json) - -To view interactive AAPI docs, click the required method below. +## AAPI Methods Supported + +> To get all supported AAPI methods in the OpenAPI-formatted `aapi-swagger` JSON, use the following request: + +```shell +curl --location 'https://rpc.ankr.com/multichain/79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01' \ +--header 'Content-Type: application/json' \ +--data '{ + "jsonrpc": "2.0", + "method": "docs_schema", + "params": {}, + "id": 1 +}' +``` ### NFT API