How to get both confirmed and unconfirmed transaction details of foreign(non-wallet) addresses from bitcoin-node server?

How to get both confirmed and unconfirmed transaction details of foreign(non-wallet) addresses from bitcoin-node server? Actually i have generated the addresses using third party library and sent some btc on it. Now i want to know confirmed and unconfirmed transaction details using my own local bitcoin-core node server. Can Somebody help me? Thanks in advance.

VM error: revert.The called function should be payable if you send value and the value you send should be less than your current balance

There is already a similar question, but it doesn’t help me. So I ask this question again and expect something useful information. Two contracts named AccessControl.sol and Judge.sol. I’ve removed all the extraneous code, leaving only the wrong functions and get same error when call it. First I deploy Judge contract and get its contract…