Solana Transaction Builder
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; the caller only needs to sign with the receiver wallet and broadcast.
Amount of USDC to deposit, in raw base units (6 decimals). For example, 1000000 (1e6) represents 1.0 USDC.
1000000DEPRECATED: Use rawAmountUsdc instead. Amount of USDC in raw base units (6 decimals).
CCTP finality mode. 'fast' (~1-2 min) has higher fees, 'standard' (~15 min) has lower fees.
standardExample: fastPossible values: Slug identifying the Nest vault. Valid options: nest-basis-vault (nBASIS), nest-treasury-vault (nTBILL), nest-alpha-vault (nALPHA), nest-wisdom-vault (nWISDOM), nest-opal-vault (nOPAL), nest-test-vault (nTEST).
nest-basis-vaultPossible values: Base58-encoded Solana public key of the user who will receive the minted Nest share tokens and pay the transaction fees.
CFagSTMBFiMaD4YKHr7mMcKTzpi35DqiBKbDA35BvZgrTransaction built successfully.
Bad request
Internal server error
Returns a base64 transaction to initiate a Nest vault redeem for USDC.
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.
Amount of Nest share tokens to redeem, in raw base units (6 decimals). For example, 1000000 (1e6) represents 1.0 Nest share token.
1000000DEPRECATED: Use rawAmountNestToken instead. Amount of Nest shares in raw base units (6 decimals).
Slug identifying the Nest vault. Valid options: nest-basis-vault (nBASIS), nest-treasury-vault (nTBILL), nest-alpha-vault (nALPHA), nest-wisdom-vault (nWISDOM), nest-opal-vault (nOPAL), nest-test-vault (nTEST).
nest-basis-vaultPossible values: Base58-encoded Solana public key of the user who owns the Nest share tokens and will pay the transaction fees.
CFagSTMBFiMaD4YKHr7mMcKTzpi35DqiBKbDA35BvZgrDEPRECATED: This field is ignored. Destination is always Plume mainnet.
Transaction built successfully.
Bad request
Internal server error
Last updated