17.8 C
New York
Wednesday, October 2, 2024

Do BIP21 URIs have a required order for the parameters?

Share To Your Friends

[ad_1]

I would like some assist understanding a finer level of BIP21 URIs. Is there a required order for the parameters? I am not very skilled with the idea of ABNF grammar, so I am having bother understanding.

For instance, I do know that is legitimate.

bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?quantity=20.3&label=Luke-Jr

And I do know this legitimate:

bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?quantity=20.3&label=Luke-Jr&optionalparam=blahblahblah

However is that this legitimate?

bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?optionalparam=blahblahblah&quantity=20.3&label=Luke-Jr

Very particularly, should the order of parameters at all times be quantity, label, message, after which elective params? Or is it OK to incorporate elective params earlier than the quantity?

[ad_2]


Share To Your Friends

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles