Questions tagged [getrawtransaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
29 views

How does the daemon get a transaction via a hash

I am wondering how the daemon gets the transaction data from just a hash. I'm NOT asking how i can get it, i know i can get it via the rpc, i am asking how the daemon does it behind the scenes. Does ...
3
votes
1answer
34 views

Handling “dead” (double-spent) transactions in my mempool

Say I receive transaction A and it is in my node's mempool and unconfirmed. Then a block gets mined directly, which spends one of transaction A's inputs, rendering transaction A invalid. What can I ...
1
vote
1answer
55 views

address list in “getrawtransaction”

i have a confuse about the "getrawtransaction" RPC function,it returns a json object, which contains the addresses list in the "vout" object,like below.It took me some time to understand when the ...
0
votes
1answer
32 views

listunspent bitcoin core command returns the address as String while getrawtransaction addresses are array

this answers why vout.scriptPubKey.addresses is an array, then why the address in listunspent response is a String? Do you know any transactions in the blockchain have multi addresses in the vout?