<p>I need to extract last wallet transaction. But seems <code> listtransaction</code> has some wrong logic. When I perform this function</p>
<pre><code>listtransactions '*' 50 9
</code></pre>
<p>it just return me first records not last. In my case I have 11 records, so it return me record 1 and 2, instead of 10 and 11 as I expected. Thus I get first two records instead of last. Maybe I understood something wrong or missed some other params?</p>

<bitcoin-core><bitcoin-cli>
listtransactions weird offset workflow
Oleksandr IY
# listtransactions weird offset workflow

(Asked by: username_0 on 2021-05-07)

I need to extract last wallet transaction. But seems  listtransaction has some wrong logic. When I perform this function
listtransactions '*' 50 9

it just return me first records not last. In my case I have 11 records, so it return me record 1 and 2, instead of 10 and 11 as I expected. Thus I get first two records instead of last. Maybe I understood something wrong or missed some other params?

**Tags:** bitcoin-core, bitcoin-cli


---

## 0 answers

