Skip to content

Commit 50d032c

Browse files
authored
Merge pull request #1889 from hirosystems/beta
release to master
2 parents f82ed89 + a417ff1 commit 50d032c

23 files changed

+1475
-69
lines changed

.github/CONTRIBUTING.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## [7.9.0-beta.3](https://github.com/hirosystems/stacks-blockchain-api/compare/v7.9.0-beta.2...v7.9.0-beta.3) (2024-03-15)
2+
3+
4+
### Bug Fixes
5+
6+
* include address transactions from genesis block ([#1888](https://github.com/hirosystems/stacks-blockchain-api/issues/1888)) ([cdea9e6](https://github.com/hirosystems/stacks-blockchain-api/commit/cdea9e61230850444e2227f4d15ec8ffce28ab9b))
7+
8+
## [7.9.0-beta.2](https://github.com/hirosystems/stacks-blockchain-api/compare/v7.9.0-beta.1...v7.9.0-beta.2) (2024-03-15)
9+
10+
11+
### Bug Fixes
12+
13+
* include address transactions with no stx transfers ([#1887](https://github.com/hirosystems/stacks-blockchain-api/issues/1887)) ([d308e46](https://github.com/hirosystems/stacks-blockchain-api/commit/d308e463b4bb5569b2dc2d8da8892050c1d4b40f))
14+
15+
## [7.9.0-beta.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v7.8.2...v7.9.0-beta.1) (2024-03-11)
16+
17+
18+
### Features
19+
20+
* add v2 addresses endpoints ([#1876](https://github.com/hirosystems/stacks-blockchain-api/issues/1876)) ([c9440dd](https://github.com/hirosystems/stacks-blockchain-api/commit/c9440dd8efc0ac0589567f51bb8700d52d8d348f))
21+
22+
23+
### Bug Fixes
24+
25+
* show status endpoint in /extended ([#1869](https://github.com/hirosystems/stacks-blockchain-api/issues/1869)) ([cf47f8f](https://github.com/hirosystems/stacks-blockchain-api/commit/cf47f8fe220d9388c204798b547699a44c27fab5))
26+
127
## [7.8.2](https://github.com/hirosystems/stacks-blockchain-api/compare/v7.8.1...v7.8.2) (2024-02-19)
228

329

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,24 @@ Development of this product happens in the open on GitHub, and we are grateful t
198198
Please read our [Code of Conduct](../../../.github/blob/main/CODE_OF_CONDUCT.md) since we expect project participants to adhere to it.
199199

200200
### Contributing Guide
201-
Read our [contributing guide](.github/CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.
201+
202+
Hiro welcomes all contributions to Hiro documentation. These contributions come in two forms: issues and pull requests.
203+
204+
#### Issues
205+
206+
Bugs, feature requests, and development-related questions should be directed to our [GitHub issues tracker](https://github.com/hirosystems/stacks-blockchain-api/issues/new).
207+
208+
If reporting a bug, try to provide as much context as possible and anything else that might be relevant to the describe the issue. If possible include a simple test case that we can use to reproduce the problem on our own.
209+
210+
For feature requests, please explain what you're trying to do, and how the requested feature would be a complement to the project.
211+
212+
The two most important pieces of information we need in order to properly evaluate an issue or a feature request is a clear description of the behavior being reported.
213+
214+
#### Pull requests
215+
216+
A pull request allows anyone to suggest changes to a repository on GitHub that can be easily reviewed by others. Once a pull request is opened, you can discuss and review the potential changes with collaborators and add follow-up commits before your changes are merged into the base branch.
217+
218+
Keep in mind that pull requests are not merged directly into the `master` branch. It must have `develop` as the base branch.
202219
203220
### Community
204221
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"limit": 20,
3+
"offset": 0,
4+
"total": 4,
5+
"results": [
6+
{
7+
"type": "stx",
8+
"event_index": 0,
9+
"data": {
10+
"type": "transfer",
11+
"amount": "200",
12+
"sender": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
13+
"recipient": "SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP"
14+
}
15+
},
16+
{
17+
"type": "stx",
18+
"event_index": 1,
19+
"data": {
20+
"type": "transfer",
21+
"amount": "150",
22+
"sender": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
23+
"recipient": "SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7"
24+
}
25+
},
26+
{
27+
"type": "ft",
28+
"event_index": 5,
29+
"data": {
30+
"type": "transfer",
31+
"amount": "103",
32+
"asset_identifier": "SP466FNC0P7JWTNM2R9T199QRZN1MYEDTAR0KP27.miamicoin-token::miamicoin",
33+
"sender": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
34+
"recipient": "SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP"
35+
}
36+
},
37+
{
38+
"type": "nft",
39+
"event_index": 6,
40+
"data": {
41+
"type": "transfer",
42+
"asset_identifier": "SP497E7RX3233ATBS2AB9G4WTHB63X5PBSP5VGAQ.boom-nfts::boom",
43+
"value": { "hex": "0x00", "repr": "0" },
44+
"sender": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
45+
"recipient": "SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP"
46+
}
47+
}
48+
]
49+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"description": "GET Address Transaction Events",
3+
"title": "AddressTransactionEventListResponse",
4+
"type": "object",
5+
"additionalProperties": false,
6+
"required": ["results", "limit", "offset", "total"],
7+
"properties": {
8+
"limit": {
9+
"type": "integer",
10+
"maximum": 30
11+
},
12+
"offset": {
13+
"type": "integer"
14+
},
15+
"total": {
16+
"type": "integer"
17+
},
18+
"results": {
19+
"type": "array",
20+
"items": {
21+
"$ref": "../../entities/address/address-transaction-event.schema.json"
22+
}
23+
}
24+
}
25+
}
Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"limit": 20,
3+
"offset": 0,
4+
"total": 2,
5+
"results": [
6+
{
7+
"tx": {
8+
"tx_id": "0x34d79c7cfc2fe525438736733e501a4bf0308a5556e3e080d1e2c0858aad7448",
9+
"tx_type": "contract_call",
10+
"nonce": 11,
11+
"fee_rate": "346",
12+
"sender_address": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
13+
"sponsored": false,
14+
"post_condition_mode": "deny",
15+
"tx_status": "success",
16+
"block_hash": "0x13d1b4ad35c95bca209397420fb8af104d2929d91993ba056d7a1ca5470095f9",
17+
"block_height": 3246,
18+
"burn_block_time": 1613009951,
19+
"burn_block_time_iso": "2021-02-11T02:19:11.000Z",
20+
"canonical": true,
21+
"is_unanchored": false,
22+
"microblock_hash": "0x590a1bb1d7bcbeafce0a9fc8f8a69e369486192d14687fe95fbe4dc1c71d49df",
23+
"microblock_sequence": 5,
24+
"microblock_canonical": true,
25+
"tx_index": 1,
26+
"tx_result": {
27+
"hex": "0x0703",
28+
"repr": "(ok true)"
29+
},
30+
"post_conditions": [
31+
{
32+
"type": "stx",
33+
"condition_code": "sent_equal_to",
34+
"amount": "350",
35+
"principal": {
36+
"type_id": "principal_standard",
37+
"address": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE"
38+
}
39+
}
40+
],
41+
"contract_call": {
42+
"contract_id": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE.send-many-memo",
43+
"function_name": "send-many",
44+
"function_signature": "(define-public (send-many (recipients (list 200 (tuple (memo (buff 34)) (to principal) (ustx uint))))))",
45+
"function_args": [
46+
{
47+
"hex": "0x0b000000020c00000003046d656d6f020000000966697273746d656d6f02746f05168c031b2db5895ece0cdfbf76e0b0e8af67226a6f047573747801000000000000000000000000000000960c00000003046d656d6f020000000a7365636f6e646d656d6f02746f05168974da696d74a16d0955bc8e55720dfd39e789cf047573747801000000000000000000000000000000c8",
48+
"repr": "(list (tuple (memo 0x66697273746d656d6f) (to SP26066SDPP4NXKGCVYZQDR5GX2QPE8KADZ0YK2J7) (ustx u150)) (tuple (memo 0x7365636f6e646d656d6f) (to SP24Q9PK9DNTA2V89APY8WNBJ1QYKKSW9SWB04RJP) (ustx u200)))",
49+
"name": "recipients",
50+
"type": "(list 200 (tuple (memo (buff 34)) (to principal) (ustx uint)))"
51+
}
52+
]
53+
},
54+
"events": [],
55+
"event_count": 4
56+
},
57+
"stx_sent": "696",
58+
"stx_received": "0",
59+
"events": {
60+
"stx": {
61+
"transfer": 2,
62+
"mint": 0,
63+
"burn": 0
64+
},
65+
"ft": {
66+
"transfer": 1,
67+
"mint": 0,
68+
"burn": 0
69+
},
70+
"nft": {
71+
"transfer": 1,
72+
"mint": 0,
73+
"burn": 0
74+
}
75+
}
76+
},
77+
{
78+
"tx": {
79+
"tx_id": "0x628045bff13658396277d618e9a3e4d468a4b3876eff4941d2f13ed88cd7abb7",
80+
"tx_type": "token_transfer",
81+
"nonce": 8,
82+
"fee_rate": "180",
83+
"sender_address": "SP3FBR2AGK5H9QBDH3EEN6DF8EK8JY7RX8QJ5SVTE",
84+
"sponsored": false,
85+
"post_condition_mode": "deny",
86+
"tx_status": "success",
87+
"block_hash": "0x2b8599696f64e2456c67b1ab5e63078f99d87bd1d903c37fdcfd73b1890a7551",
88+
"block_height": 1761,
89+
"burn_block_time": 1611968237,
90+
"burn_block_time_iso": "2021-01-30T00:57:17.000Z",
91+
"canonical": true,
92+
"is_unanchored": false,
93+
"microblock_hash": "",
94+
"microblock_sequence": 2147483647,
95+
"microblock_canonical": true,
96+
"tx_index": 2,
97+
"tx_result": {
98+
"hex": "0x0703",
99+
"repr": "(ok true)"
100+
},
101+
"token_transfer": {
102+
"recipient_address": "SPRSM0R2JZWBCZ39NQBARWTMX9TE99K3JK8D5KMX",
103+
"amount": "100000",
104+
"memo": "0x57656c636f6d6520746f20426f6f6d2e000000000000000000000000000000000000"
105+
},
106+
"events": [],
107+
"event_count": 1
108+
},
109+
"stx_sent": "100180",
110+
"stx_received": "0",
111+
"events": {
112+
"stx": {
113+
"transfer": 1,
114+
"mint": 0,
115+
"burn": 0
116+
},
117+
"ft": {
118+
"transfer": 0,
119+
"mint": 0,
120+
"burn": 0
121+
},
122+
"nft": {
123+
"transfer": 0,
124+
"mint": 0,
125+
"burn": 0
126+
}
127+
}
128+
}
129+
]
130+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"description": "GET Address Transactions",
3+
"title": "AddressTransactionsV2ListResponse",
4+
"type": "object",
5+
"additionalProperties": false,
6+
"required": ["results", "limit", "offset", "total"],
7+
"properties": {
8+
"limit": {
9+
"type": "integer",
10+
"maximum": 30
11+
},
12+
"offset": {
13+
"type": "integer"
14+
},
15+
"total": {
16+
"type": "integer"
17+
},
18+
"results": {
19+
"type": "array",
20+
"items": {
21+
"$ref": "../../entities/address/address-transaction.schema.json"
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)