Skip to main content
Build a deposit returns an unsigned transaction. Sign it with the user’s wallet, then broadcast via your own RPC or optionally through POST /yield/broadcast.
1

Endpoint

2

Request example

3

Expected response

data.transaction is the base64 unsigned Solana wire. Fee fields reflect StarkFi/whitelabel charges embedded in the transaction when applicable.
4

Sign and broadcast

Sign the wire with the user’s keypair, then either:
  • Your RPC: connection.sendRawTransaction(signedBytes), or
  • StarkFi (optional): POST /yield/broadcast with chain_name and op_signed
StarkPay POST /payment/execute/on-chain is still required for payment flows. Yield broadcast is optional.