Bitcoin Forum
May 12, 2024, 05:57:30 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain API generating invalid address?  (Read 323 times)
farnhamit (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 16, 2017, 10: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
1715536650
Hero Member
*
Offline Offline

Posts: 1715536650

View Profile Personal Message (Offline)

Ignore
1715536650
Reply with quote  #2

1715536650
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
September 16, 2017, 11:15:23 PM
 #2

What is the code that you are using to generate an address?

farnhamit (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 17, 2017, 11: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
Joel_Jantsen
Legendary
*
Offline Offline

Activity: 1876
Merit: 1308

Get your game girl


View Profile
September 17, 2017, 12:04:05 PM
 #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!
farnhamit (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 17, 2017, 12:31:44 PM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!