Core APISolanaNestMint

/solana/nest/mint/quote

Quotes a Solana USDC mint using the default deposit composer and current Plume state. Uses the same CCTP fee cap and standard default as mint/build-tx. No wallet, compliance proof or signing is required. This estimate excludes SOL transaction fees and account rent; execution-time rates and fees may change.

POST
/solana/nest/mint/quote

Quotes a Solana USDC mint using the default deposit composer and current Plume state. Uses the same CCTP fee cap and standard default as mint/build-tx. No wallet, compliance proof or signing is required. This estimate excludes SOL transaction fees and account rent; execution-time rates and fees may change.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

nestVaultSlug*string

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, nusdgo-plus, nhinc, njusd, plume-factor-vault.

rawAmountUsdc*string

USDC amount in raw base units (6 decimals), as a positive u64 decimal string.

finality?string
Default"standard"

Value in

  • "fast"
  • "standard"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/solana/nest/mint/quote" \  -H "Content-Type: application/json" \  -d '{    "nestVaultSlug": "nest-alpha-vault",    "rawAmountUsdc": "1000000"  }'
{  "data": {    "nestVaultSlug": "string",    "finality": "fast",    "depositAsset": "string",    "depositDecimals": 6,    "rawAmountUsdc": "string",    "cctpFeeAmount": "string",    "netDepositAmount": "string",    "vaultDepositFeeAmount": "string",    "vaultDepositFees": {      "ratePpm": 0,      "flatAmount": "string"    },    "rate": "string",    "rateDecimals": 6,    "shareTokenAddress": "string",    "shareDecimals": 0,    "shareAmount": "string",    "complianceVersion": "v1",    "composerAddress": "string",    "nestVaultAddress": "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 by default), (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 ephemeral event account and, when funding event rent, the Nest keeper. 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 unless initSponsoredShareAta is true. With that opt-in, the sponsor funds both account creations in the same transaction and must sign any later CCTP rent reclaim.

/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.