I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: [Feature Request] API Key Auth instead of Login Creds

dashed-slug.net Forums General discussion [Feature Request] API Key Auth instead of Login Creds Reply To: [Feature Request] API Key Auth instead of Login Creds

#6072
alexg
Keymaster

About your question regarding transactions, here’s a complete example:

https://example.com/?__wallets_apiversion=3&__wallets_action=get_transactions&__wallets_tx_count=10&__wallets_tx_from=0&__wallets_symbol=BTC

This would retrieve the first 10 BTC transactions. Don’t forget to add authentication parameters to your call.

You can always observe the XHR requests in your browser to see how the plugin does it.

This is where the GET parameters get passed into the PHP API:

https://github.com/dashed-slug/wallets/blob/4.2.0/includes/json-api.php#L1157-L1168

And the relevant PHP API:

https://wallets-phpdoc.dashed-slug.net/classes/Dashed_Slug_Wallets_PHP_API.html#method_api_transactions_filter

with regards