Author

Topic: Blockchain API generating invalid address? (Read 339 times)

newbie
Activity: 20
Merit: 0
September 17, 2017, 07:31:44 AM
#5
What is the code that you are using to generate an address?

Have worked it out, Feel very stupid! Was a text-transformation to UPPERCASE in my css. Smiley
Sorry to post the comment when your problem is resolve but I'm curious to know what was the exact issue ? How can a text-transformation in your css can affect your logic in JavaScript (hope your paid script is using that).I don't see the co-relation here unless you're exporting the div's or adding classes through JS
Do you mind posting function that gets the data from the API ? Please don't reveal if it's not safe on the security side for your app.Thanks!

I will have a chat with my developer mate to get the snippet for you,

Basically, the output was a correct address but has lowercase & uppercase characters in the address but my stylesheet had some code which formatted the website to uppercase therefor the output address was all UPPERCASE rather than a mixture.

My developer is working with blockchain API i know that much  Roll Eyes sorry im not great with API work https://blockchain.info/api
legendary
Activity: 1988
Merit: 1317
Get your game girl
September 17, 2017, 07:04:05 AM
#4
What is the code that you are using to generate an address?

Have worked it out, Feel very stupid! Was a text-transformation to UPPERCASE in my css. Smiley
Sorry to post the comment when your problem is resolve but I'm curious to know what was the exact issue ? How can a text-transformation in your css can affect your logic in JavaScript (hope your paid script is using that).I don't see the co-relation here unless you're exporting the div's or adding classes through JS
Do you mind posting function that gets the data from the API ? Please don't reveal if it's not safe on the security side for your app.Thanks!
newbie
Activity: 20
Merit: 0
September 17, 2017, 06:57:46 AM
#3
What is the code that you are using to generate an address?

Have worked it out, Feel very stupid! Was a text-transformation to UPPERCASE in my css. Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
September 16, 2017, 06:15:23 PM
#2
What is the code that you are using to generate an address?
newbie
Activity: 20
Merit: 0
September 16, 2017, 05:39:02 PM
#1
Hey guys, I am trying to set up a payment deposit on my website with blockchain api,

I am using a paid script but its generating addresses that are not valid,

For example this is an address 1NU1T8RNRMSTWKRKXXNONWECDD3DUJZURN

Please help Sad
Jump to: