PHP code example of kriosmane / wallet-explorer

1. Go to this page and download the library: Download kriosmane/wallet-explorer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

kriosmane / wallet-explorer example snippets


'providers' => [
    ...
    KriosMane\WalletExplorer\Providers\WalletExplorerServiceProvider::class,
    ...
]

'aliases' => [
    ...
    'WalletExplorer' => KriosMane\WalletExplorer\Facades\WalletExplorer::class,
    ...
]


use \WalletExplorer;

$balance = WalletExplorer::getBalance('BTC', '3JZq4atUahhuA9rLhXLMhhTo133J9rF97j');

bash
php artisan vendor:publish --provider="KriosMane\WalletExplorer\Providers\WalletExplorerServiceProvider"