dao

list

the array list returns the list of all DAOs created using the smart-nodes

Get the list of all DAOs

GET dao/list

Fetch the list of all DAOs created on HbarSuite

Response Details

details

Returns the details of a specified DAO

Fetch the details of a specified DAO

GET dao/details/?tokenId={tokenId}

DAO details

Query Parameters

Response Details

proposals

Returns an array with all the proposals of a DAO

Get the list of all proposals for a specific DAO/token

GET dao/proposals?tokenId={tokenId}

Fetch proposals list

Query Parameters

Response Details

proposal

Returns the details of a specific proposal

Fetch the details of a specific proposal

GET dao/proposal?tokenId={tokenId}&consensus_timestamp={consensus.timestamp}&type={type}

proposal details

Query Parameters

Response Details

snapshot

Returns an array with the list of accounts allowed to vote

Fetch the details of a specific proposal's snapshot

GET dao/snapshot?tokenId={tokenId}&consensus_timestamp={consensus_timestamp}&type={type}

Returns array of accounts details that are allowed to vote

Query Parameters

Response Details

snapshot/validate

Check if a wallet ID has the right to vote

Check if a walletId has the right to vote on a proposal

GET dao/snapshot/validate?walletId={walletId}&tokenId={tokenId}&consensus_timestamp={consensus_timestamp}&type={type}

Check if an AccountId is present in a snapshot

Query Parameters

Response Details

votes

Get the votes for a specific public proposal

Get the votes for a specific public proposal

GET dao/votes?tokenId={tokenId}&consensus_timestamp={consensus_timestamp}

public votes for a proposal

Query Parameters

Response Details

Last updated