11
11
class Token extends AbstractApi
12
12
{
13
13
/**
14
- * Get ERC20 -Token TotalSupply by ContractAddress
15
- * Returns the current amount of an ERC -20 token in circulation.
14
+ * Get BEP20 -Token TotalSupply by ContractAddress
15
+ * Returns the current amount of an BEP -20 token in circulation.
16
16
*
17
- * @param string $contractAddress the contract address of the ERC -20 token
17
+ * @param string $contractAddress the contract address of the BEP -20 token
18
18
*
19
19
* @return array
20
20
* @throws \Bscscan\Exception\ErrorException
@@ -29,10 +29,10 @@ public function getTokenSupply($contractAddress)
29
29
}
30
30
31
31
/**
32
- * Get ERC20 -Token Account Balance for TokenContractAddress
33
- * Returns the current balance of an ERC -20 token of an address.
32
+ * Get BEP20 -Token Account Balance for TokenContractAddress
33
+ * Returns the current balance of an BEP -20 token of an address.
34
34
*
35
- * @param string $contractAddress the contract address of the ERC -20 token
35
+ * @param string $contractAddress the contract address of the BEP -20 token
36
36
* @param string $address the string representing the address to check for token balance
37
37
*
38
38
* @return array
@@ -49,10 +49,10 @@ public function getTokenBalance($contractAddress, $address)
49
49
}
50
50
51
51
/**
52
- * Get Historical ERC20 -Token TotalSupply by ContractAddress & BlockNo
53
- * Returns the amount of an ERC -20 token in circulation at a certain block height.
52
+ * Get Historical BEP20 -Token TotalSupply by ContractAddress & BlockNo
53
+ * Returns the amount of an BEP -20 token in circulation at a certain block height.
54
54
*
55
- * @param string $contractAddress the contract address of the ERC -20 token
55
+ * @param string $contractAddress the contract address of the BEP -20 token
56
56
* @param string $blockNumber the integer block number to check total supply for eg. 12697906
57
57
*
58
58
* @return array
@@ -69,10 +69,10 @@ public function getTokenSupplyHistory($contractAddress, $blockNumber)
69
69
}
70
70
71
71
/**
72
- * Get Historical ERC20 -Token Account Balance for TokenContractAddress by BlockNo
73
- * Returns the balance of an ERC -20 token of an address at a certain block height.
72
+ * Get Historical BEP20 -Token Account Balance for TokenContractAddress by BlockNo
73
+ * Returns the balance of an BEP -20 token of an address at a certain block height.
74
74
*
75
- * @param string $contractAddress the contract address of the ERC -20 token
75
+ * @param string $contractAddress the contract address of the BEP -20 token
76
76
* @param string $address the string representing the address to check for balance
77
77
* @param string $blockNumber the integer block number to check total supply for eg. 12697906
78
78
*
@@ -92,9 +92,9 @@ public function getTokenBalanceHistory($contractAddress, $address, $blockNumber)
92
92
93
93
/**
94
94
* Get Token Info by ContractAddress
95
- * Returns project information and social media links of an ERC -20/ERC-721 token.
95
+ * Returns project information and social media links of an BEP -20/ERC-721 token.
96
96
*
97
- * @param string $contractAddress the contract address of the ERC -20/ERC-721 token to retrieve token info
97
+ * @param string $contractAddress the contract address of the BEP -20/ERC-721 token to retrieve token info
98
98
*
99
99
* @return array
100
100
* @throws \Bscscan\Exception\ErrorException
0 commit comments