1.此充值具有一定的交易风险(请一定做好判断)
This charge has a certain transaction risk xff08; be sure to make a good judgement xff09;
步骤:用户绑定其他交易所的地址,往平台充值(只能使用用户绑定的钱包地址充值,否则无法确认充值成功),用户先填写充值金额->生成充值订单->通过平台设置的收币钱包地址充值->填写充值产生的hash值->根据hash值查询转账是否确认成功
Step xff1a; user tied address of other exchanges xff0c; platform charge xff08; user tied wallet charge xff0c; otherwise successful xff09; xff0c; user fills first - > generate charge order - > billed wallet address by platform settings - gt; filled wallet charge value - gt; checked transfer for success based on ash value
下边是数据表设计:
Below is the data sheet design xff1a;
调用获取指定Omni交易的详细信息。
Call for details of the specified Omni transaction.
?txid:交易哈希,字符串,必需
?txid: transaction Hashxff0c; stringxff0c; necessary
?
?最后就是做个定时器,定时扫描钱包地址,出现新的交易然后存入数据库。
? Finally, a timer & #xff0c; a time-scan wallet address & #xff0c; new transactions that are then entered into the database.
如果不会写定时器,请参考我前段时间写的定时器:https://blog.csdn.net/jmkweb/article/details/89684225
If no timer & #xff0c; refer to timer & #xff1a;
下边附上定时扫描钱包,确认充值成功
Attach a time-scan wallet down & #xff0c; confirm the charge is successful
?
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论