We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edeb65e commit 3704100Copy full SHA for 3704100
README.md
@@ -62,6 +62,13 @@ $block('tx')->last(); // txid of last transaction
62
*/
63
$result = $bitcoind->sendToAddress('mmXgiR6KAhZCyQ8ndr2BCfEq1wNG2UnyG6', 0.1);
64
$txid = $result->get();
65
+
66
+/**
67
+ * Get transaction amount.
68
+ */
69
+$result = $bitcoind->listSinceBlock();
70
+$totalAmount = $result->sum('transactions.*.amount');
71
+$totalSatoshi = BitcoinClient::toSatoshi($totalAmount);
72
```
73
To send asynchronous request, add Async to method name:
74
```php
0 commit comments