mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Update Go and RN snippets to 0.2.9
This commit is contained in:
@@ -5,14 +5,14 @@ import {
|
||||
|
||||
const exampleListPayments = async () => {
|
||||
// ANCHOR: list-payments
|
||||
const payments = listPayments({ filter: PaymentTypeFilter.ALL })
|
||||
const payments = listPayments({})
|
||||
// ANCHOR_END: list-payments
|
||||
}
|
||||
|
||||
const exampleListPaymentsFiltered = async () => {
|
||||
// ANCHOR: list-payments-filtered
|
||||
const payments = listPayments({
|
||||
filter: PaymentTypeFilter.SENT,
|
||||
filters: [PaymentTypeFilter.SENT],
|
||||
fromTimestamp: 1696880000,
|
||||
includeFailures: true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user