From 886ca18381d5ba464eeb6fce87f5b0c360c98c99 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Mon, 11 Dec 2023 01:14:02 +0000 Subject: [PATCH] Update API bindings This brings in a new feature: searching for runtime blocks by hash. --- src/oasis-nexus/generated/api.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/oasis-nexus/generated/api.ts b/src/oasis-nexus/generated/api.ts index b2a6629849..5ce53efd91 100644 --- a/src/oasis-nexus/generated/api.ts +++ b/src/oasis-nexus/generated/api.ts @@ -273,6 +273,10 @@ after?: string; * A filter on maximum block time, exclusive. */ before?: string; +/** + * A filter on the block hash. + */ +hash?: string; }; export type GetConsensusProposalsProposalIdVotesParams = { @@ -578,6 +582,10 @@ after?: string; * A filter on maximum block time, exclusive. */ before?: string; +/** + * A filter on the block hash. + */ +hash?: string; }; /** @@ -3297,7 +3305,7 @@ export const useGetConsensusProposalsProposalIdVotes = >, TError = HumanReadableErrorResponse | NotFoundErrorResponse>( network: 'mainnet' | 'testnet', @@ -3369,7 +3377,7 @@ export const useGetRuntimeBlocks = >, TError = HumanReadableErrorResponse | NotFoundErrorResponse>( network: 'mainnet' | 'testnet',