Explicit delay for per-hash single queries (#2548)
* Explicit delay for per-hash single queries * Expand delay * Update packages/rpc-core/src/index.ts
This commit is contained in:
@@ -16,6 +16,7 @@ export default {
|
||||
{
|
||||
name: 'hash',
|
||||
type: 'BlockHash',
|
||||
isCached: true,
|
||||
isOptional: true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -257,6 +257,7 @@ export default {
|
||||
{
|
||||
name: 'at',
|
||||
type: 'BlockHash',
|
||||
isCached: true,
|
||||
isOptional: true
|
||||
}
|
||||
],
|
||||
@@ -269,6 +270,7 @@ export default {
|
||||
{
|
||||
name: 'at',
|
||||
type: 'BlockHash',
|
||||
isCached: true,
|
||||
isOptional: true
|
||||
}
|
||||
],
|
||||
|
||||
@@ -13,6 +13,7 @@ export type DefinitionTypeStruct = Record<string, DefinitionTypeType> | { _alias
|
||||
export type DefinitionType = string | DefinitionTypeEnum | DefinitionTypeSet | DefinitionTypeStruct;
|
||||
|
||||
export interface DefinitionRpcParam {
|
||||
isCached?: boolean;
|
||||
isHistoric?: boolean;
|
||||
isOptional?: boolean;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user