Pages:
Author

Topic: [2 BTC Reward] How to find out, which address send me bitcoins via an API (Read 15879 times)

newbie
Activity: 13
Merit: 0
bitcoinraffle.co i am unable to send private messages for some reason, but i would be greatly appreciative of your php example to get the sender address of a transaction.  If you could please email it to cold.spitteler @ gmail.com
member
Activity: 80
Merit: 10
BitcoinRaffle.co
Freddy,

Did you get a working solution for your problem yet?

newbie
Activity: 1
Merit: 0
whats you're steam id Freddy? I Need to talk to you.
full member
Activity: 143
Merit: 100
Rightnow i think the most important feature i'm looking for is a notification when a new payment occurs.
Blockchain.info uses this for the wallets hosted on their servers.

Is there a way to get bitcoind to send notifications or start a command when there is a new transaction, on my linux box?

Once one is in the memory pool? (i.e. on 0/unconfirmed?)

Or are you asking about after it confirms?  If so:
 - http://bitcoin.stackexchange.com/a/1356/153

I believe this will do 0/unconfirmed:
 - http://www.bitcoinmonitor.net
 - http://www.bitcoinmonitor.net/apidoc  (see req_confirmations - Required confirmations)

Or perhaps:
 - https://bitping.net
blockchain.info

thank you for your suggestions but i would like to do this without external providers. i would like to get som software running on my linux box to take care of this.
full member
Activity: 205
Merit: 100
legendary
Activity: 2506
Merit: 1010
Rightnow i think the most important feature i'm looking for is a notification when a new payment occurs.
Blockchain.info uses this for the wallets hosted on their servers.

Is there a way to get bitcoind to send notifications or start a command when there is a new transaction, on my linux box?

Once one is in the memory pool? (i.e. on 0/unconfirmed?)

Or are you asking about after it confirms?  If so:
 - http://bitcoin.stackexchange.com/a/1356/153

I believe this will do 0/unconfirmed:
 - http://www.bitcoinmonitor.net
 - http://www.bitcoinmonitor.net/apidoc  (see req_confirmations - Required confirmations)

Or perhaps:
 - https://bitping.net
full member
Activity: 143
Merit: 100
Rightnow i think the most important feature i'm looking for is a notification when a new payment occurs.
Blockchain.info uses this for the wallets hosted on their servers.

Is there a way to get bitcoind to send notifications or start a command when there is a new transaction, on my linux box?
full member
Activity: 143
Merit: 100

Bitcoin-abe's database is basically a mirror image of the Block chain in a SQL database form. The only issues with it is that it takes up just about 9gb of harddrive space and requires about 1.2gb of ram :/

Harddrive is no problem but 1,2 GB of RAM and the blockchain is getting bigger everyday sound not like a good solution on a VPS with 2 GB of RAM in total.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Replying to this quote:
Well, if you can install/run bitcoind on your own server, you can do the JSON queries there with no limit and (probably) faster performance.

PM me with more detail about what you're actually trying to do and why (transaction wise, I don't need to know your business idea).  I may have another solution to your problem.


....but right now i'm limited to a webserver, so i could not run this on my server.

I've only access to the webserver via ftp.

Looks like he doesn't have the requirements(which is full root Shell access, or a connection with the owner of the webhosting service... Tongue)

I just change to a VPS where i've got root acces, so right now i'm able to try different ways like bitcoin-abe.
Does anybody use it? Could i do what i want with the help of bitcoin-abe?

Greetings,
Fredyy

Bitcoin-abe's database is basically a mirror image of the Block chain in a SQL database form. The only issues with it is that it takes up just about 9gb of harddrive space and requires about 1.2gb of ram :/
full member
Activity: 143
Merit: 100
Replying to this quote:
Well, if you can install/run bitcoind on your own server, you can do the JSON queries there with no limit and (probably) faster performance.

PM me with more detail about what you're actually trying to do and why (transaction wise, I don't need to know your business idea).  I may have another solution to your problem.


....but right now i'm limited to a webserver, so i could not run this on my server.

I've only access to the webserver via ftp.

Looks like he doesn't have the requirements(which is full root Shell access, or a connection with the owner of the webhosting service... Tongue)

I just change to a VPS where i've got root acces, so right now i'm able to try different ways like bitcoin-abe.
Does anybody use it? Could i do what i want with the help of bitcoin-abe?

Greetings,
Fredyy
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Replying to this quote:
Well, if you can install/run bitcoind on your own server, you can do the JSON queries there with no limit and (probably) faster performance.

PM me with more detail about what you're actually trying to do and why (transaction wise, I don't need to know your business idea).  I may have another solution to your problem.


....but right now i'm limited to a webserver, so i could not run this on my server.

I've only access to the webserver via ftp.

Looks like he doesn't have the requirements(which is full root Shell access, or a connection with the owner of the webhosting service... Tongue)
member
Activity: 80
Merit: 10
BitcoinRaffle.co
Well, if you can install/run bitcoind on your own server, you can do the JSON queries there with no limit and (probably) faster performance.

PM me with more detail about what you're actually trying to do and why (transaction wise, I don't need to know your business idea).  I may have another solution to your problem.
full member
Activity: 143
Merit: 100
Sorry, that i've not answered earlier.

But i found out, that that blockchain.info API is limited to 800 Requests in 8 Hours. That's properly enough for the beginning of my project but could become a problem in the future, so i would not like to relay on it.

So i'm still looking for another solution.

Bitcoin-abe looks nice to, but right now i'm limited to a webserver, so i could not run this on my server.

Do you have physical access to your server?  Or can you at least have software installed?

I've only access to the webserver via ftp.
But maybe i could get some software installed via the sys-admin. But i would be very happy if i could stuck to bitcoind rpc api and some other 100% relayable webservice.
member
Activity: 80
Merit: 10
BitcoinRaffle.co
Sorry, that i've not answered earlier.

But i found out, that that blockchain.info API is limited to 800 Requests in 8 Hours. That's properly enough for the beginning of my project but could become a problem in the future, so i would not like to relay on it.

So i'm still looking for another solution.

Bitcoin-abe looks nice to, but right now i'm limited to a webserver, so i could not run this on my server.

Do you have physical access to your server?  Or can you at least have software installed?
full member
Activity: 143
Merit: 100
Sorry, that i've not answered earlier.

But i found out, that that blockchain.info API is limited to 800 Requests in 8 Hours. That's properly enough for the beginning of my project but could become a problem in the future, so i would not like to relay on it.

So i'm still looking for another solution.

Bitcoin-abe looks nice to, but right now i'm limited to a webserver, so i could not run this on my server.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
I'm pretty sure he wanted exactly what I showed him on a sample page on my site, but I haven't heard back from him even though he logged in today. 
I actually figured that Smiley but just in case the OP needed something different or someone else was looking for alt solutions searching around the forums i posted it any ways. Cheers mates!
member
Activity: 80
Merit: 10
BitcoinRaffle.co
I'm pretty sure he wanted exactly what I showed him on a sample page on my site, but I haven't heard back from him even though he logged in today. 
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
If you have the money and knowledge to run a 1.5gb server you can run Bitcoin-abe and then query SQL commands against it as if you are querying the Bitcoin blockchain so you can potentially get any transaction information you require.. Is that what your looking for?
member
Activity: 80
Merit: 10
BitcoinRaffle.co
full member
Activity: 143
Merit: 100
Have a look at this transaction for someone who purchased 2 raffle tickets yesterday (0.02 BTC):

http://blockchain.info/tx-index/a1679b53884c61db994edc58ac1a9440952b88007efbd3dc692fcf327a5fad25?format=json

The prev_out: addr: is the field you want.  In this case "17vBxXJUHVnCdDUvdG4ULUbEzipBRiPMyd" is the address that purchased the tickets. "1AfBK6SeZEeMehmZH831SbdAyrsWfRZUD9" is the raffle address.

You mentioned the value in Satoshi is wrong.  It is and almost always will be.  Each transaction has two parts: an amount sent to you, and an amount sent back to the sender in the same transaction.  In this case, the total is 100000000 Satoshi: 2000000 to me, and 98000000 back to the sender.

Notice the same address "17vBxXJUHVnCdDUvdG4ULUbEzipBRiPMyd" received the 98000000 Satoshi.

If you're still confused or need some PHP code that does this for you, just let me know.

Would be great if you create a little sample for me, thank you for your help!
Pages:
Jump to: