PHP code example of devbalu / wexnz-c

1. Go to this page and download the library: Download devbalu/wexnz-c 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/ */

    

devbalu / wexnz-c example snippets




zkdev\WexnzApi\WexnzApi;

$api = new WexnzApi(
	'https://wex.nz/tapi', // maybe other wex.
	'*******************', // public key.
	'*******************'  // secret key.
);


print_r($api->trade()->userInfo()); // prints all user wallet info.