Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Add method getConfirmedSignaturesForAddress2
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstauffer committed Oct 9, 2021
1 parent ba5a22b commit f99c500
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Solana.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ public function getTransaction(string $transactionSignature): array
return $this->client->call('getTransaction', [$transactionSignature])['result'];
}

public function getConfirmedSignaturesForAddress2(string $address, int $limit = 5): array
{
return $this->client->call('getConfirmedSignaturesForAddress2', [$address, ['limit' => $limit]])['result'];
}

public function __call($method, array $params = []): ?array
{
return $this->client->call($method, $params)->json();
Expand Down

0 comments on commit f99c500

Please sign in to comment.