Skip to content

Commit 4369045

Browse files
just-a-nodegitbook-bot
authored andcommitted
GITBOOK-53: chainIdToDomain
1 parent 7bd50a9 commit 4369045

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

developers/reference/sdk/sdkshared.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,26 @@ The chain name.
232232

233233
***
234234

235+
### chainIdToDomain
236+
237+
`Static` chainIdToDomain(`chainId`): `number`
238+
239+
Returns the chain name for a specified domain.
240+
241+
**Parameters**
242+
243+
| Name | Type | Description |
244+
| --------- | -------- | -------------- |
245+
| `chainId` | `number` | The domain ID. |
246+
247+
**Returns**
248+
249+
`number`
250+
251+
The domain of the chain.
252+
253+
***
254+
235255
### getBlockNumberFromUnixTimestamp
236256

237257
`Static` **getBlockNumberFromUnixTimestamp**(`domainId`, `unixTimestamp`): `Promise`<`number`>

0 commit comments

Comments
 (0)