Preparing search index...
The search index is not available
Stacks.js
Stacks.js
@stacks/wallet-sdk
whenChainId
Function whenChainId
when
Chain
Id
(
chainId
)
:
(
<
T
>
(
chainIdMap
)
=>
T
)
Parameters
chainId
:
ChainId
Returns
(
<
T
>
(
chainIdMap
)
=>
T
)
<
T
>
(
chainIdMap
)
:
T
Type Parameters
T
Parameters
chainIdMap
:
WhenChainIdMap
<
T
>
Returns
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Stacks.js
@stacks/api
@stacks/auth
@stacks/encryption
@stacks/network
@stacks/stacking
@stacks/transactions
@stacks/bns
@stacks/common
@stacks/profile
@stacks/storage
@stacks/wallet-
sdk
Derivation
Type
Account
Config
Account
Config
App
Legacy
Config
App
Legacy
Wallet
Config
Locked
Wallet
Wallet
Wallet
Config
Wallet
Keys
Allowed
Key
Entropy
Bits
DEFAULT_
PROFILE
DEFAULT_
PROFILE_
FILE_
NAME
HARDENED_
OFFSET
assert
Is
Truthy
connect
To
Gaia
Hub
With
Config
create
Wallet
Gaia
Config
decrypt
derive
Account
derive
Config
Private
Key
derive
Data
Private
Key
derive
Legacy
Config
Private
Key
derive
Private
Key
By
Type
derive
Salt
derive
Stx
Private
Key
derive
Wallet
Keys
encrypt
encrypt
Wallet
Config
fetch
Account
Profile
Url
fetch
Legacy
Wallet
Config
fetch
Profile
From
Url
fetch
Username
For
Account
By
Derivation
Type
fetch
Wallet
Config
generate
New
Account
generate
Secret
Key
generate
Wallet
get
Account
Display
Name
get
App
Private
Key
get
Gaia
Address
get
Hub
Info
get
Or
Create
Wallet
Config
get
ProfileURLFrom
Zone
File
get
Root
Node
get
Stx
Address
make
Auth
Response
make
Gaia
Association
Token
make
Wallet
Config
random
Seed
Phrase
restore
Wallet
Accounts
select
Stx
Derivation
sign
And
Upload
Profile
sign
Profile
For
Upload
update
Wallet
Config
update
Wallet
Config
With
App
upload
Profile
when
Chain
Id
Generated using
TypeDoc