Skip to content

Commit

Permalink
add testnet (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhfnjust authored May 24, 2024
1 parent 16e86b0 commit ab8387c
Show file tree
Hide file tree
Showing 14 changed files with 65 additions and 65 deletions.
26 changes: 13 additions & 13 deletions open-api/btc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -71,7 +71,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -124,7 +124,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -165,7 +165,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -219,7 +219,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -272,7 +272,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -329,7 +329,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -381,7 +381,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -453,7 +453,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -511,7 +511,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -589,7 +589,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -646,7 +646,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down Expand Up @@ -718,7 +718,7 @@ paths:
parameters:
- name: network
in: path
description: BTC chain network (mainnet | signet)
description: BTC chain network (mainnet | testnet | signet)
required: true
schema:
type: string
Expand Down
8 changes: 4 additions & 4 deletions open-api/btc/get-address-brc-20-balance-list.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Get BRC-20 balance list by address."
sidebar_label: "Get Address BRC-20 Balance List"
hide_title: true
hide_table_of_contents: true
api: eJydVu9v20YM/VcIfmoBNXayNQOEYVgcbEWKAR0yF/2QGgMt0dYtpzvljnLqefrfB0qy/CPemtRfLPl4fO9475HeoNAyYnqHk9vrNxdjnCWYc8yCqcR4hym+Y4FuDeZkyWUM1kSB+RoozwPHeIYJ+ooD6Y6bvN9z1S1u9076vb+ZKJhgRYFKFg6KvUFHJWOKjuXRh3tM0Ch0RVLgMZ/J9BqygoyDPhpelWScY4F/IJqlY3mNCQZ+qE3gHFMJNScYs4JLwnSDsq4UK0owbolNkwzw/Xm+Cr+L+xYUa0ojW4yHmsP6CUhFS+OWsI3coSzIxlMwri7nHA5g/GIR+Xk4Q+gLgGYaHSvvIkddvxiP9eswf6yzjGNc1BYGgWCCmXfCTjSeqsqarF0Y/RV10wb5C5WVZX2MQlLHa58zpuMEcxJq9SImu+egpwy5UfmtOJC1f/YKxRTfji9++G589MEEaUXG0tzyXuwYtW5DzpKWdDLn+fjtccbnZ/UhX57Men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-open-api
custom_edit_url: null
Expand All @@ -32,13 +32,13 @@ import TabItem from "@theme/TabItem";

Get BRC-20 balance list by address.

## Request


<div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"network","in":"path","description":"BTC chain network (mainnet | testnet | signet)","required":true,"schema":{"type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"name":"address","in":"path","description":"BTC address","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Query Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"limit","in":"query","description":"paging limit","required":false,"schema":{"type":"number"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"name":"offset","in":"query","description":"paging offset","required":false,"schema":{"type":"number"}}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

successful operation

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": [\n {\n \"ticker\": \"ordi\",\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"maga\",\n \"overall_balance\": \"10500000000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"ordg\",\n \"overall_balance\": \"666000000000000000000\",\n \"available_balance\": \"0\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}>any</ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": [\n {\n \"ticker\": \"ordi\",\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"maga\",\n \"overall_balance\": \"10500000000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"ordg\",\n \"overall_balance\": \"666000000000000000000\",\n \"available_balance\": \"0\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": [\n {\n \"ticker\": \"ordi\",\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"maga\",\n \"overall_balance\": \"10500000000000000000000\",\n \"available_balance\": \"0\"\n },\n {\n \"ticker\": \"ordg\",\n \"overall_balance\": \"666000000000000000000\",\n \"available_balance\": \"0\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Bad Request

Expand Down
8 changes: 4 additions & 4 deletions open-api/btc/get-address-brc-20-balance.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Get BRC-20 balance by address and ticker."
sidebar_label: "Get Address BRC-20 Balance"
hide_title: true
hide_table_of_contents: true
api: eJydVdtu3EYM/RWCTwmgWGu3RQGhKOo12sB5SeFukAdnUXAl7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W2b6EPiluIJaeHyZ67SI6GyTk0kpweRt3QS9wYNUcn1tp2oRO+j3a3k2MeAlFampfCHBkjud8qk2TNDb1kquAz4b646wfqS/jmh+XJ8PtD7bZKQNlGdrx8wO3RAydvwGUgz16dCzD0updDOHmQLgCwV97ds2iNmtsqV627vWbWBzrS++oFOhnYb3+ZC4VO5+PZPMzWn8T006xrqLk0+ZtDimQr+Ha7fwFP+Bst
sidebar_class_name: "get api-method"
info_path: open-api/btc/scrypt-open-api
custom_edit_url: null
Expand All @@ -32,13 +32,13 @@ import TabItem from "@theme/TabItem";

Get BRC-20 balance by address and ticker.

## Request


<div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>
<details style={{"marginBottom":"1rem"}} className={"openapi-markdown__details"} data-collapsed={false} open={true}><summary style={{}}><h3 className={"openapi-markdown__details-summary-header-params"}>Path Parameters</h3></summary><div><ul><ParamsItem className={"paramsItem"} param={{"name":"network","in":"path","description":"BTC chain network (mainnet | testnet | signet)","required":true,"schema":{"type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"name":"ticker","in":"path","description":"BRC-20 ticker","required":true,"schema":{"type":"string"}}}></ParamsItem><ParamsItem className={"paramsItem"} param={{"name":"address","in":"path","description":"BTC address","required":true,"schema":{"type":"string"}}}></ParamsItem></ul></div></details><div><div><ApiTabs label={undefined} id={undefined}><TabItem label={"200"} value={"200"}><div>

successful operation

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": {\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}>any</ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": {\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n }\n}"} language={"json"}></ResponseSamples></TabItem><TabItem label={"Example"} value={"Example"}><ResponseSamples responseExample={"{\n \"statusCode\": 0,\n \"data\": {\n \"overall_balance\": \"502730000000000000000\",\n \"available_balance\": \"0\"\n }\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Bad Request

Expand Down
Loading

0 comments on commit ab8387c

Please sign in to comment.