Bitcoin Transaktionen kosten im Moment im Durchschnitt ca. 18 Dollar. Man kann ja die Gebühr selbst festlegen und damit die Geschwindigkeit der Überweisung steuern. Wählt man zuwenig, wird sie evl. auch nach Tagen nicht ausgeführt. Evl. reicht aber auch eine kleinere Gebühr, wenn die Transaktion nicht in den nächsten Block der Blockchain kommen muss und man evl. Zeit für ein paar Tage hat. Dann reichen evl. schon wie unten zu sehen 4 Satoshi per Byte.
Bei BTC hängen ja die Gebühren nicht an dem Betrag, sondern an der Länge der Transaktion, die je nach Adressentyp unterschiedlich ist.
Man kann hier schauen, was so im Moment berechnet wird. Dort steht:
1 2 |
The fastest and cheapest transaction fee is currently 102 satoshis/byte, shown in green at the top. For the median transaction size of 224 bytes, this results in a fee of 22,848 satoshis. |
Das ist aber umständlich. Um die aktuelle Kosten anzuzeigen, habe ich einen kleinen NodeRed-Flow im Dashboard entwickelt, das einen Web-Service von mempool.space abfragt und anzeigt. So sieht man auf einen Blick, welcher Betrag ca. für welche Zeit nötig ist.
So braucht man nur einmal auf den „Update“ Button klicken und erhält die Möglichen werte um nicht zuviel zu bezahlen. Manche Wallets ermöglichen ja auch nachträglich die Kosten zu erhöhen wenn die Transaktion nicht durchkommt. Das nervt zwar, spart aber und nennt sich Replace-by-Fee (RBF). Hier das Dashboard:…
Hier der JavaScrip Quellcode:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
[ { "id": "c547ec7a.90f64", "type": "tab", "label": "BTC Fee", "disabled": false, "info": "" }, { "id": "230cbe8c.ff428a", "type": "group", "z": "c547ec7a.90f64", "name": "Gui", "style": { "fill": "#e3f3d3", "label": true }, "nodes": [ "8bfa1a66.778138", "aed23b56.00ed", "f937d76c.d445", "deb36ac7.caac7" ], "x": 794, "y": 99, "w": 312, "h": 262 }, { "id": "aea788ae.c3872", "type": "inject", "z": "c547ec7a.90f64", "name": "Abfrage", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "86400", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 120, "y": 200, "wires": [ [ "6bf59635.5cdcc" ] ] }, { "id": "8bfa1a66.778138", "type": "ui_gauge", "z": "c547ec7a.90f64", "g": "230cbe8c.ff428a", "name": "", "group": "749a5bc1.1eeacc", "order": 11, "width": 0, "height": 0, "gtype": "gage", "title": "am schnellsten (nächster Block)", "label": "in satoshis per byte", "format": "{{value}}", "min": 0, "max": "120", "colors": [ "#bb433d", "#bb433d", "#bb433d" ], "seg1": "", "seg2": "", "x": 950, "y": 140, "wires": [] }, { "id": "1e4d45d2.ca5c32", "type": "function", "z": "c547ec7a.90f64", "name": "schnellstes Gebühr", "func": "msg.payload = msg.payload.fastestFee\n\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 610, "y": 140, "wires": [ [ "8bfa1a66.778138" ] ] }, { "id": "aed23b56.00ed", "type": "ui_gauge", "z": "c547ec7a.90f64", "g": "230cbe8c.ff428a", "name": "", "group": "749a5bc1.1eeacc", "order": 11, "width": 0, "height": 0, "gtype": "gage", "title": "in einer halben Stunde", "label": "in satoshis per byte", "format": "{{value}}", "min": 0, "max": "120", "colors": [ "#e5e500", "#e6e600", "#e5e500" ], "seg1": "", "seg2": "", "x": 920, "y": 200, "wires": [] }, { "id": "11ce5f85.8bcfe8", "type": "function", "z": "c547ec7a.90f64", "name": "Gebühr in einer halben Stunde", "func": "msg.payload = msg.payload.halfHourFee\n\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 650, "y": 200, "wires": [ [ "aed23b56.00ed" ] ] }, { "id": "f937d76c.d445", "type": "ui_gauge", "z": "c547ec7a.90f64", "g": "230cbe8c.ff428a", "name": "", "group": "749a5bc1.1eeacc", "order": 11, "width": 0, "height": 0, "gtype": "gage", "title": "in einer Stunde", "label": "in satoshis per byte", "format": "{{value}}", "min": 0, "max": "120", "colors": [ "#00b500", "#45b22a", "#45b22a" ], "seg1": "", "seg2": "", "x": 900, "y": 260, "wires": [] }, { "id": "266d4f3c.645d6", "type": "function", "z": "c547ec7a.90f64", "name": "Gebühr in einer Stunde", "func": "msg.payload = msg.payload.hourFee\n\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 630, "y": 260, "wires": [ [ "f937d76c.d445" ] ] }, { "id": "6bf59635.5cdcc", "type": "ui_button", "z": "c547ec7a.90f64", "name": "", "group": "749a5bc1.1eeacc", "order": 3, "width": 0, "height": 0, "passthru": true, "label": "Update", "tooltip": "", "color": "", "bgcolor": "", "icon": "", "payload": "", "payloadType": "str", "topic": "topic", "topicType": "msg", "x": 260, "y": 200, "wires": [ [ "2935cae7.95fac6", "8f8aa8b6.69b3a8" ] ] }, { "id": "17b10bb.02116f4", "type": "comment", "z": "c547ec7a.90f64", "name": "(c) 2021 Thomas Wenzlaff www.wenzlaff.info", "info": "Quelle: \n\nhttps://bitcoinfees.earn.com/api\n\nhttps://bitcoinfees.earn.com\n\n\nhttps://mempool.space/api/v1/fees/recommended\n\nhttps://mempool.space/de/api", "x": 230, "y": 460, "wires": [] }, { "id": "5f799d8a.04beec", "type": "comment", "z": "c547ec7a.90f64", "name": "Buy my a coffee: bitcoin:bc1qj4grttyhk2h5wqask3nku70e3qtycssz5kvw5l", "info": "", "x": 760, "y": 460, "wires": [] }, { "id": "2935cae7.95fac6", "type": "http request", "z": "c547ec7a.90f64", "name": "Get fee", "method": "GET", "ret": "obj", "paytoqs": "ignore", "url": "https://mempool.space/api/v1/fees/recommended", "tls": "", "persist": false, "proxy": "", "authType": "", "x": 400, "y": 200, "wires": [ [ "7e71cf76.02f828", "2b014780.7a55c", "1e4d45d2.ca5c32", "11ce5f85.8bcfe8", "266d4f3c.645d6" ] ] }, { "id": "7e71cf76.02f828", "type": "function", "z": "c547ec7a.90f64", "name": "Minimal Gebühr", "func": "msg.payload = msg.payload.minimumFee\n\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "x": 600, "y": 320, "wires": [ [ "deb36ac7.caac7" ] ] }, { "id": "deb36ac7.caac7", "type": "ui_gauge", "z": "c547ec7a.90f64", "g": "230cbe8c.ff428a", "name": "", "group": "749a5bc1.1eeacc", "order": 11, "width": 0, "height": 0, "gtype": "gage", "title": "Minimal", "label": "in satoshis per byte", "format": "{{value}}", "min": 0, "max": "120", "colors": [ "#feffff", "#feffff", "#feffff" ], "seg1": "", "seg2": "", "x": 880, "y": 320, "wires": [] }, { "id": "2b014780.7a55c", "type": "debug", "z": "c547ec7a.90f64", "name": "fee", "active": true, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload.hourFee", "statusType": "msg", "x": 570, "y": 380, "wires": [] }, { "id": "4ed124e8.0e0714", "type": "comment", "z": "c547ec7a.90f64", "name": "Abfrage der empfohlenen BTC Transaktionsgebühr (fee) zur erziehlbaren Transaktionszeit", "info": "", "x": 350, "y": 60, "wires": [] }, { "id": "8f8aa8b6.69b3a8", "type": "link out", "z": "c547ec7a.90f64", "name": "Update BTC", "links": [ "5adf0d9c.e6124c" ], "x": 355, "y": 260, "wires": [] }, { "id": "749a5bc1.1eeacc", "type": "ui_group", "name": "BTC Transaktionsgebühren", "tab": "c4d8c9aa.933c68", "order": 1, "disp": true, "width": "6", "collapse": false }, { "id": "c4d8c9aa.933c68", "type": "ui_tab", "name": "Transaktionsgebühren", "icon": "fa-btc", "order": 13, "disabled": false, "hidden": false } ] |