Skip to content

Commit

Permalink
add more swagger link for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wileyj committed Feb 1, 2025
1 parent 49a5f7e commit 016b4f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you run a local node, it exposes an HTTP server on port `20443`. The info end

The Stacks 2.0 Blockchain API (Hiro's API) is centrally hosted. However, every running Stacks node exposes an RPC API, which allows you to interact with the underlying blockchain. Instead of using a centrally hosted API, you can directly access the RPC API of a locally hosted Node.

{% swagger src="https://raw.githubusercontent.com/stacks-network/stacks-core/master/docs/rpc/openapi.yaml" path="/v2/info" method="get" %}
{% swagger src="https://raw.githubusercontent.com/stacks-network/stacks-core/master/docs/rpc/openapi.yaml" path="/v2/contracts/interface/{contract_address}/{contract_name}" method="get" %}
[https://raw.githubusercontent.com/stacks-network/stacks-core/master/docs/rpc/openapi.yaml](https://raw.githubusercontent.com/stacks-network/stacks-core/master/docs/rpc/openapi.yaml)
{% endswagger %}

Expand Down

0 comments on commit 016b4f9

Please sign in to comment.