@@ -23,7 +23,8 @@ final class Accounts
2323 public function __construct (private readonly EtherscanClient $ client ) {}
2424
2525 /**
26- * @see https://docs.etherscan.io/api-endpoints/accounts#get-ether-balance-for-a-single-address
26+ * Get Native Balance for an Address
27+ * @see https://docs.etherscan.io/api-reference/endpoint/balance
2728 */
2829 public function getBalance (string $ address , AccountBalanceTag $ tag = AccountBalanceTag::LATEST ): BigInteger
2930 {
@@ -40,8 +41,6 @@ public function getBalance(string $address, AccountBalanceTag $tag = AccountBala
4041 }
4142
4243 /**
43- * @see https://docs.etherscan.io/api-endpoints/accounts#get-ether-balance-for-multiple-addresses-in-a-single-call
44- *
4544 * @param string[] $addresses
4645 * @return Balance[]
4746 */
@@ -62,7 +61,7 @@ public function getBalances(array $addresses, AccountBalanceTag $tag = AccountBa
6261 }
6362
6463 /**
65- * @see https://docs.etherscan.io/api-endpoints/accounts#get-a-list-of-normal-transactions-by-address
64+ * @see https://docs.etherscan.io/api-reference/endpoint/txlist
6665 * @return NormalTransaction[]
6766 */
6867 public function getTransactions (string $ address , int $ page = 1 , int $ offset = 10 ): array
@@ -124,7 +123,7 @@ public function getTransactions(string $address, int $page = 1, int $offset = 10
124123 }
125124
126125 /**
127- * @see https://docs.etherscan.io/api-endpoints/accounts#get-a-list-of-internal-transactions-by-address
126+ * @see https://docs.etherscan.io/api-reference/endpoint/txlistinternal-txhash
128127 * @return InternalTransaction[]
129128 */
130129 public function getInternalTransactionsByHash (string $ hash , int $ page = 1 , int $ offset = 10 ): array
0 commit comments