array( 'network' => 'testnet', // testnet or livenet, default is livenet 'public_key' => getenv('HOME').'/.bitpayphp/api.pub', 'private_key' => getenv('HOME').'/.bitpayphp/api.key', 'key_storage' => 'Bitpay\Storage\FilesystemStorage', ) ) ); /** * Create the client that will be used to send requests to BitPay's API */ $client = $bitpay->get('client'); $tokens = $client->getTokens(); print_r($tokens);