Skip to content

Commit

Permalink
update candid ref (#3878)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 authored Dec 13, 2024
1 parent 3f74315 commit 1444d07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/references/candid-ref.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ We can use type annotation to distinguish different integer types.
(42 : nat64)
```

Canister init arguments passed to `dfx` must be explicit with data types, such as:

```
field = 5 : nat64
```

#### Corresponding Motoko type
`natN` translates by default to `NatN`, but can also correspond to `WordN` when required.

Expand Down

0 comments on commit 1444d07

Please sign in to comment.