avm.buildGenesis

Given a JSON representation of this Virtual Machine's genesis state, create the byte representation of that state.

❗️

Endpoint Down

Our providers are working to get this provider up and running. We will support this endpoint when it is back up!

Parameters

  • networkID: Integer

    • REQUIRED. The ID of the network.
  • genesisData: JSON

    • REQUIRED. A JSON representing the genesis data.
  • encoding: String

    • The encoding format. Can be either cb58 or hex. Defaults to cb58.

Response

  • bytes: String

    • Genesis byte data.
  • encoding: String

    • The encoding format to use. Can be either cb58 or hex. Defaults to cb58.
Language
Authorization
Header
Click Try It! to start a request and see the response here!