Skip to main content

/wallet/votewitnessaccount REST API Endpoint

Vote for witnesses.

Updated on
Oct 08, 2024

Body Parameters

owner_address
string
REQUIRED

The owner address, encoded in hexString

votes
object

The votes object which contains the following fields

vote_address
string

The address of the witness you want to vote encoded in hexString

vote_count
integer

The number of votes you want to vote

permission_id
integer

The ID of the permission that is required to execute the transaction

visible
boolean

A boolean value indicating whether the address is in base58 format

Returns

visible

Indicates if the transaction is publicly visible

txID

An unique identifier for the transaction

raw_data

The raw_data object which contains the following fields:

contract

An array of contracts included in the transaction

parameter

The parameter object which contains the following fields:

value

The value object which contains the following fields:

owner_address

The address of the transaction initiator

votes

An array of vote details

vote_address

The address receiving the vote

vote_count

The number of votes given

type_url

Identifies the type of contract being executed

type

The type of contract involved in the transaction

ref_block_bytes

The bytes of the previous block hash

ref_block_hash

The hash of the previous block

expiration

The expiration time of the transaction

timestamp

The timestamp of the transaction

raw_data_hex

The raw transaction data, encoded in hexadecimal format

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free