@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/swap-services
index
SwapAdminQueryService
Class SwapAdminQueryService
Hierarchy (
View Summary
)
SwapAdminQueryService
SwapAdminService
Index
Constructors
constructor
Properties
db
Methods
get
search
Constructors
constructor
new
SwapAdminQueryService
(
__namedParameters
:
{
sqlClient
:
Sql
}
,
)
:
SwapAdminQueryService
Parameters
__namedParameters
:
{
sqlClient
:
Sql
}
Returns
SwapAdminQueryService
Properties
Protected
Readonly
db
db
:
B2bDatabase
Methods
get
get
(
__namedParameters
:
{
id
:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
|
{
createdAt
:
Date
;
id
:
string
;
quote
:
SwapQuote
;
receipt
?:
{
id
:
string
;
type
:
"SOLANA_TRANSACTION_SIGNATURE"
|
"REWARD_ID"
|
"REWARD_CLAIM_ID"
;
}
[]
;
status
:
"CREATED"
|
"PENDING"
|
"COMPLETED"
|
"FAILED"
;
updatedAt
:
Date
;
}
&
{
customerId
:
string
;
entityId
:
string
}
|
null
;
}
,
>
Parameters
__namedParameters
:
{
id
:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
|
{
createdAt
:
Date
;
id
:
string
;
quote
:
SwapQuote
;
receipt
?:
{
id
:
string
;
type
:
"SOLANA_TRANSACTION_SIGNATURE"
|
"REWARD_ID"
|
"REWARD_CLAIM_ID"
;
}
[]
;
status
:
"CREATED"
|
"PENDING"
|
"COMPLETED"
|
"FAILED"
;
updatedAt
:
Date
;
}
&
{
customerId
:
string
;
entityId
:
string
}
|
null
;
}
,
>
search
search
(
__namedParameters
:
{
depositId
?:
string
}
,
)
:
Promise
<
{
ok
:
true
;
value
:
{
hasNext
:
boolean
;
items
:
(
{
createdAt
:
Date
;
id
:
string
;
quote
:
SwapQuote
;
receipt
?:
{
id
:
string
;
type
:
"SOLANA_TRANSACTION_SIGNATURE"
|
"REWARD_ID"
|
"REWARD_CLAIM_ID"
;
}
[]
;
status
:
"CREATED"
|
"PENDING"
|
"COMPLETED"
|
"FAILED"
;
updatedAt
:
Date
;
}
&
{
customerId
:
string
;
entityId
:
string
}
)
[]
;
}
;
}
,
>
Parameters
__namedParameters
:
{
depositId
?:
string
}
Returns
Promise
<
{
ok
:
true
;
value
:
{
hasNext
:
boolean
;
items
:
(
{
createdAt
:
Date
;
id
:
string
;
quote
:
SwapQuote
;
receipt
?:
{
id
:
string
;
type
:
"SOLANA_TRANSACTION_SIGNATURE"
|
"REWARD_ID"
|
"REWARD_CLAIM_ID"
;
}
[]
;
status
:
"CREATED"
|
"PENDING"
|
"COMPLETED"
|
"FAILED"
;
updatedAt
:
Date
;
}
&
{
customerId
:
string
;
entityId
:
string
}
)
[]
;
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
db
Methods
get
search
@cfxlabsinc/b2b-services
Loading...