LNPay Docs
Search…
Introduction
Guides
Outsource App Wallets
Connecting Voltage Node
API
Get Started
Wallets
Create Wallet
Retrieve Wallet
List Wallets
List Wallet Transactions
List All Transactions
Wallet Send / Receive
Wallet Streaming Payments
LnTx (Get Invoice Status)
LNURL-withdraw
LNURL-pay
Lightning Address
Lightning Network Nodes
Webhooks
Powered By
GitBook
List All Transactions
Get a list of all transactions across all wallets
This endpoint is only available to the
Secret Access Key (
sak_
)
get
https://api.lnpay.co/
v1/wallet-transactions
ListTransactions
the
lntx
field will be
null
if the transaction is a transfer
wtx['num_satoshis']
is
directional
so there will be a negative value in the event of a debit
lnTx['num_satoshis']
will always be a positive value
cURL
Node.js
Python
curl -u sak_XXXXXXX: \
https://api.lnpay.co/v1/wallet-transactions
const
lnpay
=
LNPay
({
secretKey
:
'sak_XXXXX'
,
walletAccessKey
:
'wal_XXXXX'
,
});
​
const
transactions
=
await
lnpay
.
getTransactions
({
page
:
1
,
});
lnpay_py
.
initialize
(
'sak_XXXXXXX'
)
from
lnpay_py
.
wallet
import
LNPayWallet
​
my_wallet
=
LNPayWallet
(
'waki_XXXXXX'
)
transactions
=
my_wallet
.
get_transactions
()
print
(
transactions
)
Previous
List Wallet Transactions
Next - API
Wallet Send / Receive
Last modified
1yr ago
Copy link