Questions tagged [transaction-data]

Discussion of any data included in a Monero transaction

157 questions
10
votes
1 answer

Can Monero transactions contain scripts?

Does Monero contain a scripting system for transactions like Bitcoin does? If so, what OPs does it have and where is it defined? Is it the same script as in Bitcoin or different?
urza.cc
  • 699
  • 3
  • 12
6
votes
2 answers

What happens if I try to send money to an invalid address? Do the Monero just disappear?

Say that I want to send money to address 46ABCD, but I incorrectly input 46ABCF, and 46ABCF is an invalid address that no seed will ever generate. Does the protocol automatically reject the transaction, or will the money be burnt?
Asdax
  • 551
  • 4
  • 12
5
votes
1 answer

How much arbitrary data I can embed in a transaction?

How much arbitrary data I can embed in a transaction? Does Monero have something something similar to Bitcoin's OP_RETURN?
Susan
  • 1,428
  • 1
  • 16
  • 19
5
votes
1 answer

Why is there a multiply by 8 in the hash_to_ec and derivation_to_scalar functions?

Trying to get an intuition about the hashing that Monero is doing. Some definitions: Let P represent a point on the Ed25519 curve that's also a part of the group. Let H represent a hash function. Let E(P) be the function that encodes P into a…
Jimmy Song
  • 333
  • 1
  • 7
5
votes
0 answers

How long is a 'typical' transaction time, and what factors influence this?

I am wondering how long it takes on average for XMR to be sent from one address to another (in particular, because right now BTC takes ages). Also, what factors influence the time? e.g. Mixin level, amount of XMR?
galahad
  • 137
  • 1
  • 5
4
votes
1 answer

How does input reference the output of some transaction?

So I want to understand how does Monero work under the hood. Input of tx is structured as follows: "vin": [ { "key": { "amount": 0, "key_offsets": [ 17927, 10436, 804, 32, 3817 ], "k_image":…
4
votes
1 answer

What determine the transaction size of Monero?

Only the public key size of ring signature or both the public key size and signature size?
trakl
  • 43
  • 3
3
votes
1 answer

How to parse transaction extra field to extract pubkey

Is there some description of transaction extra field? From rpc-request to blockchain I have tx object with extra(Uint8Array). In monero repo I found how they parse extra field, but don't understand in details. I need to extract transaction public…
3
votes
2 answers

Questions about calculating a transaction ID

As I know, Transaction ID is calculated from H( H(tx_prefix) || H(tx_stuff) || H(Signatures) ) Where tx_prefix = {tx version || keyoffset || keyimage || one-time addresses || extra} tx_stuff = {signature type || tx fee || pseudo output commitments…
Mooooo
  • 459
  • 2
  • 8
3
votes
1 answer

Why does Monero create two or more inputs for transactions?

I have been playing around with a private Monero test network and I noticed that the transactions always have two or more inputs. When I inspected the true inputs of a transaction, I observed that one input has more value than the total transaction…
John G.
  • 43
  • 2
2
votes
1 answer

Theoretically, is it possible to send a value of 0 to someone?

And if the answer is yes, doesn't it compromise the anonymity property? Assuming my wallet client does not check the transfer amount. (I prefer mathematical explanations).
Shak
  • 219
  • 1
  • 4
2
votes
1 answer

Where can I find the Monero transaction specification?

I am trying to understand Monero by coding a transaction parser and general utilities library in Go. Is there a place I can get a transaction specification for Monero transactions? I know it's based on CryptoNote, but I'd like something like…
Jimmy Song
  • 333
  • 1
  • 7
2
votes
2 answers

Can you reverse a payment without receiving a public key from the original sender?

So lets say Alice sends XMR to Bob and maybe even uses a payment ID so that Bob knows that it was Alice. Can Bob send Alice XMR in the future with only the information in the original transaction or does Bob need to get Alices public key?
Studnt
  • 185
  • 1
  • 9
2
votes
1 answer

How many transaction versions in Monero?

When I get information about transactions in block 1, using the RPC /get_block, I have one format of data. When I get information about transactions in block 2230000, I have a different format of data and I need to use /get_transaction to read more…
2
votes
1 answer

How to get decimal number out of a decrypted ecdhInfo field?

I have a known amount encoded in ecdhInfo. I can decrypt ecdhInfo according to this formula: amount = 8 byte encrypted amount XOR first 8 bytes of keccak("amount" || Hs(8aR||i)) How can I get a decimal value out of this decrypted 64bit field? Or,…
ivanahepjuk
  • 149
  • 5
1
2 3