125 Commits

Author SHA1 Message Date
Matthew Little
01bcbf7cb4 feat: address transactions with stx transfers endpoint (#547) 2021-04-20 14:04:44 +02:00
noumanahmads
78d475f9a3 feat: expose token sale locking/unlocking data (#553) 2021-04-20 13:45:18 +02:00
Matthew Little
598496d2cd Merge branch 'develop' into 'bns' 2021-03-26 19:02:21 +01:00
Matthew Little
e1805eceb7 chore: add openapi docs for /v2/prices/ endpoints 2021-03-26 18:38:50 +01:00
Matthew Little
382036c48a feat: db handling and API endpoint for burnchain reward slot holder event data 2021-03-26 14:37:37 +01:00
Matthew Little
b08d5a59dd Merge branch 'master' into bns
# Conflicts:
#	src/datastore/common.ts
#	src/datastore/memory-store.ts
#	src/datastore/postgres-store.ts
2021-03-18 17:21:05 +01:00
Friedger Müffke
bfd1a9cd7e fix: use common clarity type in NFTEvent (506) 2021-03-18 10:21:07 +01:00
Asim Mehmood
d09a863c57 docs: added docs for endpoint address/:address/nft_events 2021-03-17 12:33:02 +01:00
Matthew Little
25ec9fdc8a chore: camelCase nameing consistency, "BNS" to "bns" 2021-03-17 11:49:57 +01:00
Matthew Little
affb5a86cb Merge branch 'master' into bns
# Conflicts:
#	src/datastore/common.ts
#	src/datastore/memory-store.ts
#	src/datastore/postgres-store.ts
#	src/tests/datastore-tests.ts
2021-03-17 10:55:41 +01:00
Nouman Ahmad
cef4ba3951 fix: raw trasaction type - docs updated - tests update 2021-03-16 13:21:19 +01:00
Nouman Ahmad
10fde2c1b0 chore: get raw transaction 2021-03-16 13:21:19 +01:00
Matthew Little
241d89a23c fix: openAPI plain string example breaking redoc generator 2021-03-12 11:15:28 +01:00
Matthew Little
002ca11018 chore: lint fixes 2021-03-12 10:46:25 +01:00
Matthew Little
b130740656 feat: expand stx-supply endpoints 2021-03-12 10:46:25 +01:00
Matthew Little
43cc5082df Merge branch 'master' into bns
# Conflicts:
#	follower.Dockerfile
#	package-lock.json
#	src/datastore/common.ts
#	src/datastore/memory-store.ts
#	src/datastore/postgres-store.ts
#	src/event-stream/event-server.ts
#	stacks-blockchain/docker/Dockerfile
2021-03-10 11:01:39 +01:00
Lola Dam
6426cbc9ee fix: block endpoint & minor fixes (rosetta) (#23)
* Ensure to use postgres as backend

* Update gitignore

* Replace string for error message const

* Avoid code duplication

* Fix schemas

* Fix related operations field

* Catch error on invalid request parameters

Co-authored-by: ER <raynaudo.ee@gmail.com>
2021-03-08 15:25:48 +01:00
Lola Dam
2e8ff92245 fix: change rosetta construction parse api (#22)
metadata in reponse not required on the /construction/parse endpoint.

Closes #11
2021-03-08 15:25:48 +01:00
Lola Dam
cade138987 fix: rosetta construction derive api (#21)
* fix(package): 'Server-Side Request Forgery' vulnerability in axios package

* fix: change construction derive api to fit latest spec

Closes #10
2021-03-08 15:25:48 +01:00
Matthew Little
e627209351 feat: openAPI docs for total-supply legacy format endpoint 2021-02-26 16:31:33 +01:00
Matthew Little
cec343a1ea feat: openAPI docs for total-supply endpoint 2021-02-26 16:31:33 +01:00
Matthew Little
342c01a259 chore: openAPI docs for stx_inbound endpoint 2021-02-15 15:20:40 +01:00
Nouman Ahmad
f8dbc542bb fix: custom nonce added in /payloads and /balance 2021-02-12 19:15:27 +01:00
Nouman Ahmad
9a76a41a02 chore: price endpoints schema files added / validation 2021-01-28 14:14:32 +01:00
Nouman Ahmad
609f16e6b8 chore: names endpoint implementation 2021-01-12 19:20:53 +01:00
Nouman Ahmad
7092ed673e fix: fixed zonefile type in name info response schema 2021-01-07 11:30:48 +01:00
Nouman Ahmad
166306620b docs: bns api: added schema files and updated open api 2021-01-07 11:30:48 +01:00
Matthew Little
aac121d8c7 feat: add lock height and lock txid to balance endpoints #340 2020-11-20 19:46:38 +01:00
Matthew Little
7a9b18e43d feat: add btc reward API endpoints 2020-11-17 11:52:33 +01:00
Friedger Müffke
a132bcbfd4 fix: return string for post transactions endpoint 2020-11-12 22:41:39 +01:00
Matthew Little
b61129c2f1 feat: integrate Stacking STX into database and provide through account API details, upgrade to nodejs v14 2020-11-12 18:20:29 +01:00
Alexander Graebe
35afa71fbd fix: update v2/info documentation and client 2020-11-12 12:27:39 +01:00
Asim Mehmood
b60cc8c70d chore: miscellaneous changes to finalize rosetta implementation after running check-construction 2020-11-05 14:27:01 +01:00
Alexander Graebe
6c13a554cc fix: adding schema for fee estimates
without this, the response is simply undefined
2020-10-15 23:27:05 +03:00
Alexander Graebe
75f7f8ef74 feat: adding new pox & stacking fields
in reference to: https://github.com/blockstack/stacks-blockchain/pull/1920/
2020-10-13 14:57:07 +03:00
Asim Mehmood
3b0cd4437f docs: add schema files for rosetta constructin/combine endpoint 2020-10-13 00:02:03 +03:00
Asim Mehmood
5645fc7978 docs: add schema files for rosetta construction/payloads endpoint 2020-10-13 00:02:03 +03:00
Asim Mehmood
5f1c969817 chore: add public key to preprocess and metadata 2020-10-12 16:42:11 +03:00
Nouman Ahmad
aa9d665ec9 chore: schema files added 2020-10-02 22:24:40 +02:00
Friedger Müffke
b87f484427 fix(openapi): add get contract data map entry schema
@friedger
2020-10-02 17:23:04 +02:00
Faizan Dastgir
f0b18841b6 chore: add schema for parse api 2020-10-01 13:53:43 +02:00
Asim Mehmood
53256d04fa docs: add schema files for construction/hash endpoint 2020-09-25 20:02:45 +02:00
Asim Mehmood
7182ec15cb docs: add schema files for rosetta construction/metadata endpoint 2020-09-25 20:02:45 +02:00
Alexander Graebe
d4e6966aa4 feat: add pox endpoint 2020-09-25 10:26:19 +02:00
Asim Mehmood
784d2d031b docs: add schema files for construction/preprocess request and response 2020-09-22 12:17:54 +02:00
Asim Mehmood
054e38f6c4 docs: add schema files for rosetta construction/derive 2020-09-16 13:18:28 +02:00
Friedger Müffke
26f10702be fix failed read-only response schema 2020-09-08 19:12:57 +02:00
Friedger Müffke
db512b57cc add function args for call read only functions 2020-09-08 19:12:57 +02:00
Faried Nawaz
174c4c524b fix: schema changes for rosetta block and block/transaction calls
The /rosetta/v1/block call does not require a "block_identifier" field.
If the field is present and empty, the current block's data is returned.
Otherwise, the given block is found by index (height) or hash, and returned.

The /rosetta/v1/block/transaction field requires a block_identifier field
with both the block index and hash fields present.

Change made by @zone117x in https://github.com/fariedt/stacks-blockchain-api/pull/2
2020-09-08 18:23:05 +02:00
Asim Mehmood
d24bfe8956 fix: mempool schema files renamed: rosetta-mempool-transaction-list-* -> rosetta-mempool-*
For consistency, rename RosettaMempoolTransactionListRequest -> RosettaMempoolRequest
as well.
2020-09-01 08:26:03 -06:00