chore: add .editorconfig and style api.md

This commit is contained in:
grdddj 2024-09-10 10:51:20 +02:00 committed by Martin
parent a93a011d8f
commit a2aa489b65
2 changed files with 154 additions and 144 deletions

10
.editorconfig Normal file
View File

@ -0,0 +1,10 @@
root = true
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
max_line_length = 80
insert_final_newline = true
charset = utf-8
end_of_line = lf

View File

@ -567,31 +567,31 @@ Response:
```javascript ```javascript
[ [
{ {
txid: "13d26cd939bf5d155b1c60054e02d9c9b832a85e6ec4f2411be44b6b5a2842e9", txid: '13d26cd939bf5d155b1c60054e02d9c9b832a85e6ec4f2411be44b6b5a2842e9',
vout: 0, vout: 0,
value: "1422303206539", value: '1422303206539',
confirmations: 0, confirmations: 0,
lockTime: 2648100, lockTime: 2648100,
}, },
{ {
txid: "a79e396a32e10856c97b95f43da7e9d2b9a11d446f7638dbd75e5e7603128cac", txid: 'a79e396a32e10856c97b95f43da7e9d2b9a11d446f7638dbd75e5e7603128cac',
vout: 1, vout: 1,
value: "39748685", value: '39748685',
height: 2648043, height: 2648043,
confirmations: 47, confirmations: 47,
coinbase: true, coinbase: true,
}, },
{ {
txid: "de4f379fdc3ea9be063e60340461a014f372a018d70c3db35701654e7066b3ef", txid: 'de4f379fdc3ea9be063e60340461a014f372a018d70c3db35701654e7066b3ef',
vout: 0, vout: 0,
value: "122492339065", value: '122492339065',
height: 2646043, height: 2646043,
confirmations: 2047, confirmations: 2047,
}, },
{ {
txid: "9e8eb9b3d2e8e4b5d6af4c43a9196dfc55a05945c8675904d8c61f404ea7b1e9", txid: '9e8eb9b3d2e8e4b5d6af4c43a9196dfc55a05945c8675904d8c61f404ea7b1e9',
vout: 0, vout: 0,
value: "142771322208", value: '142771322208',
height: 2644885, height: 2644885,
confirmations: 3205, confirmations: 3205,
}, },
@ -853,9 +853,9 @@ Example response (fiatcurrency=usd):
{ {
time: 1578391200, time: 1578391200,
txs: 5, txs: 5,
received: "5000000", received: '5000000',
sent: "0", sent: '0',
sentToSelf: "0", sentToSelf: '0',
rates: { rates: {
usd: 7855.9, usd: 7855.9,
}, },
@ -863,9 +863,9 @@ Example response (fiatcurrency=usd):
{ {
time: 1578488400, time: 1578488400,
txs: 1, txs: 1,
received: "0", received: '0',
sent: "5000000", sent: '5000000',
sentToSelf: "0", sentToSelf: '0',
rates: { rates: {
usd: 8283.11, usd: 8283.11,
}, },
@ -880,9 +880,9 @@ Example response (fiatcurrency=usd&groupBy=172800):
{ {
time: 1578355200, time: 1578355200,
txs: 6, txs: 6,
received: "5000000", received: '5000000',
sent: "5000000", sent: '5000000',
sentToSelf: "0", sentToSelf: '0',
rates: { rates: {
usd: 7734.45, usd: 7734.45,
}, },