File tree Expand file tree Collapse file tree 3 files changed +29
-16
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +29
-16
lines changed
Original file line number Diff line number Diff line change @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 1.3.2] - 2021-10-14
8
+ ### Changed
9
+ - update documentation links
10
+ - update LICENSE
11
+
12
+ ## [ 1.3.0] - 2021-10-12
13
+ ### Changed
14
+ - update Blocks API
15
+
16
+ ## [ 1.2.0] - 2021-10-05
17
+ ### Changed
18
+ - update Contracts API
19
+
7
20
## [ 1.1.0] - 2021-09-28
8
21
### Added
9
22
- CHANGELOG.md
Original file line number Diff line number Diff line change 1
1
The MIT License
2
2
3
- Copyright (c) 2018 oraculus.io
4
- Copyright (c) 2018 Maslakou Ihar
3
+ Copyright (c) 2018-2021 Maslakou Ihar
5
4
6
5
Permission is hereby granted, free of charge, to any person obtaining a copy
7
6
of this software and associated documentation files (the "Software"), to deal
@@ -19,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
18
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
19
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
20
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
- THE SOFTWARE.
21
+ THE SOFTWARE.
Original file line number Diff line number Diff line change 1
1
# EtherScan PHP API
2
+
2
3
PHP wrapper for the EtherScan API
3
4
4
- [ Official API Documentation] ( https://etherscan.io/apis )
5
+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-green.svg )] ( https://opensource.org/licenses/MIT )
6
+
7
+ [ Official API Documentation] ( https://docs.etherscan.io )
5
8
6
9
[ Create API Key (optional)] ( https://etherscan.io/myapikey )
7
10
8
- Requirements
9
- ------------
11
+ ## Requirements
12
+
10
13
The minimum requirement by EtherScan API is that your Web server supports PHP 5.6.
11
14
12
- Installation
13
- ------------
15
+ ## Installation
16
+
14
17
To install EtherScan PHP API package you can run command:
15
18
16
19
```
17
20
composer require maslakoff/php-etherscan-api:dev-master
18
21
```
19
22
20
- Usage
21
- -----
23
+ ## Usage
24
+
22
25
Mainnet
23
26
24
27
``` php
25
28
$client = new \Etherscan\Client('Y3U3GMFC8P545CFWRU4TET8MY1K79YDZ3V');
26
29
$client->api('account')->balance('0x43406D1baAE11a950DE734DAE4079A3C9Eb48DAf');
27
30
```
28
31
29
-
30
32
## For testnet usage
31
33
32
34
Supported:
33
35
34
- * goerli
35
- * ropsten
36
- * kovan
37
- * rinkeby
38
-
36
+ - goerli
37
+ - ropsten
38
+ - kovan
39
+ - rinkeby
39
40
40
41
``` php
41
42
$client = new \Etherscan\Client('Y3U3GMFC8P545CFWRU4TET8MY1K79YDZ3V', EtherscanAPIConf::TESTNET_RINKEBY);
You can’t perform that action at this time.
0 commit comments