idof
Generates a unique identifier for an account based on its address and key ID.
Import
You can import the entire package and access the function:
_10import * as sdk from "@onflow/sdk"_10_10sdk.idof(acct)
Or import directly the specific function:
_10import { idof } from "@onflow/sdk"_10_10idof(acct)
Parameters
acct
- Type:
InteractionAccount
- Description: The account object
Returns
string