diff --git a/packages/rpc-core/src/rpc-methods/getSignatureStatuses.ts b/packages/rpc-core/src/rpc-methods/getSignatureStatuses.ts index bc79d96fd0e0..2f595efa182c 100644 --- a/packages/rpc-core/src/rpc-methods/getSignatureStatuses.ts +++ b/packages/rpc-core/src/rpc-methods/getSignatureStatuses.ts @@ -12,7 +12,7 @@ type TransactionStatusErr = Readonly<{ Err: TransactionError; }>; -type GetSignatureStatusesBase = Readonly<{ +type SignatureStatusResult = Readonly<{ /** * Number of blocks since signature confirmation, null if rooted, * as well as finalized by a supermajority of the cluster @@ -31,7 +31,9 @@ type GetSignatureStatusesBase = Readonly<{ * @deprecated Transaction status */ status: TransactionStatusOk | TransactionStatusErr; -}> | null; +}>; + +type GetSignatureStatusesBase = ReadonlyArray; type GetSignatureStatusesApiResponse = RpcResponse;