Commit Graph

124 Commits

Author SHA1 Message Date
Matthew Little
a8a87762f4 fix: revert #792, restore events array to tx responses (#907) 2021-12-15 13:14:13 +01:00
Thomas Osmonson
4964fe7c5e fix: nft value encoding in /transactions_with_transfers #885 2021-12-10 21:04:22 +01:00
Asim Mehmood
f18068c300 feat: return all the contracts implement a given trait
* feat: implement an api to get all contracts which implement a given trait

* test: add test cases for contract/trait endpoint

* docs: added docs for contract/trait endpoint

* fix: add return statment after response

* perf: add index for jsonb abi column

* refactor: use createIndex method

* fix: use get request instead of post for contracts trait

* docs: update docs for trait/contract api

* fix: fixed rebase issue

* test: add test for large query data

* refactor: change path of contract/by_trait api
2021-12-05 22:43:04 -06:00
M Hassan Tariq
172e6a2123 fix: removed empty events array from response #668 2021-11-24 10:49:08 +01:00
Rafael Cárdenas
15600b0304 chore: expand client README to include socket.io and message examples
* chore: update block and microblock schema examples

* chore: add update examples to client README

* chore: expand clarity value objects

* fix: typos
2021-11-19 08:38:06 -06:00
Rafael Cárdenas
e790109030 chore: standardize updates between websockets and socket.io
* chore: function structures

* chore: return accepted and streamed microblocks on socket.io block updates

* chore: move ws-rpc and socket-io to ws/ directory

* feat: add individual tx updates to socket.io

* fix: use updated microblock txs query function

* chore: add new schemas for block, microblock, mempool rpcs

* feat: handle new block, microblock, mempool websocket updates

* fix: socket.io type imports

* chore: add test for websocket mempool update

* chore: add test for block updates

* chore: add microblock update test

* chore: remove additional properties from rpc schemas

* chore: add client support for new websocket events
2021-11-09 12:25:38 -06:00
M Hassan Tariq
7edc7b54a6 feat: endpoint for list of transactions #647 2021-11-02 12:32:09 +01:00
Asim Mehmood
8d2d86f972 feat: added execution cost to block response #735 2021-09-21 21:31:16 +02:00
Matthew Little
6f4f3e2a91 feat(rosetta): support memos in stx token transfer operations #752 2021-09-10 15:55:40 +02:00
Rafael Cárdenas
d9e1131f83 feat: add execution cost data to transactions
* feat: start capturing execution costs in transactions

* chore: update tx schema and fine tune unit tests

* chore: revert automatic vscode changes
2021-09-02 13:05:50 -05:00
Asim Mehmood
33f11bbcf3 feat: token metadata 2021-09-01 18:14:05 -05:00
Rafael Cárdenas
439d4f46cd feat: expose FT and NFT transfers in /extended/v1/address/[:principal]/transactions_with_transfers
* chore: add new ft fields to schema

* feat: start returning ft_transfers

* fix: broken tx info tests

* feat: return nft_transfers

* chore: rename interfaces and methods to reflect asset txs

* chore: undo unintended vscode changes

* chore: update json example for api docs

* chore: add more accurate FT and NFT identifiers on API examples

* chore: tweak schema descriptions for integer FT amounts
2021-08-24 09:51:56 -05:00
Rafael Cárdenas
fb6150a008 feat: return tx_id on every asset in /extended/v1/address/[:addr]/assets
* feat: return tx_id on every asset in /extended/v1/address/[:addr]/assets

* chore: reflect new tx_id in OpenAPI schemes

* chore: add tx_id to required fields in schema
2021-08-17 13:43:13 -05:00
Asim Mehmood
cf36b8fddf feat(rosetta): support passing btc address for rosetta stacking op #672 2021-08-02 16:12:07 -05:00
Matthew Little
f7d6834846 chore: update openapi/json-schema summaries and examples with latest microblock related changes 2021-07-15 13:07:39 -05:00
Matthew Little
977db77a71 feat: add parent_burn_block_{time,hash,height} to txs and microblock API responses 2021-07-15 13:07:39 -05:00
Matthew Little
267a5eb3ec feat: add explicit is_unanchored: boolean flag to tx responses 2021-07-15 13:07:39 -05:00
Matthew Little
51664e54fb chore(ci): single command to build client and openAPI docs 2021-07-15 13:07:39 -05:00
Matthew Little
654669ca81 fix: preserve logical transaction ordering using INT32_MAX value rather than -1 for batched tx microblock_sequence 2021-07-15 13:07:39 -05:00
Matthew Little
029570b486 chore: repair rosetta and bns integration tests, only working with microblocks disabled 2021-07-15 13:07:39 -05:00
Matthew Little
21145cac1c chore: repair tests/api-tests with microblock related breakages 2021-07-15 13:07:39 -05:00
Matthew Little
bbf3c07a86 chore: post-rebase misc fixes 2021-07-15 13:07:39 -05:00
Matthew Little
119615e849 feat: add nonce gap detection and recommended nonce value to /address/{principal}/nonces 2021-07-15 13:07:39 -05:00
Matthew Little
0b33bcbfef feat: implement endpoint to get the latest account nonce based off mempool and unanchored or anchored tx data 2021-07-15 13:07:39 -05:00
Matthew Little
09844c2897 feat: support microblock canonical status updating during anchor block re-orgs 2021-07-15 13:07:39 -05:00
Matthew Little
97e96fea7f chore: formalize /microblocks endpoints in docs, avoid returning 0x strings and bogus block_time ISO strings 2021-07-15 13:07:39 -05:00
Matthew Little
19e92ae735 feat: microblocks API endpoints 2021-07-15 13:07:39 -05:00
Matthew Little
97bb2cbc36 fix: various bugs and typing issues with parsing mined and mempool tx db data 2021-07-15 13:07:39 -05:00
Matthew Little
a85dcad9e7 fix: duplicated mempool-tx and mined-tx schemas leading to buggy tx parsing code 2021-07-15 13:07:39 -05:00
Matthew Little
b79e491ea8 chore: add parent block hash to tx table, progress on fixing issues with tx db data parsing issues 2021-07-15 13:07:39 -05:00
Matthew Little
6b644dd3cc chore: more accurate doc type generation 2021-07-15 13:07:39 -05:00
Matthew Little
39a8d32818 feat: added microblock metadata to regular/anchor block API responses 2021-07-15 13:07:39 -05:00
Matthew Little
f6a307a0ce feat: add anchored microblock hash array to API anchor block response 2021-07-15 13:07:39 -05:00
Lola Dam
9718c3557e feat: [rosetta] delegated stacking 2021-05-18 23:48:31 +02:00
Matthew Little
ee4e62edbd fix: [Rosetta] fix unintentional global error object mutations 2021-05-12 10:16:00 +02:00
Matthew Little
44f7a06232 fix: distinction between total locked and total unlocked token offering schedule amounts 2021-04-21 21:49:59 +02:00
Lola Dam
523c0af4ea fix: [Rosetta] Error 500 & fee operation 2021-04-21 21:33:22 +02:00
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
Lola Dam
1cb8e9cdb9 feat: [rosetta] stacking operation
* Rosetta construction api now support building stacking operation
* Fix the missing events that change the balance for Data api in rosetta side
* fix: check account address by using 'isValidPrincipal'
* fix: avoid querying events on genesis block

Co-authored-by: ER <raynaudo.ee@gmail.com>
2021-04-19 15:25:25 +02:00
Matthew Little
6a2c99c284 Merge branch 'master' into develop 2021-04-08 16:26:54 +02:00
rllola
5f75b4005e fix: size should be integer type and not number 2021-03-31 10:35:04 +02:00
Lola Dam
1d66eee3e0 fix: Added suggested fee
* fix: calculate suggested_fee using estimated fee endpoint and tx calculated size

* fix: linter and missing doc file
2021-03-31 10:35:04 +02: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
Nouman Ahmad
30dae344b7 chore: transaction schema update 2021-03-26 14:22:18 +01:00
Nouman Ahmad
141c85cae0 fix: event count added in transaction 2021-03-26 14:22:18 +01:00
Friedger Müffke
a86423ed2e fix: remove extra comma 2021-03-18 10:21:07 +01:00
Friedger Müffke
7be87c2812 fix: update schema 2021-03-18 10:21:07 +01:00
Asim Mehmood
1da22d464a fix: eslint issues 2021-03-17 12:33:02 +01:00
Asim Mehmood
1ad59dc480 chore: add additional fields to nft-event and updated the query to fix ownership issue 2021-03-17 12:33:02 +01:00