/solana/nest/redeem/build-tx
Returns a base64 transaction to initiate a Nest vault redeem for USDC. The transaction includes: (1) Creating the caller's USDC ATA if it doesn't exist, (2) Sending Nest shares via LayerZero OFT to the vault composer on Plume. Under the hood, this builds a LayerZero OFT send transaction that transfers Nest shares to the vault's NestVaultComposer contract on Plume, which processes the redemption and returns USDC via CCTP bridge. The transaction must be signed and sent by the caller's wallet.
Returns a base64 transaction to initiate a Nest vault redeem for USDC.
The transaction includes: (1) Creating the caller's USDC ATA if it doesn't exist, (2) Sending Nest shares via LayerZero OFT to the vault composer on Plume.
Under the hood, this builds a LayerZero OFT send transaction that transfers Nest shares to the vault's NestVaultComposer contract on Plume, which processes the redemption and returns USDC via CCTP bridge.
The transaction must be signed and sent by the caller's wallet.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Amount of Nest share tokens to redeem, in raw base units. Positive safe-integer JSON numbers and base-10 integer strings are supported. Use a string to avoid JavaScript number precision loss. Use the configured shareDecimals value (the decimals configured on the Solana share mint) to interpret the amount.
DEPRECATED: Use rawAmountNestToken instead. Amount of Nest shares in raw base units; use the configured shareDecimals value (the decimals configured on the Solana share mint) to interpret the amount.
0 < valueSlug identifying the Nest vault. Valid options: nest-alpha-vault, nest-treasury-vault, nest-basis-vault, nest-wisdom-vault, nest-opal-vault, nest-test-vault, nest-scope-vault, nest-lcrd-vault, nest-perena-vault, nest-falconx-clo, nest-cloa-vault, plume-factor-vault.
Base58-encoded Solana public key of the user who owns the Nest share tokens and signs as the OFT token source authority. This wallet pays fees unless feePayer is provided.
1 <= lengthOptional base58-encoded Solana public key of a sponsor/relayer that will pay both Solana transaction fees and LayerZero native delivery fees. The owner remains the Nest share token authority.
1 <= lengthDEPRECATED: This field is ignored. Destination is always Plume mainnet.
0 < valueOptional dynamic priority fee level. The API fetches recent prioritization fees for all transaction accounts and selects low/median/high.
Value in
- "low"
- "medium"
- "high"
Optional maximum total priority fee in lamports. If provided, it takes precedence over priorityFee.
0 <= valueResponse Body
application/json
application/json
application/json
curl -X POST "https://example.com/solana/nest/redeem/build-tx" \ -H "Content-Type: application/json" \ -d '{ "nestVaultSlug": "nest-alpha-vault", "owner": "CFagSTMBFiMaD4YKHr7mMcKTzpi35DqiBKbDA35BvZgr" }'{ "data": { "txBase64": "string" }}/solana/nest/mint/build-tx POST
Returns a base64 transaction to initiate a Nest vault mint. Deposits USDC from Solana to mint Nest share tokens, which are delivered to the receiver's Solana wallet. The transaction includes: (1) Creating the receiver's Nest share token ATA if it doesn't exist, (2) Creating the CCTP MessageSent event data account (rent funded by Nest keeper), (3) CCTP depositForBurn instruction to bridge USDC to Plume. On Plume, the NestVaultComposer receives the USDC, mints vault shares, and sends them back to the receiver via LayerZero OFT. The transaction is pre-signed by the Nest keeper and ephemeral event account. The caller signs with the receiver wallet and, for sponsored transactions, the fee payer wallet. Sponsored transactions require the receiver's Nest share ATA to already exist; a sponsor can create it in a separate idempotent ATA transaction without a receiver signature.
/solana/redeem-status/{signature} GET
Get redeem flow status by Solana burn transaction signature