dao
Last updated
Last updated
the array list returns the list of all DAOs created using the smart-nodes
GET
dao/list
Fetch the list of all DAOs created on HbarSuite
Response Item | Description |
---|---|
Returns the details of a specified DAO
GET
dao/details/?tokenId={tokenId}
DAO details
Returns an array with all the proposals of a DAO
GET
dao/proposals?tokenId={tokenId}
Fetch proposals list
Returns the details of a specific proposal
GET
dao/proposal?tokenId={tokenId}&consensus_timestamp={consensus.timestamp}&type={type}
proposal details
Returns an array with the list of accounts allowed to vote
GET
dao/snapshot?tokenId={tokenId}&consensus_timestamp={consensus_timestamp}&type={type}
Returns array of accounts details that are allowed to vote
Check if a wallet ID has the right to vote
GET
dao/snapshot/validate?walletId={walletId}&tokenId={tokenId}&consensus_timestamp={consensus_timestamp}&type={type}
Check if an AccountId is present in a snapshot
Get the votes for a specific public proposal
GET
dao/votes?tokenId={tokenId}&consensus_timestamp={consensus_timestamp}
public votes for a proposal
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
Name | Type | Description |
---|---|---|
Response Item | Description |
---|---|
name
DAO name
description
DAO description
about
more info about the DAO
tokenId
tokenId on which the DAO is based
symbol
token symbol
decimals
token decimals
type
token type
image
DAO image
isWeighted
defines if a DAO vote is based on token weight
limited.proposals
if limited, it has the topic ID on where council votes are registered
limited.councilNftId
NFT id of the council members
proposals
Topic ID where the proposals are written
blacklist
array of blacklisted accounts
fees.fixed.hbar
fees of the DAO creation
fees.wallet
wallet ID where the fees go
consensus_timestamp
timestamp when the DAO was created
tokenId*
String
TokenId of the DAO
name
DAO name
description
DAO description
about
more info about the DAO
tokenId
tokenId on which the DAO is based
symbol
token symbol
decimals
token decimals
type
token type
image
DAO image
isWeighted
defines if a DAO vote is based on token weight
limited.proposals
if limited, it has the topic ID on where council votes are registered
limited.councilNftId
NFT id of the council members
proposals
Topic ID where the proposals are written
blacklist
array of blacklisted accounts
fees.fixed.hbar
fees of the DAO creation
fees.wallet
wallet ID where the fees go
consensus_timestamp
timestamp when the DAO was created
tokenId
String
tokenId of the DAO
title
proposal title
description
proposal description
content
proposal main content
options
voting options
start_date
starting date of the proposal
end_date
end date of the proposal
author
account ID owner of the proposal
votes
Topic ID where the proposal votes are written
statistics
Topic ID where the statistics are written
created_at
timestamp of the proposal creation
snapshot.url
url of the IPFS cid for the snapshot
snapshot.holders
number of holders that can vote on the proposal
type
whether the proposal is private (council vote) or public for community vote
consensus_timestamp
timestamp of the proposal
fees.fixed.hbar
fee of the dao creation
fees.wallet
where the fees go
original_options
the voting options when on public vote
latestStatistics.consensus_timestamp
timestamp of the current statistics
latestStatistics.votes
current number of votes
latestStatistics.weights
current weight
latestStatistics.results.approve.weight
number of approval votes from council
latestStatistics.results.approve.percentage
percentage of approval from council
latestStatistics.results.reject.weight
number of rejection votes from council
latestStatistics.results.reject.percentage
percentage of rejection from council
status
current status of the proposal (whether approved or rejected)
tokenId*
String
tokenId of the DAO
consensus_timestamp*
String
consensus timestamp of the proposal
type*
String
type of the proposal
title
proposal title
description
proposal description
content
proposal main content
options
voting options
start_date
starting date of the proposal
end_date
end date of the proposal
author
account ID owner of the proposal
votes
Topic ID where the proposal votes are written
statistics
Topic ID where the statistics are written
created_at
timestamp of the proposal creation
snapshot.url
url of the IPFS cid for the snapshot
snapshot.holders
number of holders that can vote on the proposal
type
whether the proposal is private (council vote) or public for community vote
consensus_timestamp
timestamp of the proposal
fees.fixed.hbar
fee of the dao creation
fees.wallet
where the fees go
original_options
the voting options when on public vote
latestStatistics.consensus_timestamp
timestamp of the current statistics
latestStatistics.votes
current number of votes
latestStatistics.weights
current weight
latestStatistics.results.approve.weight
number of approval votes from council
latestStatistics.results.approve.percentage
percentage of approval from council
latestStatistics.results.reject.weight
number of rejection votes from council
latestStatistics.results.reject.percentage
percentage of rejection from council
status
current status of the proposal (whether approved or rejected)
tokenId*
String
tokenId of the DAO
consensus_timestamp*
String
consensus timestamp of the proposal
type*
String
type of the proposal
account_id
account id of the voter
created_timestamp
timestamp of account creation
delegating_spender
spender account id
deleted
if account id has been deleted, it will show 'true'
metadata
metadata of the snapshot
modified_timestamp
timestamp of last change
serial_number
serial number of the council NFT (if private vote or DAO based on NFT)
spender
hedera account spender
token_id
token ID of the token which allows you to vote
walletId*
String
Account ID
tokenId*
String
tokenId of the DAO
consensus_timestamp*
String
consensus timestamp of the proposal
type*
String
type of the proposal
boolean
if true, the walletId has the right to vote
tokenId*
String
tokenId of the DAO
consensus_timestamp*
String
consensus timestamp of the proposal (public)
sender
sender of the response
timestamp
timestamp of the latest statistic
message
array of voting details
message.timestamp
timestamp of the message
message.message.wallet
walletId of the vote
message.message.weight
weight of the voter
message.message.option
voting option chosen by the voter