Skip to main content
All types are exported from the main entry point:
DepositRequest, DepositResult, TransferSummary, SignerRequest, SignerResponse, and SignerFunction are shared between @swype-org/deposit (web) and @swype-org/deposit-mobile (mobile). The type definitions are identical across both SDKs.

DepositStatus

Current phase of the deposit flow.

DepositConfig

Configuration for a Deposit instance. See Deposit Class for detailed descriptions.
presentation and embedMaxHeightPx configure aggregator embedding. Embedded presentation requires containerElement and resolves to overlay on mobile. The web SDK defaults appearance.theme to your page’s declared color-scheme. appearance.variables accepts five opaque hex brand colors and applies only to the web hosted flow. See Dark and light mode and Match your appearance. appearance.hideDepositTitle defaults to false. Set it to true to hide deposit entry and status titles when your container supplies its own heading. More and other navigation titles remain visible. See Deposit titles. preload defaults to true. merchantId is an optional preload performance hint and is never used as authorization.

DepositRequest

Parameters for a single deposit request.
Choose chainId and token from Blink’s active routing catalog. See Supported Networks and Wallets for the current support matrix and fee behavior.
minimumDeposit accepts a finite USD number greater than 0 and less than 1,000,000, rounded up to whole cents. It applies to the amount screen and manual/QR deposit terms. The property is unsigned and is not forwarded to your signer. See Minimum deposit for examples and validation behavior.

DepositResult

Result returned when a deposit completes successfully.
transfer.destinations carries the one destination the deposit actually settled on.

TransferSummary

Subset of transfer data returned from the hosted flow on completion.

SignerRequest

Data the SDK passes to the merchant signer.

SignerResponse

Shape the merchant signer must return.

SignerFunction

Custom async function for full control over the signer call.