Skip to content

Commit f27c84f

Browse files
committed
docs: update openapi.yaml and rpc-endpoint.md
1 parent 592e19f commit f27c84f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/rpc-endpoints.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Where data is the hex serialization of the variable value.
172172
This endpoint also accepts a querystring parameter `?proof=` which when supplied `0`, will return the
173173
JSON object _without_ the `proof` field.
174174

175-
### GET /v2/clarity_marf_value/[Clarity MARF Key]
175+
### GET /v2/clarity/marf/[Clarity MARF Key]
176176
Attempt to fetch the value of a MARF key. The key is identified with [Clarity MARF Key].
177177

178178
Returns JSON data in the form:
@@ -186,7 +186,7 @@ Returns JSON data in the form:
186186

187187
Where data is the hex serialization of the value.
188188

189-
### GET /v2/clarity_metadata/[Stacks Address]/[Contract Name]/[Clarity Metadata Key]
189+
### GET /v2/clarity/metadata/[Stacks Address]/[Contract Name]/[Clarity Metadata Key]
190190
Attempt to fetch the metadata of a contract.
191191
The contract is identified with [Stacks Address] and [Contract Name] in the URL path.
192192
The metadata key is identified with [Clarity Metadata Key].

docs/rpc/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ paths:
486486
If tip == "latest", the query will be run from the latest known tip (includes unconfirmed state).
487487
If the tip is left unspecified, the stacks chain tip will be selected (only includes confirmed state).
488488
489-
/v2/clarity_marf_value/{clarity_marf_key}:
489+
/v2/clarity/marf/{clarity_marf_key}:
490490
post:
491491
summary: Get the MARF value for a given key
492492
tags:
@@ -526,7 +526,7 @@ paths:
526526
description: The Stacks chain tip to query from. If tip == latest, the query will be run from the latest
527527
known tip (includes unconfirmed state).
528528

529-
/v2/clarity_metadata/{contract_address}/{contract_name}/{clarity_metadata_key}:
529+
/v2/clarity/metadata/{contract_address}/{contract_name}/{clarity_metadata_key}:
530530
post:
531531
summary: Get the contract metadata for the metadata key
532532
tags:

0 commit comments

Comments
 (0)