@@ -98,7 +98,7 @@ Get transaction returns "normalized" data about transaction, which has the same
9898GET /api/v2/tx/<txid>
9999```
100100
101- Response for Bitcoin-type coins:
101+ Response for Bitcoin-type coins, confirmed transaction :
102102
103103``` javascript
104104{
@@ -142,13 +142,63 @@ Response for Bitcoin-type coins:
142142 " blockHeight" : 2647927 ,
143143 " confirmations" : 1 ,
144144 " blockTime" : 1553088212 ,
145+ " size" : 234 ,
146+ " vsize" : 153 ,
145147 " value" : " 55795008999999" ,
146148 " valueIn" : " 55795108999999" ,
147149 " fees" : " 100000000" ,
148150 " hex" : " 0100000...0011000"
149151}
150152```
151153
154+ Response for Bitcoin-type coins, unconfirmed transaction (_ blockHeight_ : -1, _ confirmations_ : 0, mining estimates _ confirmationETABlocks_ and _ confirmationETASeconds_ ):
155+
156+ ``` javascript
157+ {
158+ " txid" : " cd8ec77174e426070d0a50779232bba7312b712e2c6843d82d963d7076c61366" ,
159+ " version" : 2 ,
160+ " vin" : [
161+ {
162+ " txid" : " 47687cc4abb58d815168686465a38113a0608b2568a6d6480129d197e653f6dc" ,
163+ " sequence" : 4294967295 ,
164+ " n" : 0 ,
165+ " addresses" : [" bc1qka0gpenex558g8gpxmpx247mwhw695k6a7yhs4" ],
166+ " isAddress" : true ,
167+ " value" : " 1983687"
168+ }
169+ ],
170+ " vout" : [
171+ {
172+ " value" : " 3106" ,
173+ " n" : 0 ,
174+ " hex" : " 0020d7da4868055fde790a8581637ab81c216e17a3f8a099283da6c4a27419ffa539" ,
175+ " addresses" : [
176+ " bc1q6ldys6q9tl08jz59s93h4wquy9hp0glc5zvjs0dxcj38gx0l55uspu8x86"
177+ ],
178+ " isAddress" : true
179+ },
180+ {
181+ " value" : " 1979101" ,
182+ " n" : 1 ,
183+ " hex" : " 0014381be30ca46ddf378ef69ebc4a601bd6ff30b754" ,
184+ " addresses" : [" bc1q8qd7xr9ydh0n0rhkn67y5cqm6mlnpd65dcyeeg" ],
185+ " isAddress" : true
186+ }
187+ ],
188+ " blockHeight" : - 1 ,
189+ " confirmations" : 0 ,
190+ " confirmationETABlocks" : 3 ,
191+ " confirmationETASeconds" : 2055 ,
192+ " blockTime" : 1675270935 ,
193+ " size" : 234 ,
194+ " vsize" : 153 ,
195+ " value" : " 1982207" ,
196+ " valueIn" : " 1983687" ,
197+ " fees" : " 1480" ,
198+ " hex" : " 020000000001...b18f00000000"
199+ }
200+ ```
201+
152202Response for Ethereum-type coins. Data of the transaction consist of:
153203
154204- always only one _ vin_ , only one _ vout_
0 commit comments