Skip to main content

Questions tagged [getrawtransaction]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
38 views

EasyBitcoin-PHP not working for Rawtransactions RPCs

I've been using easybitcoin to access "Wallet RPCs" as defined here - https://developer.bitcoin.org/reference/rpc/index.html#rawtransactions-rpcs But it doesn't seem to work with "...
mista phi's user avatar
3 votes
1 answer
236 views

Is there a cache mechanism with getrawtransaction?

I am currently working on a script that parses every BTC transaction from the beginning of the blockchain. My goal is to record summaries about each transaction in database, after synthesizing it. ...
Lev's user avatar
  • 75
-1 votes
1 answer
124 views

How can I tell from the `getrawtransaction` if a transaction signaled Taproot?

I'm trying to "distill" Taproot transactions in the raw transaction output, but: It is still not clear to me what tx version number a Taproot transaction uses. How to find out if it's a ...
Bart DV's user avatar
  • 159
3 votes
1 answer
190 views

How can I look at the genesis block raw txn?

If I try to look at the txn in the genesis block, I get: root@0eef0ed7601c:/home/bitcoin# bitcoin-cli getrawtransaction 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b error code: -5 ...
patrick's user avatar
  • 233
0 votes
1 answer
121 views

How Can I find sat/vb of a given Txid using bitcoin-cli

I want to find the sat/vb of a tx in a mempool. I am using bitcoin-cli to do this. cmd = ['bitcoin-cli', 'getrawtransaction', txid, "true"] This is the command that I extrect the info of the ...
Gencehan ARPAÇAY's user avatar
3 votes
1 answer
71 views

Why doesn't the getrawtransaction command with the verbose flag include the confirmations field?

According to the official Bitcoin documentation, getrawtransaction should return a confirmations field, but I don't see that field in the response. https://developer.bitcoin.org/reference/rpc/...
Andrei Mukhametvaleev's user avatar
0 votes
1 answer
207 views

Why is `getrawtransaction` not working?

bitcoin-cli getrawtransaction 0627052b6f28912f2703066a912ea577f2ce4da4caa5a5fbd8a57286c345c2f2 error code: -5 error message: No such mempool transaction. Use -txindex or provide a block hash to enable ...
Indul's user avatar
  • 1
2 votes
1 answer
112 views

Why is wtxid called "hash" in Bitcoin Core's getrawtransaction RPC?

In the industry txid is known as "transaction hash". Why wasn't the "hash" field called "wtxid"?
harbar's user avatar
  • 23
3 votes
1 answer
200 views

Relation between transaction data and transaction id

What is the relationship between transaction data and transaction id (which is used at mempool to generate Merkle root)? Note : when we query the getblock with verbosity 2, we get raw block in json ...
Ali's user avatar
  • 71
1 vote
0 answers
30 views

locktime in getrawtransaction method in bitcoin-cli

what is different between Time, BlockTime and Locktime in " Getrawtransaction " method in bitcoin CLI? Actually I want to know that is locktime. Please help me :)
Sajjad Karami's user avatar
0 votes
2 answers
598 views

Retrieving Old Transaction in Bitcoin Core's console -getrawtransactions returns "no such mempool transaction" error

I'm new to running a full bitcoin node. After almost a week I could download the entire blockchain. My computer is running 24/7 to support the cause. When I tried to verify some old transactions that ...
Pishi's user avatar
  • 13
3 votes
1 answer
71 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 ...
Leah Cornelius's user avatar
3 votes
1 answer
80 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 ...
deezy's user avatar
  • 301
1 vote
1 answer
294 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 ...
user100196's user avatar
0 votes
1 answer
114 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?
Tailer's user avatar
  • 3,669