Skip to content

Commit

Permalink
docs: add std.ChainDomain() reference (#3301)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->

## Description

Adds the reference docs on `std.ChainDomain()`.

Co-authored-by: Antoine Eddi <[email protected]>
  • Loading branch information
leohhhn and aeddi authored Dec 8, 2024
1 parent 052a2a1 commit e35fc9a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/reference/stdlibs/std/chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ std.AssertOriginCall()
```
---

## ChainDomain
```go
func ChainDomain() string
```
Returns the chain domain. Currently only `gno.land` is supported.

#### Usage
```go
domain := std.ChainDomain() // gno.land
```
---

## Emit
```go
func Emit(typ string, attrs ...string)
Expand Down

0 comments on commit e35fc9a

Please sign in to comment.