bitcoind: how to get the entry address and the amount of vin using bitcoin core rpc

I am trying to find details of each transaction using bitcoin core rpc. First, I'm using bitcoin-cli getblock to get the block data, then I use bitcoin-cli getrawtransaction to get the details of the transaction.

For example:

    bitcoin-cli getrawtransaction "1024cb12a576b69defa67dbc2f1899700ab58e5ad3d5e058edefb907f59865bc" true "00000000000000cpcpcpcc

obtain:

{
"in_active_chain": true,
"txid": "1024cb12a576b69defa67dbc2f1899700ab58e5ad3d5e058edefb907f59865bc",
"hash": "1024cb12a576b69defa67dbc2f1899700ab58e5ad3d5e058edefb907f59865bc",
"version 2,
"size": 339,
"vsize": 339,
"weight": 1356,
"Locktime": 499989,
"vin": [
    {
      "txid": "0d6cbc21a1b1a3e5df1eae4fc37aa849174b6b727e53f9f505a605f066b7f000",
      "vout": 0,
      "scriptSig": {
        "asm": "304402203f198d9695a293c41d2124e790d473e68f4b35a09ece5517c7adfffc797f91760220304feb1cc2829d3c937665bcb4b7f9735acbcac50e9169bc53c9e689ce20b3bc[ALL] 025743bce4e775bb754e784dd2cfdc8dabc2023154eee539bb155612101a583e7e ",
"Hex": "47304402203f198d9695a293c41d2124e790d473e68f4b35a09ece5517c7adfffc797f91760220304feb1cc2829d3c937665bcb4b7f9735acbcac50e9169bc53c9e689ce20b3bc0121025743bce4e775bb754e784dd2cfdc8dabc2023154eee539bb155612101a583e7e"
}
"sequence": 4294967294
}
{
"txid": "aac498279d50ee81237d704cb495b243b50def5ecdcb36d9d78f596f73b1d3e9",
"vout": 1,
"scriptSig": {
"asm": "3045022100b763b986b17beddac1ac96c3656fa7af188a28cfacfc87390e1e796b7fdbc0d102201e76f77db60242400[ALL] 0349ebb9d180938ab3a571d8c2e9771fb4fecb9f4484c337bb35d8fd8b48283ca9 ",
"Hex": "483045022100b763b986b17beddac1ac96c3656fa7af188a28cfacfc87390e1e796b7fdbc0d102201e76f77db6093306028e681e2fe6354ae12649afb5c27c549243b67d505a1bb601210349ebb9d180938ab3a571d8c2e9771fb4fecb9f4484c337bb35d8fd8b48283ca9"
}
"sequence": 4294967294
}
],
"vout": [
    {
      "value": 0.17450000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 d63cc1e3b6009e31d03bd5f8046cbe0f7e37e8c0 OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a914d63cc1e3b6009e31d03bd5f8046cbe0f7e37e8c088ac",
        "reqSigs": 1,
        "type": "pubkeyhash",
        "addresses": [
          "1LXnPYpHTwQeWfBVnQZ4yDP23b57NwoyrP"
        ]
      }
}
],
"Hex": "020000000200f0b766f005a605f5f9537e726b4b1749a87ac34fae1edfe5a3b1a121bc6c0d000000006a47304402203f198d9695a293c41d2124e790d473e68f4b35a09ece5517c7adfffc797f91760220304feb1cc2829d3c937665bcb4b7f9735acbcac50e9169bc53c9e689ce20b3bc0121025743bce4e775bb754e784dd2cfdc8dabc2023154eee539bb155612101a583e7efeffffffe9d3b1736f598fd7d936cbcd5eef0db543b295b44c707d2381ee509d2798c4aa010000006b483045022100b763b986b17beddac1ac96c3656fa7af188a28cfacfc87390e1e796b7fdbc0d102201e76f77db6093306028e681e2fe6354ae12649afb5c27c549243b67d505a1bb601210349ebb9d180938ab3a571d8c2e9771fb4fecb9f4484c337bb35d8fd8b48283ca9feffffff0110440a01000000001976a914d63cc1e3b6009e31d03bd5f8046cbe0f7e37e8c088ac15a10700"
"blockhash": "00000000000000000024fb37364cbf81fd49cc2d51c09c75c35433c3a1945d04",
"confirmations": 85927,
"time": 1513622125,
"blocking time": 1513622125
}

I know that some web APIs like blockchain.info provide this information for each transaction. How can I get the address and the corresponding amount of vin using another bitcoin core rpc?

Thank you.

There are some related links:
How to get the scriptSig address?

How to get the vin entry address where only one txid is provided (Insight-Api)

Ford Mustang 2019 Blue 2.3L

All hours are GMT. The time now is 08:40 PM.

Copyright ® 2009 – 2015 BlackHatKings.com

Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.

BlackHatKings.com – Web, Internet Marketing & SEO Forums

All hours are GMT. The time now is 08:40 PM.

.

New innovative vin reports service for free.

Do you want VIN reports of your car as early as possible? Visit Vinchain and get the original reports. http://www.facebook.com/vinchainio/ You'll be surprised that your VIN reports are more accurate than those of carfax. Check your VIN and let me know.