__________     __ __     __  _______    ________
  / ____/ __ \   / // /    / / / /  _/ |  / / ____/
 / / __/ / / /  / // /_   / /_/ // / | | / / __/
/ /_/ / /_/ /  /__  __/  / __  // /  | |/ / /___
\____/\____/     /_/    /_/ /_/___/  |___/_____/

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

VSC Mainnet API

BY: @techcoderx | CREATED: April 21, 2025, 3:45 p.m. | VOTES: 193 | PAYOUT: $8.80 | [ VOTE ]

[IMAGE: https://files.peakd.com/file/peakd-hive/techcoderx/23swcK52hh9CDVVJsojUdWqQPyg9zrofpnwKXqcujKUfkeWR194gotPPSYqjUGqqV66ao.png]

With the recent launch of VSC mainnet earlier this month, I'm announcing my new public VSC API endpoints for general use along with other related developments.

GraphQL Endpoint

This is the standard API endpoint that is part of go-vsc-node. There is an Apollo sandbox (pictured above) that anyone may experiment with, however take note that around half of the query methods are still WIP.

This endpoint was formerly known as vsc-graphql.techcoderx.com during the previous testnet.

Endpoint: https://vsc.techcoderx.com/api/v1/graphql
Sandbox UI: https://vsc.techcoderx.com/sandbox

VSC Blocks Backend

A new backend specific to VSC Blocks has been developed which provides the following services:

Contract Verifier

This verifies VSC contracts by compiling the uploaded contract source code and comparing the resulting output bytecode against the deployed contract bytecode. It supports AssemblyScript contracts at this moment with more languages to come.

[IMAGE: https://files.peakd.com/file/peakd-hive/techcoderx/23tGXT4Ui7nHSUqb7xoR2JUtQyGt4pgMrtYVScBZXagnXmTuZo857Lg2Zqroo8LKxtAPC.png] [IMAGE: https://files.peakd.com/file/peakd-hive/techcoderx/23t76pNE7U7EzG4xpUMPnWL1GXfJ3hJf3yXFRsP3pSpZ66vBwqaaMM7FzpaDEXRZkvdhS.png] [IMAGE: https://files.peakd.com/file/peakd-hive/techcoderx/23tbMTsR44n2x8XeCF96xQ3nbYqzyBhiWBKfJqiUGUpaMWc9MvYRRPqWCKrzbSUkwisBp.png] [IMAGE: https://files.peakd.com/file/peakd-hive/techcoderx/48FiDDfD4C46fQEscbiKVoRMFj7aACnGVK2UrgGSCYkMKsPMToCyu8K6DGKwieo4d1.png]

Indexer and REST API

The backend also indexes additional information on top of the VSC node database mostly for analytical purposes. This currently provides election/block participation rates, witness/bridge stats and sequential block numbers.

The API lives in https://vsc.techcoderx.com/be-api/v1 namespace, documentation to be made available here.

Contributions

Below are my contributions to go-vsc-node made in the last few weeks:

Enchancements

Bug fixes

New GraphQL query methods

TAGS: [ #vsc ] [ #graphql ] [ #node ] [ #server ] [ #dev ] [ #update ]

Replies

@apshamilton | April 21, 2025, 5:20 p.m. | Votes: 0 | [ VOTE ]

Great work!

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>