From 30c3e40b3478fe2c0a16dd7c2ab7081ea9ab7c01 Mon Sep 17 00:00:00 2001 From: alchemy-bot <80712764+alchemy-bot@users.noreply.github.com> Date: Fri, 24 Jul 2026 17:28:02 +0000 Subject: [PATCH] [docs-agent] Link prefundRent mentions to CPI rent prefunding section The Solana sponsorship page mentions `prefundRent: true` in the Prepare calls step (api.mdx) and in the Rent sponsorship accordion (index.mdx), but neither cross-links to the detailed CPI rent prefunding section on the lower-level `alchemy_requestFeePayer` flow page, making the full contract and requirements hard to find from the primary Wallet APIs sponsorship page. Refs DOCS-161 Requested-by: @dancoombs --- content/wallets/pages/transactions/sponsor-gas/solana/api.mdx | 4 ++-- .../wallets/pages/transactions/sponsor-gas/solana/index.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/wallets/pages/transactions/sponsor-gas/solana/api.mdx b/content/wallets/pages/transactions/sponsor-gas/solana/api.mdx index 092db575a..941559cb1 100644 --- a/content/wallets/pages/transactions/sponsor-gas/solana/api.mdx +++ b/content/wallets/pages/transactions/sponsor-gas/solana/api.mdx @@ -27,8 +27,8 @@ TRANSFER_0_LAMPORT_DATA=0x020000000000000000000000 Attach `capabilities.paymasterService.policyId` to apply your Solana sponsorship -policy. Add `prefundRent: true` to opt in to CPI rent prefunding, and -`webhookData` to pass extra context to custom rules. +policy. Add `prefundRent: true` to opt in to [CPI rent prefunding](/docs/wallets/transactions/solana/sponsor-gas#cpi-rent-prefunding), +and `webhookData` to pass extra context to custom rules. ```bash twoslash PREPARE_CALLS_RESPONSE=$(jq -n \ diff --git a/content/wallets/pages/transactions/sponsor-gas/solana/index.mdx b/content/wallets/pages/transactions/sponsor-gas/solana/index.mdx index 04f65593a..c483be73c 100644 --- a/content/wallets/pages/transactions/sponsor-gas/solana/index.mdx +++ b/content/wallets/pages/transactions/sponsor-gas/solana/index.mdx @@ -37,7 +37,7 @@ Use Solana sponsorship to cover transaction fees and rent for Solana calls submi Top-level rent sponsorship applies automatically when a sponsored transaction includes top-level `SystemProgram.createAccount` or Associated Token Program `Create` / `CreateIdempotent` instructions. No extra request parameter is required for those top-level instructions. - For accounts created inside a cross-program invocation (CPI), opt in per request with `prefundRent: true`. This asks the service to simulate the transaction, estimate the CPI rent requirement, and prefund the user's wallet before the transaction is submitted. + For accounts created inside a cross-program invocation (CPI), opt in per request with `prefundRent: true`. This asks the service to simulate the transaction, estimate the CPI rent requirement, and prefund the user's wallet before the transaction is submitted. See [CPI rent prefunding](/docs/wallets/transactions/solana/sponsor-gas#cpi-rent-prefunding) for the full contract, requirements, and best practices.