Coder Social home page Coder Social logo

PHP API查询数据 about neb.php HOT 9 OPEN

nebulasio avatar nebulasio commented on September 27, 2024
PHP API查询数据

from neb.php.

Comments (9)

py520 avatar py520 commented on September 27, 2024 1

我的还是没有,,如果有这些文本就是没问题了,,就是什么都没有,空白,也不报错,,创建钱包文件那些功能又能用

from neb.php.

yupnano avatar yupnano commented on September 27, 2024

亲,下面这两句根本不会打印任何信息呀?你打印出了啥 ?

$neb = new Neb(new HttpProvider("https://testnet.nebulas.io"));
$api = $neb->api; 

from neb.php.

py520 avatar py520 commented on September 27, 2024

这两句为什么也没有输出,求指点下,方便加个QQ吗? 还有个问题,顺便就提下吧,,,就是合约里面的加减乘除是不是都要把类型转成同类型才能运算,或者去比较,,, 谢谢你的解答,,,,
echo $api->getAccountState("n1H2Yb5Q6ZfKvs61htVSV4b1U2gr2GA9vo6"), PHP_EOL;;
echo $api->getTransactionReceipt("8b98a5e4a27d2744a6295fe71e4f138d3e423ced11c81e201c12ac8379226ad1"),

from neb.php.

yupnano avatar yupnano commented on September 27, 2024

有输出呀,你是不是无视了打印的文本。就是这样的内容: {"result":{..........}}
或者你截个图看一下是什么情况。
image

关于合约内的加减乘除运算,建议使用bignumber库.

from neb.php.

yupnano avatar yupnano commented on September 27, 2024

那应该是你的IDE没有配置好。

from neb.php.

py520 avatar py520 commented on September 27, 2024

环境都配置好了啊,,,那些扩展什么的也都安装好了,,可以从Phpinfo()中查询到

from neb.php.

yupnano avatar yupnano commented on September 27, 2024

根据目前的信息,还看不出问题的原因。

from neb.php.

py520 avatar py520 commented on September 27, 2024

大佬,帮忙解决下这个问题了,都搞不清楚为什么了,,,群里有偿解决都没有人能帮上忙

from neb.php.

yupnano avatar yupnano commented on September 27, 2024

主要是目前信息很少呀,只是说没有echo信息,没说明用的什么系统、IDE,也没截图,实在是看不出原因。

from neb.php.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.