castVoteWithReasonAndParamsBySig

Prepares a transaction to call the "castVoteWithReasonAndParamsBySig" function on the contract.

Example

import { castVoteWithReasonAndParamsBySig } from "thirdweb/extensions/vote";
const transaction = castVoteWithReasonAndParamsBySig({
contract,
proposalId: ...,
support: ...,
reason: ...,
params: ...,
v: ...,
r: ...,
s: ...,
overrides: {
...
}
});
// Send the transaction
...

Parameters

Returns

A prepared transaction object.