Core APIReferenceSolanaNest

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

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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

rawAmountNestToken?|

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.

amountNest?integer
Deprecated

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.

Range0 < value
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, plume-factor-vault.

owner*string

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.

Length1 <= length
feePayer?string

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

Length1 <= length
dstEid?integer
Deprecated

DEPRECATED: This field is ignored. Destination is always Plume mainnet.

Range0 < value
priorityFee?string

Optional dynamic priority fee level. The API fetches recent prioritization fees for all transaction accounts and selects low/median/high.

Value in

  • "low"
  • "medium"
  • "high"
priorityFeeMaxLamports?integer

Optional maximum total priority fee in lamports. If provided, it takes precedence over priorityFee.

Range0 <= value

Response 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"  }}