Seeing transaction history from Motoko

Is there a way to query transactions from within Motoko? I want to see if ICP was received to an address and from which address.

Person A sends to person B. I have both addresses. I want to query to see any existing transactions in person B’s account that came from A.

The api portion from @wang here → GitHub - ic-rocks/ic-rocks: Analytics and explorer for the DFINITY Internet Computer is golden!

1 Like