fix: add Finality type for confirmed+
This commit is contained in:
committed by
Tyera Eulberg
parent
568438aa6f
commit
a99ee15a85
@ -219,6 +219,15 @@ export type Commitment =
|
|||||||
| 'root' // Deprecated as of v1.5.5
|
| 'root' // Deprecated as of v1.5.5
|
||||||
| 'max'; // 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
|
* Filter for largest accounts query
|
||||||
* <pre>
|
* <pre>
|
||||||
|
Reference in New Issue
Block a user