Skip to content

Commit

Permalink
update docs with Address.fromBytes method (graphprotocol#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjerryokolo authored Jun 28, 2022
1 parent 04faac3 commit 19313d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/en/developer/assemblyscript-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ When the type of a value is certain, it can be converted to a [built-in type](#b
| JSON | Array | s.toArray() |
| JSON | Object | s.toObject() |
| String | Address | Address.fromString(s) |
| Bytes | Address | Address.fromBytes(s) |
| String | BigInt | BigInt.fromString(s) |
| String | BigDecimal | BigDecimal.fromString(s) |
| String (hexadecimal) | Bytes | ByteArray.fromHexString(s) |
Expand Down

0 comments on commit 19313d5

Please sign in to comment.