@sodazone/ocelloids-client - v3.0.0
Preparing search index...
agent
createCrosschainAgent
Function createCrosschainAgent
createCrosschainAgent
(
optsOrClient
:
OcelloidsClientConfig
|
OcelloidsClient
,
)
:
QueryableApi
<
|
{
criteria
?:
{
actions
?:
string
[]
;
address
?:
string
;
assets
?:
string
[]
;
destinations
?:
string
[]
;
networks
?:
string
[]
;
origins
?:
string
[]
;
protocols
?:
(
"xcm"
|
"wormhole_portal"
)
[]
;
sentAtGte
?:
number
;
sentAtLte
?:
number
;
status
?:
(
"timeout"
|
"received"
|
"failed"
|
"sent"
)
[]
;
txHash
?:
string
;
usdAmountGte
?:
number
;
usdAmountLte
?:
number
;
}
;
op
:
"journeys.list"
;
}
|
{
criteria
:
{
id
:
string
}
;
op
:
"journeys.by_id"
}
|
{
op
:
"assets.list"
}
,
XcQueryResponse
,
>
&
StreamableApi
<
{
args
:
Record
<
string
,
any
>
;
streamName
:
"default"
}
,
SseListener
,
>
&
OcelloidsClientApi
Parameters
optsOrClient
:
OcelloidsClientConfig
|
OcelloidsClient
Returns
QueryableApi
<
|
{
criteria
?:
{
actions
?:
string
[]
;
address
?:
string
;
assets
?:
string
[]
;
destinations
?:
string
[]
;
networks
?:
string
[]
;
origins
?:
string
[]
;
protocols
?:
(
"xcm"
|
"wormhole_portal"
)
[]
;
sentAtGte
?:
number
;
sentAtLte
?:
number
;
status
?:
(
"timeout"
|
"received"
|
"failed"
|
"sent"
)
[]
;
txHash
?:
string
;
usdAmountGte
?:
number
;
usdAmountLte
?:
number
;
}
;
op
:
"journeys.list"
;
}
|
{
criteria
:
{
id
:
string
}
;
op
:
"journeys.by_id"
}
|
{
op
:
"assets.list"
}
,
XcQueryResponse
,
>
&
StreamableApi
<
{
args
:
Record
<
string
,
any
>
;
streamName
:
"default"
}
,
SseListener
,
>
&
OcelloidsClientApi
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@sodazone/ocelloids-client - v3.0.0
Loading...