Skip to content

FederationLike.id ​

ts
id(): FederationId

Gives the id of this federation. Synchronous.

Parameters. None.

Returns. FederationId. The id of the federation, as a string.

Throws. None.

Example

example.ts
ts
import type { FederationLike } from '@fedimint/react-native'

declare const fed: FederationLike

const id = fed.id() 
console.log(id)

Used in. Amounts, step 02, Restore, step 04