Protokol
  • Introduction To Digital Assets
  • Tutorials
    • How To Create Digital Assets
    • How To Trade Digital Assets
  • ARK CORE MODULES
    • NFT
      • Development
      • Complementary Examples
        • Base
        • Exchange
      • API Endpoints
        • Assets
        • Burns
        • Collections
        • Transfers
        • Base Configurations
        • Auctions
        • Bids
        • Trades
        • Exchange Configurations
    • Guardian
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Groups
        • Users
    • Nameservice
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Nameservice
    • Voting
      • Development
      • Complementary Examples
      • API Endpoints
        • Configurations
        • Create Proposal
        • Cast Vote
        • Statistics
  • Protokol Templates
    • Core Starter Kit
    • Solidity Typescript Hardhat
    • Nestjs
Powered by GitBook
On this page

Was this helpful?

  1. ARK CORE MODULES
  2. Voting
  3. API Endpoints

Configurations

Voting Configurations Endpoints.

/configurations

GET http://localhost:4003/api/voting/configurations

Returns configurations for voting core plugins.

{
  "data": {
    "api": {
      "packageName": "@protokol/voting-api",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    },
    "transactions": {
      "packageName": "@protokol/voting-transactions",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    },
    "crypto": {
      "packageName": "@protokol/voting-crypto",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    }
  }
}

Curl Example

curl http://localhost:4003/api/voting/configurations
PreviousAPI EndpointsNextCreate Proposal

Last updated 3 years ago

Was this helpful?