Bitcoin Forum
November 21, 2019, 06:22:43 PM *
News: Latest Bitcoin Core release: 0.18.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: no need anymore  (Read 248 times)
asker8
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 06, 2016, 04:39:18 PM
Last edit: January 14, 2017, 08:41:59 AM by asker8
 #1

no need anymore
1574360563
Hero Member
*
Offline Offline

Posts: 1574360563

View Profile Personal Message (Offline)

Ignore
1574360563
Reply with quote  #2

1574360563
Report to moderator
The Bitcoin Forum is turning 10 years old! Join the community in sharing and exploring the notable posts made over the years.
1574360563
Hero Member
*
Offline Offline

Posts: 1574360563

View Profile Personal Message (Offline)

Ignore
1574360563
Reply with quote  #2

1574360563
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 1834
Merit: 1198

Back online:)


View Profile WWW
December 06, 2016, 04:44:36 PM
 #2

Most gambling sites usually has 1 confirmation to show the balance and 1 confirmation to withdraw.

Blockchain.info API V2? Based on their documentation, you can request Blockchain.info to send the callback immediately on receiving the transaction. You can implement the system to only acknowledge the callback when it has at least 1 confirmation. It isn't that hard to do.

Yes and please NEVER allow for 0 confirmation on online services, they are extremely vulnerable to double spends.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1484
Merit: 1345


No I dont escrow anymore.


View Profile WWW
December 06, 2016, 04:45:51 PM
 #3

Quote
When a payment is received, blockchain.info will notify the callback URL you specify. Please note, the callback url is limited to 255 characters in length.

transaction_hash - The payment transaction hash.
address - The destination bitcoin address (part of your xPub account).
confirmations - The number of confirmations of this transaction.
value - The value of the payment received (in satoshi, so divide by 100,000,000 to get the value in BTC).
{custom parameter} - Any parameters included in the callback URL will be passed back to the callback URL in the notification. You can use this functionality to include parameters in your callback URL like invoice_id or customer_id to track which payments are associated with which of your customers.

source: https://blockchain.info/api/api_receive
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!