No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
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
Put the package under your project folder and add the following in import:
import "./swagger"
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 |
- Account
- AccountExpandable
- AccountPublicKey
- AggregatedSignature
- Block
- BlockEvents
- BlockExpandable
- BlockHeader
- BlockHeight
- BlockPayload
- BlockSeal
- Chunk
- Collection
- CollectionExpandable
- CollectionGuarantee
- Event
- ExecutionResult
- HashingAlgorithm
- InlineResponse200
- Links
- ModelError
- NetworkParameters
- NodeVersionInfo
- ProposalKey
- ScriptsBody
- SigningAlgorithm
- SubscribeEvents
- Transaction
- TransactionExecution
- TransactionExpandable
- TransactionResult
- TransactionSignature
- TransactionStatus
- TransactionsBody
Endpoints do not require authorization.