PHP code example of jeeinn / link-token-trans

1. Go to this page and download the library: Download jeeinn/link-token-trans 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/ */

    

jeeinn / link-token-trans example snippets


$balance = $trans->getBalance();
print_r($balance);

$count = $trans->getTransCount();
print_r($count);

use LinkTokenTrans\Trans;

$address = '0x405d8ef6f679718374ce83c05ed373d7140ac3c8';
$trans = new Trans($address);
$records = $trans->getRecords();
print_r($records);