get_user_candidate
This on-chain view returns current candidate of a user in voting. If a user didn't vote before, contract's current delegated baker will be returned.
Call parameters
Field | Type | Description |
---|---|---|
user | address | The user by which you want to find out the candidate in the voting |
Return type
Usage
Errors
A view doesn't throw any errors.
Last updated