Preparing search index...
The search index is not available
@perennial/sdk
@perennial/sdk
Perennial
Definitions
Transport
Type alias Transport<TType, TRpcAttributes, TEIP1193RequestFn>
Transport
<
TType
,
TRpcAttributes
,
TEIP1193RequestFn
>
:
(
<
TChain
>
(
{ chain, }
)
=>
{
config
:
TransportConfig
<
TType
>
;
request
:
TEIP1193RequestFn
;
value
?:
TRpcAttributes
;
}
)
Type Parameters
TType
extends
string
=
string
TRpcAttributes
=
Record
<
string
,
any
>
TEIP1193RequestFn
extends
EIP1193RequestFn
=
EIP1193RequestFn
Type declaration
<
TChain
>
(
{ chain, }
)
:
{
config
:
TransportConfig
<
TType
>
;
request
:
TEIP1193RequestFn
;
value
?:
TRpcAttributes
;
}
Type Parameters
TChain
extends
Chain
|
undefined
=
Chain
Parameters
{ chain, }
:
{
chain
?:
TChain
;
pollingInterval
?:
ClientConfig
[
"pollingInterval"
]
;
retryCount
?:
TransportConfig
[
"retryCount"
]
;
timeout
?:
TransportConfig
[
"timeout"
]
;
}
Optional
chain
?:
TChain
Optional
polling
Interval
?:
ClientConfig
[
"pollingInterval"
]
Optional
retry
Count
?:
TransportConfig
[
"retryCount"
]
Optional
timeout
?:
TransportConfig
[
"timeout"
]
Returns
{
config
:
TransportConfig
<
TType
>
;
request
:
TEIP1193RequestFn
;
value
?:
TRpcAttributes
;
}
config
:
TransportConfig
<
TType
>
request
:
TEIP1193RequestFn
Optional
value
?:
TRpcAttributes
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@perennial/sdk
Loading...