(
options: GetBlockOptions<includeTransactions, blockTag, config, chainId> = {},
)
| 64 | > = GetBlockQueryFnData<includeTransactions, blockTag, config, chainId> |
| 65 | |
| 66 | export function getBlockQueryKey< |
| 67 | config extends Config, |
| 68 | chainId extends config['chains'][number]['id'], |
| 69 | includeTransactions extends boolean = false, |
| 70 | blockTag extends BlockTag = 'latest', |
| 71 | >( |
| 72 | options: GetBlockOptions<includeTransactions, blockTag, config, chainId> = {}, |
| 73 | ) { |
| 74 | return ['block', filterQueryOptions(options)] as const |
| 75 | } |
| 76 | |
| 77 | export type GetBlockQueryKey< |
| 78 | includeTransactions extends boolean, |
no test coverage detected