EasyPath SDK
    Preparing search index...

    Function solanaDepositBytes

    • The quote's unsigned v0 transaction, after checking it matches the quote. Hand it to the wallet to sign.

      Parameters

      • quote: {
            amountIn: string;
            deadline: number;
            deposit:
                | {
                    solana: {
                        amount: string;
                        lastValidBlockHeight: number;
                        memo: string;
                        to: string;
                        token: string;
                        tx: string;
                    };
                }
                | {
                    robinhood: {
                        approval?: { data: string; required: boolean; to: string };
                        data: string;
                        to: string;
                        value: string;
                    };
                };
            estimatedAmountOut: string;
            estimatedAmountOutUsd: string;
            estimatedTimeMs: number;
            fees: {
                bridgeFee: { amount: string; token: string; usd?: string
                | null };
                bridgeFeeBps: number;
                destFillGas: { amount: string; token: string; usd?: string | null };
                originGasEstimate: { amount: string; token: string; usd?: string | null };
                totalFeeUsd: string;
            };
            intentId: string;
            minAmountOut: string;
            persisted: true;
            recommendedSlippage: number;
            route: {
                destinationChainId: string;
                destinationToken: string;
                originChainId: string;
                originToken: string;
            };
            signatureRequired: false;
        }
      • senderAddress: string

      Returns Uint8Array