package
0.0.0-20241018170450-2e19a7b365b3
Repository: https://github.com/andriidiachuk/flow.git
Documentation: pkg.go.dev

# README

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://rest-canary.onflow.org/v1/

ClassMethodHTTP requestDescription
AccountsApiAccountsAddressGetGet /accounts/{address}Get an Account By Address
AccountsApiAccountsAddressKeysIndexGetGet /accounts/{address}/keys/{index}Get an individual Account Key By Address and Index
BlocksApiBlocksGetGet /blocksGets Blocks by Height
BlocksApiBlocksIdGetGet /blocks/{id}Get Blocks by ID.
BlocksApiBlocksIdPayloadGetGet /blocks/{id}/payloadGet Block Payload by Block ID.
CollectionsApiCollectionsIdGetGet /collections/{id}Gets a Collection by ID
EventsApiEventsGetGet /eventsGet Events
ExecutionResultsApiExecutionResultsGetGet /execution_resultsGet Execution Results by Block ID
ExecutionResultsApiExecutionResultsIdGetGet /execution_results/{id}Get Execution Result by ID
NetworkApiNetworkParametersGetGet /network/parametersGet Network Parameters
NodeVersionInfoApiNodeVersionInfoGetGet /node_version_infoGet Node Version Information
ScriptsApiScriptsPostPost /scriptsExecute a Cadence Script
SubscribeEventsApiSubscribeEventsGetGet /subscribe_eventsSubscribe events
TransactionsApiTransactionResultsTransactionIdGetGet /transaction_results/{transaction_id}Get a Transaction Result by ID.
TransactionsApiTransactionsIdGetGet /transactions/{id}Get a Transaction by ID.
TransactionsApiTransactionsPostPost /transactionsSubmit a Transaction

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author