okxWallet
const
okxWallet:object
Defined in: wallets/src/okx/index.ts:6
Type declaration
Section titled “Type declaration”connectOkx
Section titled “connectOkx”connectOkx:
object
connectOkx.connectWallet()
Section titled “connectOkx.connectWallet()”connectWallet: (
connectParams
) => (…params
) =>Promise
<boolean
>
Parameters
Section titled “Parameters”connectParams
Section titled “connectParams”addChain
Section titled “addChain”AddChainType
Returns
Section titled “Returns”(…
params
):Promise
<boolean
>
Parameters
Section titled “Parameters”params
Section titled “params”…[Chain
[]]
Returns
Section titled “Returns”Promise
<boolean
>
connectOkx.supportedChains
Section titled “connectOkx.supportedChains”supportedChains: (
Arbitrum
|Avalanche
|Base
|BinanceSmartChain
|Bitcoin
|Cosmos
|Ethereum
|Optimism
|Polygon
)[]