Skip to content

Commit

Permalink
add Timestamp scalar (#683)
Browse files Browse the repository at this point in the history
* add Timestamp scalar

* update Timestamp scalar desc

* pnpm lock update

---------

Co-authored-by: benface <[email protected]>
  • Loading branch information
yash251 and benface authored May 29, 2024
1 parent 62a8fff commit 05d16e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/pages/en/developing/creating-a-subgraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ We support the following scalars in our GraphQL API:
| `Int8` | An 8-byte signed integer, also known as a 64-bit signed integer, can store values in the range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. Prefer using this to represent `i64` from ethereum. |
| `BigInt` | Large integers. Used for Ethereum's `uint32`, `int64`, `uint64`, ..., `uint256` types. Note: Everything below `uint32`, such as `int32`, `uint24` or `int8` is represented as `i32`. |
| `BigDecimal` | `BigDecimal` High precision decimals represented as a significand and an exponent. The exponent range is from −6143 to +6144. Rounded to 34 significant digits. |
| `Timestamp` | It is an `i64` value in microseconds. Commonly used for `timestamp` fields for timeseries and aggregations. |

#### Enums

Expand Down

0 comments on commit 05d16e7

Please sign in to comment.