From 9c7ed38d45ec2740d8beb0d5630ecb525243a66b Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 20 Dec 2022 12:25:20 -0800 Subject: nostr feed --- src/routes/(static)/+layout.svelte | 2 +- src/routes/(static)/docs/+page.svelte | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/routes/(static)') diff --git a/src/routes/(static)/+layout.svelte b/src/routes/(static)/+layout.svelte index 2eb47149..a7a1ab22 100644 --- a/src/routes/(static)/+layout.svelte +++ b/src/routes/(static)/+layout.svelte @@ -1,3 +1,3 @@
- +
diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index 5361c87e..0e11decb 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -1,5 +1,6 @@

API Examples

-
{`
+
{`
 api="https://coinos.io/api"
 json="Content-Type: application/json"
 
@@ -71,4 +72,5 @@ fee=$(echo $tx | jq -r .tx.fee)
 
 curl -s "$api/bitcoin/send" -H "$json" -H "$auth" -d '{"address": "bc1qqc9azhdjjpdxenrndt8cw4tw9del5pyrjn0wln", "tx": { "hex": "'$hex'", "fee": "'$fee'" }}' | jq -r '{ amount, fee, balance: (.account.balance)}'
 echo ""
-`}
+`}
-- cgit v1.2.3