Skip to content

Documentation / server-auth / SolanaSignAndSendTransactionRpcInputType

Type alias: SolanaSignAndSendTransactionRpcInputType<TTransactionType>

SolanaSignAndSendTransactionRpcInputType<TTransactionType>: WithOptionalIdempotencyKey<WithWalletIdOrAddressChainType<SolanaBaseTransactionRpcInputType<TTransactionType> & Object, "solana">>

The input parameters for the signAndSendTransaction RPC method to sign a Solana transaction. If you use this type directly you can optionally narrow it to just Transaction or VersionedTransaction, like SolanaSignAndSendTransactionRpcInputType<VersionedTransaction>. Otherwise, the rpc method will determine the type of transaction you passed in and return the appropriate type.

Type parameters

TTransactionType extends Transaction | VersionedTransaction = VersionedTransaction | Transaction