alchemy_requestFeePayer
Requests fee and rent sponsorship for a Solana transaction and returns the **fully-signed** `serializedTransaction` (now containing the fee-payer signature).
<Note>
We support rent sponsorship for `createAccount` and `createAssociatedTokenAccount` programs. If you need support for sponsoring rent in custom programs, please contact us at [[email protected]](mailto:[email protected]).
</Note>
Path Parameters
apiKey
Request
This endpoint expects an object.
policyId
The Gas Manager Policy ID or list of Gas Manager Policy IDs.
serializedTransaction
The unsigned transaction produced by tx.serialize().
It may already contain a feePayer; the service will overwrite it
with the sponsoring account and add the fee-payer signature.
Response
Object containing the fully-signed transaction ready for sendRawTransaction.
serializedTransaction
The transaction after the service sets the feePayer field and adds the fee-payer signature.