fix: add Finality type for confirmed+

This commit is contained in:
Tyera Eulberg 2021-04-19 20:03:19 -06:00 committed by Tyera Eulberg
parent 568438aa6f
commit a99ee15a85
1 changed files with 9 additions and 0 deletions

View File

@ -219,6 +219,15 @@ export type Commitment =
| 'root' // Deprecated as of v1.5.5
| 'max'; // Deprecated as of v1.5.5
/**
* A subset of Commitment levels, which are at least optimistically confirmed
* <pre>
* 'confirmed': Query the most recent block which has reached 1 confirmation by the cluster
* 'finalized': Query the most recent block which has been finalized by the cluster
* </pre>
*/
export type Finality = 'confirmed' | 'finalized';
/**
* Filter for largest accounts query
* <pre>