-
Rucknium[m]Using RPC, what is a good way to get the number of bytes-on-disk of a specific transaction from monerod? I could use the onion-monero-blockchain-explorer API, but I would prefer not to rely on external software.
-
moneromooooAsk for the hex dump if it, it's half that string's size.
-
Rucknium[m]Thanks!
-
afungible[m]Found this..
-
afungible[m]
-
afungible[m]Input: tx hash to look up
-
afungible[m]Output: "txs_as_hex" returns full txn info as a hex string.
-
Rucknium[m]For coinbase transactions, txs_as_hex is an empty string, but pruned_as_hex seems to have the hex dump of the coinbase transaction. Is that correct? The node I am querying is not pruned.
-
afungible[m]My guess is that coinbase does not have an input txn, so "txs_as_hex" field returns empty string.
-
afungible[m]Not sure about it being dumped to "pruned_as_hex", when node itself is not pruned. Maybe our implementation tackles it differently.