|
21 | 21 | * @method Api\Account accounts() |
22 | 22 | * @method Api\Account address() |
23 | 23 | * @method Api\Account addresses() |
| 24 | + * @method Api\Asset asset() |
| 25 | + * @method Api\Asset assets() |
| 26 | + * @method Api\Block block() |
| 27 | + * @method Api\Block blocks() |
24 | 28 | * @method Api\Node node() |
25 | 29 | * @method Api\Node nodes() |
26 | 30 | * @method Api\Other other() |
27 | 31 | * @method Api\Other misc() |
28 | 32 | * @method Api\Other miscellaneous() |
| 33 | + * @method Api\Transaction transaction() |
| 34 | + * @method Api\Transaction transactions() |
29 | 35 | */ |
30 | 36 | final class Client |
31 | 37 | { |
@@ -57,6 +63,7 @@ public function api(string $name): AbstractApi |
57 | 63 | return match ($name) { |
58 | 64 | 'account', 'accounts', 'address', 'addresses' => new Api\Account($this), |
59 | 65 | 'asset', 'assets' => new Api\Asset($this), |
| 66 | + 'block', 'blocks' => new Api\Block($this), |
60 | 67 | 'node', 'nodes' => new Api\Node($this), |
61 | 68 | 'other', 'misc', 'miscellaneous' => new Api\Other($this), |
62 | 69 | 'transaction', 'transactions' => new Api\Transaction($this), |
|
0 commit comments