Newer
Older
#npx get-graphql-schema https://duniter-v2-vjrj-squid.comunes.net/v1/graphql > duniter-indexer.graphql
query: query_root
subscription: subscription_root
}
"""whether this query should be cached (Hasura Cloud only)"""
directive @cached(
"""refresh the cache entry"""
refresh: Boolean! = false
"""
columns and relationships of "account"
"""
type Account {
"""An array relationship"""
commentsIssued(
"""distinct select on columns"""
distinctOn: [TxCommentSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TxCommentOrderBy!]
"""filter the rows returned"""
where: TxCommentBoolExp
): [TxComment!]!
"""An aggregate relationship"""
commentsIssuedAggregate(
"""distinct select on columns"""
distinctOn: [TxCommentSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TxCommentOrderBy!]
"""filter the rows returned"""
where: TxCommentBoolExp
): TxCommentAggregate!
createdOn: Int!
id: String!
"""An object relationship"""
identity: Identity
isActive: Boolean!
"""An object relationship"""
linkedIdentity: Identity
linkedIdentityId: String
"""An array relationship"""
removedIdentities(
"""distinct select on columns"""
distinctOn: [IdentitySelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [IdentityOrderBy!]
"""filter the rows returned"""
where: IdentityBoolExp
): [Identity!]!
"""An aggregate relationship"""
removedIdentitiesAggregate(
"""distinct select on columns"""
distinctOn: [IdentitySelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [IdentityOrderBy!]
"""filter the rows returned"""
where: IdentityBoolExp
): IdentityAggregate!
"""An array relationship"""
transfersIssued(
"""distinct select on columns"""
distinctOn: [TransferSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TransferOrderBy!]
"""filter the rows returned"""
where: TransferBoolExp
): [Transfer!]!
"""An aggregate relationship"""
transfersIssuedAggregate(
"""distinct select on columns"""
distinctOn: [TransferSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TransferOrderBy!]
"""filter the rows returned"""
where: TransferBoolExp
): TransferAggregate!
"""An array relationship"""
transfersReceived(
"""distinct select on columns"""
distinctOn: [TransferSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TransferOrderBy!]
"""filter the rows returned"""
where: TransferBoolExp
): [Transfer!]!
"""An aggregate relationship"""
transfersReceivedAggregate(
"""distinct select on columns"""
distinctOn: [TransferSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [TransferOrderBy!]
"""filter the rows returned"""
where: TransferBoolExp
): TransferAggregate!
"""An array relationship"""
wasIdentity(
"""distinct select on columns"""
distinctOn: [ChangeOwnerKeySelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [ChangeOwnerKeyOrderBy!]
"""filter the rows returned"""
where: ChangeOwnerKeyBoolExp
): [ChangeOwnerKey!]!
"""An aggregate relationship"""
wasIdentityAggregate(
"""distinct select on columns"""
distinctOn: [ChangeOwnerKeySelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [ChangeOwnerKeyOrderBy!]
"""filter the rows returned"""
where: ChangeOwnerKeyBoolExp
): ChangeOwnerKeyAggregate!
}
"""
aggregated selection of "account"
"""
aggregate: AccountAggregateFields
nodes: [Account!]!
bool_and: accountAggregateBoolExpBool_and
bool_or: accountAggregateBoolExpBool_or
count: accountAggregateBoolExpCount
arguments: AccountSelectColumnAccountAggregateBoolExpBool_andArgumentsColumns!
distinct: Boolean
filter: AccountBoolExp
predicate: BooleanComparisonExp!
arguments: AccountSelectColumnAccountAggregateBoolExpBool_orArgumentsColumns!
distinct: Boolean
filter: AccountBoolExp
predicate: BooleanComparisonExp!
arguments: [AccountSelectColumn!]
distinct: Boolean
filter: AccountBoolExp
predicate: IntComparisonExp!
}
"""
aggregate fields of "account"
"""
avg: AccountAvgFields
count(columns: [AccountSelectColumn!], distinct: Boolean): Int!
max: AccountMaxFields
min: AccountMinFields
stddev: AccountStddevFields
stddevPop: AccountStddevPopFields
stddevSamp: AccountStddevSampFields
sum: AccountSumFields
varPop: AccountVarPopFields
varSamp: AccountVarSampFields
variance: AccountVarianceFields
"""
order by aggregate values of table "account"
"""
input AccountAggregateOrderBy {
avg: AccountAvgOrderBy
count: OrderBy
max: AccountMaxOrderBy
min: AccountMinOrderBy
stddev: AccountStddevOrderBy
stddevPop: AccountStddevPopOrderBy
stddevSamp: AccountStddevSampOrderBy
sum: AccountSumOrderBy
varPop: AccountVarPopOrderBy
varSamp: AccountVarSampOrderBy
variance: AccountVarianceOrderBy
}
"""aggregate avg on columns"""
type AccountAvgFields {
createdOn: Float
}
"""
order by avg() on columns of table "account"
"""
input AccountAvgOrderBy {
createdOn: OrderBy
}
"""
Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'.
"""
_and: [AccountBoolExp!]
_not: AccountBoolExp
_or: [AccountBoolExp!]
commentsIssued: TxCommentBoolExp
commentsIssuedAggregate: TxCommentAggregateBoolExp
createdOn: IntComparisonExp
id: StringComparisonExp
identity: IdentityBoolExp
isActive: BooleanComparisonExp
linkedIdentity: IdentityBoolExp
linkedIdentityId: StringComparisonExp
removedIdentities: IdentityBoolExp
removedIdentitiesAggregate: IdentityAggregateBoolExp
transfersIssued: TransferBoolExp
transfersIssuedAggregate: TransferAggregateBoolExp
transfersReceived: TransferBoolExp
transfersReceivedAggregate: TransferAggregateBoolExp
wasIdentity: ChangeOwnerKeyBoolExp
wasIdentityAggregate: ChangeOwnerKeyAggregateBoolExp
createdOn: Int
id: String
linkedIdentityId: String
"""
order by max() on columns of table "account"
"""
input AccountMaxOrderBy {
createdOn: OrderBy
id: OrderBy
linkedIdentityId: OrderBy
createdOn: Int
id: String
linkedIdentityId: String
"""
order by min() on columns of table "account"
"""
input AccountMinOrderBy {
createdOn: OrderBy
id: OrderBy
linkedIdentityId: OrderBy
}
"""Ordering options when selecting data from "account"."""
commentsIssuedAggregate: TxCommentAggregateOrderBy
createdOn: OrderBy
id: OrderBy
identity: IdentityOrderBy
isActive: OrderBy
linkedIdentity: IdentityOrderBy
linkedIdentityId: OrderBy
removedIdentitiesAggregate: IdentityAggregateOrderBy
transfersIssuedAggregate: TransferAggregateOrderBy
transfersReceivedAggregate: TransferAggregateOrderBy
wasIdentityAggregate: ChangeOwnerKeyAggregateOrderBy
}
"""
select columns of table "account"
"""
"""column name"""
isActive
"""column name"""
linkedIdentityId
"""
select "accountAggregateBoolExpBool_andArgumentsColumns" columns of table "account"
"""
enum AccountSelectColumnAccountAggregateBoolExpBool_andArgumentsColumns {
"""
select "accountAggregateBoolExpBool_orArgumentsColumns" columns of table "account"
"""
enum AccountSelectColumnAccountAggregateBoolExpBool_orArgumentsColumns {
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
"""column name"""
isActive
}
"""aggregate stddev on columns"""
type AccountStddevFields {
createdOn: Float
}
"""
order by stddev() on columns of table "account"
"""
input AccountStddevOrderBy {
createdOn: OrderBy
}
"""aggregate stddevPop on columns"""
type AccountStddevPopFields {
createdOn: Float
}
"""
order by stddevPop() on columns of table "account"
"""
input AccountStddevPopOrderBy {
createdOn: OrderBy
}
"""aggregate stddevSamp on columns"""
type AccountStddevSampFields {
createdOn: Float
}
"""
order by stddevSamp() on columns of table "account"
"""
input AccountStddevSampOrderBy {
createdOn: OrderBy
"""
Streaming cursor of the table "account"
"""
input AccountStreamCursorInput {
"""Stream column input with initial value"""
initialValue: AccountStreamCursorValueInput!
"""cursor ordering"""
ordering: CursorOrdering
"""Initial value of the column from where the streaming should start"""
input AccountStreamCursorValueInput {
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
createdOn: Int
id: String
isActive: Boolean
linkedIdentityId: String
}
"""aggregate sum on columns"""
type AccountSumFields {
createdOn: Int
}
"""
order by sum() on columns of table "account"
"""
input AccountSumOrderBy {
createdOn: OrderBy
}
"""aggregate variance on columns"""
type AccountVarianceFields {
createdOn: Float
}
"""
order by variance() on columns of table "account"
"""
input AccountVarianceOrderBy {
createdOn: OrderBy
}
"""aggregate varPop on columns"""
type AccountVarPopFields {
createdOn: Float
}
"""
order by varPop() on columns of table "account"
"""
input AccountVarPopOrderBy {
createdOn: OrderBy
}
"""aggregate varSamp on columns"""
type AccountVarSampFields {
createdOn: Float
}
"""
order by varSamp() on columns of table "account"
"""
input AccountVarSampOrderBy {
createdOn: OrderBy
"""An array relationship"""
calls(
"""distinct select on columns"""
distinctOn: [CallSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [CallOrderBy!]
"""filter the rows returned"""
where: CallBoolExp
): [Call!]!
"""An aggregate relationship"""
callsAggregate(
"""distinct select on columns"""
distinctOn: [CallSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [CallOrderBy!]
"""filter the rows returned"""
where: CallBoolExp
): CallAggregate!
callsCount: Int!
"""An array relationship"""
events(
"""distinct select on columns"""
distinctOn: [EventSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [EventOrderBy!]
"""filter the rows returned"""
where: EventBoolExp
): [Event!]!
"""An aggregate relationship"""
eventsAggregate(
"""distinct select on columns"""
distinctOn: [EventSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [EventOrderBy!]
"""filter the rows returned"""
where: EventBoolExp
): EventAggregate!
eventsCount: Int!
"""An array relationship"""
extrinsics(
"""distinct select on columns"""
distinctOn: [ExtrinsicSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [ExtrinsicOrderBy!]
"""filter the rows returned"""
where: ExtrinsicBoolExp
): [Extrinsic!]!
"""An aggregate relationship"""
extrinsicsAggregate(
"""distinct select on columns"""
distinctOn: [ExtrinsicSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [ExtrinsicOrderBy!]
"""filter the rows returned"""
where: ExtrinsicBoolExp
): ExtrinsicAggregate!
extrinsicsCount: Int!
extrinsicsicRoot: bytea!
hash: bytea!
height: Int!
id: String!
implName: String!
implVersion: Int!
parentHash: bytea!
specName: String!
specVersion: Int!
stateRoot: bytea!
timestamp: timestamptz!
validator: bytea
}
"""
aggregated selection of "block"
"""
aggregate: BlockAggregateFields
nodes: [Block!]!
}
"""
aggregate fields of "block"
"""
avg: BlockAvgFields
count(columns: [BlockSelectColumn!], distinct: Boolean): Int!
max: BlockMaxFields
min: BlockMinFields
stddev: BlockStddevFields
stddevPop: BlockStddevPopFields
stddevSamp: BlockStddevSampFields
sum: BlockSumFields
varPop: BlockVarPopFields
varSamp: BlockVarSampFields
variance: BlockVarianceFields
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
}
"""
Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'.
"""
_and: [BlockBoolExp!]
_not: BlockBoolExp
_or: [BlockBoolExp!]
calls: CallBoolExp
callsAggregate: CallAggregateBoolExp
callsCount: IntComparisonExp
events: EventBoolExp
eventsAggregate: EventAggregateBoolExp
eventsCount: IntComparisonExp
extrinsics: ExtrinsicBoolExp
extrinsicsAggregate: ExtrinsicAggregateBoolExp
extrinsicsCount: IntComparisonExp
extrinsicsicRoot: ByteaComparisonExp
hash: ByteaComparisonExp
height: IntComparisonExp
id: StringComparisonExp
implName: StringComparisonExp
implVersion: IntComparisonExp
parentHash: ByteaComparisonExp
specName: StringComparisonExp
specVersion: IntComparisonExp
stateRoot: ByteaComparisonExp
timestamp: TimestamptzComparisonExp
validator: ByteaComparisonExp
callsCount: Int
eventsCount: Int
extrinsicsCount: Int
height: Int
id: String
implName: String
implVersion: Int
specName: String
specVersion: Int
timestamp: timestamptz
callsCount: Int
eventsCount: Int
extrinsicsCount: Int
height: Int
id: String
implName: String
implVersion: Int
specName: String
specVersion: Int
timestamp: timestamptz
}
"""Ordering options when selecting data from "block"."""
callsAggregate: CallAggregateOrderBy
callsCount: OrderBy
eventsAggregate: EventAggregateOrderBy
eventsCount: OrderBy
extrinsicsAggregate: ExtrinsicAggregateOrderBy
extrinsicsCount: OrderBy
extrinsicsicRoot: OrderBy
hash: OrderBy
height: OrderBy
id: OrderBy
implName: OrderBy
implVersion: OrderBy
parentHash: OrderBy
specName: OrderBy
specVersion: OrderBy
stateRoot: OrderBy
timestamp: OrderBy
validator: OrderBy
}
"""
select columns of table "block"
"""
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
"""aggregate stddevPop on columns"""
type BlockStddevPopFields {
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
"""aggregate stddevSamp on columns"""
type BlockStddevSampFields {
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
}
"""
Streaming cursor of the table "block"
"""
"""Stream column input with initial value"""
initialValue: BlockStreamCursorValueInput!
"""cursor ordering"""
ordering: CursorOrdering
}
"""Initial value of the column from where the streaming should start"""
callsCount: Int
eventsCount: Int
extrinsicsCount: Int
extrinsicsicRoot: bytea
hash: bytea
height: Int
id: String
implName: String
implVersion: Int
parentHash: bytea
specName: String
specVersion: Int
stateRoot: bytea
timestamp: timestamptz
validator: bytea
callsCount: Int
eventsCount: Int
extrinsicsCount: Int
height: Int
implVersion: Int
specVersion: Int
"""aggregate variance on columns"""
type BlockVarianceFields {
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
"""aggregate varPop on columns"""
type BlockVarPopFields {
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
"""aggregate varSamp on columns"""
type BlockVarSampFields {
callsCount: Float
eventsCount: Float
extrinsicsCount: Float
height: Float
implVersion: Float
specVersion: Float
}
"""
Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'.
"""
_eq: Boolean
_gt: Boolean
_gte: Boolean
_in: [Boolean!]
_isNull: Boolean
_lt: Boolean
_lte: Boolean
_neq: Boolean
_nin: [Boolean!]
}
scalar bytea
"""
Boolean expression to compare columns of type "bytea". All fields are combined with logical 'AND'.
"""
input ByteaComparisonExp {
_eq: bytea
_gt: bytea
_gte: bytea
_in: [bytea!]
_isNull: Boolean
_lt: bytea
_lte: bytea
_neq: bytea
_nin: [bytea!]
"""
columns and relationships of "call"
"""
type Call {
address: [Int!]!
args(
"""JSON select path"""
path: String
): jsonb
argsStr: [String!]
"""An object relationship"""
block: Block
blockId: String
error(
"""JSON select path"""
path: String
): jsonb
"""An array relationship"""
events(
"""distinct select on columns"""
distinctOn: [EventSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [EventOrderBy!]
"""filter the rows returned"""
where: EventBoolExp
): [Event!]!
"""An aggregate relationship"""
eventsAggregate(
"""distinct select on columns"""
distinctOn: [EventSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int
"""sort the rows by one or more columns"""
orderBy: [EventOrderBy!]
"""filter the rows returned"""
where: EventBoolExp
): EventAggregate!
"""An object relationship"""
extrinsic: Extrinsic
extrinsicId: String
id: String!
name: String!
pallet: String!
"""An object relationship"""
parent: Call
parentId: String
"""An array relationship"""
subcalls(
"""distinct select on columns"""
distinctOn: [CallSelectColumn!]
"""limit the number of rows returned"""
limit: Int
"""skip the first n rows. Use only with order_by"""
offset: Int