Releases: Fenguoz/bsc-php
Releases · Fenguoz/bsc-php
Releases 2.2.5
Releases 2.2.2
Optimize
Optimize the description of README and example files
Releases 2.2.1
Added getTransactionByHash interface
Releases 2.2.0
Resolve contract transaction failure due to low gas fees
Releases 2.1.0
Optimize the low version of guzzle
Release 2.0.0
Support PHP8+
Release 1.0.0
Solve
- Solve BIP44 parameter passing format error
Release v0.1.0
Added
- Generate a private key to create an account
newAccountByPrivateKey()
- Generate mnemonic and create an account
newAccountByMnemonic()
- Restore account using mnemonic
revertAccountByMnemonic(string $mnemonic)
- Get the address according to the private key
revertAccountByPrivateKey(string $privateKey)
- Check balances(BNB)
bnbBalance(string $address)
- Check balances(BEP20)
balance(string $address)
- Transaction transfer (offline signature)
transfer(string $from, string $to, float $amount)
- Query the latest block
blockNumber()
- Query information according to the blockchain
blockByNumber(int $blockID)
- Query information based on transaction hash
transactionReceipt(string $txHash)