UNPKG
@particle-network/auth-connectors
Version:
latest (3.0.0-alpha.5)
3.0.0-alpha.5
3.0.0-alpha.4
3.0.0-alpha.3
3.0.0-alpha.2
3.0.0-alpha.1
3.0.0-alpha.0
2.1.1
2.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha.3
1.0.0-alpha.1
1.0.0-alpha.0
particle.network
@particle-network/auth-connectors
/
dist
/
types
/
getConnection.d.ts
4 lines
(3 loc)
•
238 B
TypeScript
View Raw
1
2
3
4
import
{
Connection
,
type
Commitment
,
type
ConnectionConfig
}
from
'@solana/web3.js'
;
import
type
{
Chain
}
from
'viem'
;
export
declare
function
getConnection
(
chain
:
Chain
,
commitmentOrConfig
?:
Commitment
|
ConnectionConfig
):
Connection
;