listProposals

Query all the proposals.

Usage

visionWeb.vs.listProposals();

Parameters

No need to pass parameters.

Returns

Object Array.

Example

visionWeb.vs.listProposals();
> [
  {
    proposal_id: 1,
    proposer_address: '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
    parameters: [ [Object] ],
    expiration_time: 1614528000000,
    create_time: 1606997856000,
    approvals: [
      '4653cd48c2723cb985679f4e44d99c64d22d89f41d',
      '46555e131d1c696677972a81bd86ff9975fd3b4792',
      '461d65a491b4e3f15174c4023ce9560018f7a985bb',
    ],
    state: 'APPROVED'
  },
]