GithubHelp home page GithubHelp logo

Comments (4)

denpamusic avatar denpamusic commented on September 2, 2024 2

Hi!
Thank you for your feedback!
Arguments for Bitcoin Core must be passed as array if you're using request() method with multiple arguments.
For example:

$result = $BTC->request('sendtoaddress', ['mmXgiR6KAhZCyQ8ndr2BCfEq1wNG2UnyG6', 0.06]);
$txid = $result->get(); // to get txid if using branch 2.*

Note the square brackets on arguments.
You can also use magic method to perform the same request:

$result = $BTC->sendToAddress('mmXgiR6KAhZCyQ8ndr2BCfEq1wNG2UnyG6', 0.06);

I'll try to improve README with more examples later.

from php-bitcoinrpc.

Artzalez avatar Artzalez commented on September 2, 2024

@denpamusic Thanks for help me ;D, You can add for Donate BTC Address ? I would like to donate you BTC

from php-bitcoinrpc.

denpamusic avatar denpamusic commented on September 2, 2024

Glad I could help you :)
Don't hesitate to ask if you have any more problems or questions.

If you like to donate, you can donate BTC to 13gkVWc3sdzpmCLkGkXXfPBwnh6ZXct947
I also added this donation address as well as sendToAddress example to README.

from php-bitcoinrpc.

Artzalez avatar Artzalez commented on September 2, 2024

@denpamusic BTC sended in aprox 1hour thanks for your work men

from php-bitcoinrpc.

Related Issues (20)

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.