- vote(__namedParameters): Promise<Transaction>
Parameters
- __namedParameters: {
chainId: CHAIN_IDS;
userAddress: `0x${string}`;
candidateAddress: `0x${string}`;
inFavor: boolean;
options?: {
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
};
}userAddress: `0x${string}`
candidateAddress: `0x${string}`
inFavor: boolean
Optional
options?: {
useSubgraph?: boolean;
} & DefaultOptions & {
gasLimit?: bigint;
gasPriceLimit?: bigint;
}