/solana/nest/mint/build-tx
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.
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.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Amount of USDC to deposit, in raw base units (6 decimals). For example, 1000000 (1e6) represents 1.0 USDC.
0 < valueDEPRECATED: Use rawAmountUsdc instead. Amount of USDC in raw base units (6 decimals).
0 < valueCCTP finality mode. 'fast' (~1-2 min) has higher fees, 'standard' (~15 min) has lower fees.
"standard"Value in
- "fast"
- "standard"
Slug 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 will receive the minted Nest share tokens and provide the USDC burn authority. This wallet pays transaction fees unless feePayer is provided.
1 <= lengthOptional base58-encoded Solana public key of a sponsor/relayer that will be the transaction fee payer. When provided, the receiver remains the USDC owner and Nest share receiver. For first-time receivers, the sponsor should pre-create the receiver's Nest share ATA before requesting the mint transaction.
1 <= lengthOptional 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
application/json
curl -X POST "https://example.com/solana/nest/mint/build-tx" \ -H "Content-Type: application/json" \ -d '{ "nestVaultSlug": "nest-alpha-vault", "receiver": "CFagSTMBFiMaD4YKHr7mMcKTzpi35DqiBKbDA35BvZgr" }'{ "data": { "txBase64": "string" }}/solana/nest/async-redeem/update/build-tx POST
Returns a base64 transaction to update an existing async Nest vault redemption request. Positive updates are checked against the current Plume USDC redemption quote and fee configuration; zero cancels. Under the hood, this builds a LayerZero OFT send transaction with an UPDATE_REDEEM_REQUEST compose command. The backend calculates the destination compose/drop fee from the current pending redeem state. The transaction must be signed and sent by the caller's wallet.
/solana/nest/redeem/build-tx POST
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.