Govern.js API
Usage with default config
import { dao } from '@aragon/govern'
const response = await dao('0x0...')
console.log(response)Usage with custom config
import { dao, configure } from '@aragon/govern'
configure({ governURL: 'https://myOwnGovernServer.io' })
const response = await dao('0x0...')
console.log(response)dao(name) ⇒ Promise<Dao>
Promise<Dao>Param
Type
Description
daos() ⇒ Promise<Dao[]>
Promise<Dao[]>query(query, args) ⇒ Promise<object>
Promise<object>Param
Type
Description
createDao(args, options) ⇒ Promise<TransactionResponse>
Promise<TransactionResponse>Param
Type
Description
configure(config) ⇒ void
voidParam
Type
Description
Last updated
Was this helpful?
