BrokerDepositChannelParamsSchema
const
BrokerDepositChannelParamsSchema:ZodObject
<{affiliateFees
:ZodOptional
<ZodArray
<ZodObject
<{brokerAddress
:ZodString
;feeBps
:ZodNumber
; },"strip"
,ZodTypeAny
, {brokerAddress
:string
;feeBps
:number
; }, {brokerAddress
:string
;feeBps
:number
; }>,"many"
>>;brokerCommissionBps
:ZodOptional
<ZodNumber
>;buyAsset
:ZodObject
<{asset
:ZodString
;chain
:ZodString
; },"strip"
,ZodTypeAny
, {asset
:string
;chain
:string
; }, {asset
:string
;chain
:string
; }>;channelMetadata
:ZodOptional
<ZodObject
<{cfParameters
:ZodOptional
<ZodString
>;gasBudget
:ZodOptional
<ZodString
>;message
:ZodOptional
<ZodString
>; },"strip"
,ZodTypeAny
, {cfParameters?
:string
;gasBudget?
:string
;message?
:string
; }, {cfParameters?
:string
;gasBudget?
:string
;message?
:string
; }>>;dcaParameters
:ZodOptional
<ZodObject
<{chunkInterval
:ZodOptional
<ZodNumber
>;numberOfChunks
:ZodOptional
<ZodNumber
>; },"strip"
,ZodTypeAny
, {chunkInterval?
:number
;numberOfChunks?
:number
; }, {chunkInterval?
:number
;numberOfChunks?
:number
; }>>;destinationAddress
:ZodString
;maxBoostFeeBps
:ZodOptional
<ZodNumber
>;refundParameters
:ZodOptional
<ZodObject
<{minPrice
:ZodOptional
<ZodString
>;refundAddress
:ZodOptional
<ZodString
>;retryDuration
:ZodOptional
<ZodNumber
>; },"strip"
,ZodTypeAny
, {minPrice?
:string
;refundAddress?
:string
;retryDuration?
:number
; }, {minPrice?
:string
;refundAddress?
:string
;retryDuration?
:number
; }>>;sellAsset
:ZodObject
<{asset
:ZodString
;chain
:ZodString
; },"strip"
,ZodTypeAny
, {asset
:string
;chain
:string
; }, {asset
:string
;chain
:string
; }>; },"strip"
,ZodTypeAny
, {affiliateFees?
:object
[];brokerCommissionBps?
:number
;buyAsset
: {asset
:string
;chain
:string
; };channelMetadata?
: {cfParameters?
:string
;gasBudget?
:string
;message?
:string
; };dcaParameters?
: {chunkInterval?
:number
;numberOfChunks?
:number
; };destinationAddress
:string
;maxBoostFeeBps?
:number
;refundParameters?
: {minPrice?
:string
;refundAddress?
:string
;retryDuration?
:number
; };sellAsset
: {asset
:string
;chain
:string
; }; }, {affiliateFees?
:object
[];brokerCommissionBps?
:number
;buyAsset
: {asset
:string
;chain
:string
; };channelMetadata?
: {cfParameters?
:string
;gasBudget?
:string
;message?
:string
; };dcaParameters?
: {chunkInterval?
:number
;numberOfChunks?
:number
; };destinationAddress
:string
;maxBoostFeeBps?
:number
;refundParameters?
: {minPrice?
:string
;refundAddress?
:string
;retryDuration?
:number
; };sellAsset
: {asset
:string
;chain
:string
; }; }>
Defined in: packages/helpers/src/api/swapkitApi/types.ts:244