Use of protobuf SendTransaction API for staking and delegation

Hello,

I am going through the documentation of staking and delegation and found that the cadence scripts can be used for executing staking or delegation requests. I was also checking the protobuf definitions and there is an API called SendTransaction. My question is, is it possible to use the SendTransaction API for staking and delegation.

Thank you,

Sameer

Hi,
Yes, it is possible to use the SendTransaction API. The transactions can be found here.
Flow Go SDK has examples of sending transaction via the API such as this one

hope that helps,
-v-