Comments (4)
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.
@denpamusic Thanks for help me ;D, You can add for Donate BTC Address ? I would like to donate you BTC
from php-bitcoinrpc.
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.
@denpamusic BTC sended in aprox 1hour thanks for your work men
from php-bitcoinrpc.
Related Issues (20)
- Different requirements in README.md and in composer.json HOT 3
- Support multi-wallet RPC calls
- Linux 500 Internal Server Error when attempting to make request HOT 5
- Danger! Re-sends RPC call on failure HOT 4
- withdrawal Requests
- bitcoin.conf options HOT 6
- Batch support HOT 2
- ListTransactions HOT 4
- Supporting wallet passphrase in configs HOT 4
- How to create createrawtransaction i meet something wrong
- Command orders are important, whereas it shouldn't be on non-static usages.
- composer fails due to new Guzzle 7.0.1 with Laravel 7 HOT 2
- sendmany fails when passing valid json string HOT 4
- How library works HOT 1
- Method adrressbylabel response answer all directions HOT 1
- In simple HOT 3
- setaccount can only be used with own address
- Should not use set_exception_handler HOT 3
- How connect to third party RPC
- $bitcoind->sendToAddress and next steps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-bitcoinrpc.