Skip to main content

Int

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

It is a standard 32-bit signed integer used for counting, indexing, and smaller numeric values that don't exceed the integer range.

Schema Definition

scalar Int

Member Of

Attribute object ● balances query ● Block object ● BlockFilter input ● blocks query ● Contract object ● ContractFilter input ● contracts query ● mediaList query ● Metadata object ● metadataList query ● tokens query ● transactions query

Example

query GetLatestBlocks{
blocks(first: 20, orderBy: NUMBER, orderDirection: DESC) {
entries {
number
}
}
}