CDP Frontend SDK
Preparing search index...
@coinbase/cdp-core
ProviderState
Type Alias ProviderState
The attributes/methods representing the state of the provider
type
ProviderState
=
{
chainId
:
number
;
setChainId
:
(
chainId
:
number
)
=>
void
;
chains
:
readonly
[
Chain
,
...
Chain
[]
]
;
user
:
User
|
null
;
setUser
:
(
user
:
User
|
null
)
=>
void
;
}
Index
Properties
chain
Id
set
Chain
Id
chains
user
set
User
Properties
chain
Id
chainId
:
number
set
Chain
Id
setChainId
:
(
chainId
:
number
)
=>
void
chains
chains
:
readonly
[
Chain
,
...
Chain
[]
]
user
user
:
User
|
null
set
User
setUser
:
(
user
:
User
|
null
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
chain
Id
set
Chain
Id
chains
user
set
User
CDP Frontend SDK
Loading...
The attributes/methods representing the state of the provider