Skip to content

Latest commit

History

History
84 lines (70 loc) 路 4.58 KB

README.md

File metadata and controls

84 lines (70 loc) 路 4.58 KB

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/

Class Method HTTP request Description
AccountsApi AccountsAddressGet Get /accounts/{address} Get an Account By Address
AccountsApi AccountsAddressKeysIndexGet Get /accounts/{address}/keys/{index} Get an individual Account Key By Address and Index
BlocksApi BlocksGet Get /blocks Gets Blocks by Height
BlocksApi BlocksIdGet Get /blocks/{id} Get Blocks by ID.
BlocksApi BlocksIdPayloadGet Get /blocks/{id}/payload Get Block Payload by Block ID.
CollectionsApi CollectionsIdGet Get /collections/{id} Gets a Collection by ID
EventsApi EventsGet Get /events Get Events
ExecutionResultsApi ExecutionResultsGet Get /execution_results Get Execution Results by Block ID
ExecutionResultsApi ExecutionResultsIdGet Get /execution_results/{id} Get Execution Result by ID
NetworkApi NetworkParametersGet Get /network/parameters Get Network Parameters
NodeVersionInfoApi NodeVersionInfoGet Get /node_version_info Get Node Version Information
ScriptsApi ScriptsPost Post /scripts Execute a Cadence Script
SubscribeEventsApi SubscribeEventsGet Get /subscribe_events Subscribe events
TransactionsApi TransactionResultsTransactionIdGet Get /transaction_results/{transaction_id} Get a Transaction Result by ID.
TransactionsApi TransactionsIdGet Get /transactions/{id} Get a Transaction by ID.
TransactionsApi TransactionsPost Post /transactions Submit a Transaction

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author