Documentation
¶
Overview ¶
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Access API * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- type Account
- type AccountBalance
- type AccountExpandable
- type AccountKeys
- type AccountPublicKey
- type AccountPublicKeys
- type CompatibleRange
- type HashingAlgorithm
- type InlineResponse200
- type NetworkParameters
- type NodeVersionInfo
- type OneOfBlockHeight
- type ScriptsBody
- type SigningAlgorithm
- type TransactionResultExpandable
- type TransactionsBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Address string `json:"address"` // Flow balance of the account. Balance string `json:"balance"` Keys []AccountPublicKey `json:"keys,omitempty"` Contracts map[string]string `json:"contracts,omitempty"` Expandable *AccountExpandable `json:"_expandable"` Links *models.Links `json:"_links,omitempty"` }
type AccountBalance ¶
type AccountBalance struct { // Flow balance of the account. Balance string `json:"balance"` }
func (*AccountBalance) Build ¶
func (b *AccountBalance) Build(balance uint64)
type AccountExpandable ¶
type AccountKeys ¶
type AccountKeys []AccountPublicKey
func (*AccountKeys) Build ¶
func (a *AccountKeys) Build(accountKeys []flow.AccountPublicKey)
type AccountPublicKey ¶
type AccountPublicKey struct { // Index of the public key. Index string `json:"index"` // Hex encoded public key. PublicKey string `json:"public_key"` SigningAlgorithm *SigningAlgorithm `json:"signing_algorithm"` HashingAlgorithm *HashingAlgorithm `json:"hashing_algorithm"` // Current account sequence number. SequenceNumber string `json:"sequence_number"` // Weight of the key. Weight string `json:"weight"` // Flag indicating whether the key is active or not. Revoked bool `json:"revoked"` }
func (*AccountPublicKey) Build ¶
func (a *AccountPublicKey) Build(k flow.AccountPublicKey)
type AccountPublicKeys ¶
type AccountPublicKeys struct {
Keys []AccountPublicKey `json:"keys"`
}
func (*AccountPublicKeys) Build ¶
func (a *AccountPublicKeys) Build(accountKeys []flow.AccountPublicKey)
Build function use model AccountPublicKeys type for GetAccountKeys call AccountPublicKeys is an auto-generated type from the openapi spec
type CompatibleRange ¶
type CompatibleRange struct { StartHeight string `json:"start_height"` EndHeight string `json:"end_height"` }
A compatible version range.
type HashingAlgorithm ¶
type HashingAlgorithm string
const ( SHA2_256_HashingAlgorithm HashingAlgorithm = "SHA2_256" SHA2_384_HashingAlgorithm HashingAlgorithm = "SHA2_384" SHA3_256_HashingAlgorithm HashingAlgorithm = "SHA3_256" SHA3_384_HashingAlgorithm HashingAlgorithm = "SHA3_384" KMAC128_HashingAlgorithm HashingAlgorithm = "KMAC128" )
List of HashingAlgorithm
type InlineResponse200 ¶
type InlineResponse200 struct {
Value string `json:"value,omitempty"`
}
type NetworkParameters ¶
type NetworkParameters struct {
ChainId string `json:"chain_id"`
}
func (*NetworkParameters) Build ¶
func (t *NetworkParameters) Build(params *access.NetworkParameters)
type NodeVersionInfo ¶
type NodeVersionInfo struct { Semver string `json:"semver"` Commit string `json:"commit"` SporkId string `json:"spork_id"` ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` CompatibleRange *CompatibleRange `json:"compatible_range,omitempty"` }
func (*NodeVersionInfo) Build ¶
func (t *NodeVersionInfo) Build(params *access.NodeVersionInfo)
type OneOfBlockHeight ¶
type OneOfBlockHeight struct { }
type ScriptsBody ¶
type ScriptsBody struct { // Base64 encoded content of the Cadence script. Script string `json:"script,omitempty"` // An array containing arguments each encoded as Base64 passed in the [JSON-Cadence interchange format](https://docs.onflow.org/cadence/json-cadence-spec/). Arguments []string `json:"arguments,omitempty"` }
type SigningAlgorithm ¶
type SigningAlgorithm string
const ( BLSBLS12381_SigningAlgorithm SigningAlgorithm = "BLSBLS12381" ECDSAP256_SigningAlgorithm SigningAlgorithm = "ECDSAP256" ECDSA_SECP256K1_SigningAlgorithm SigningAlgorithm = "ECDSASecp256k1" )
List of SigningAlgorithm
type TransactionResultExpandable ¶
type TransactionResultExpandable struct {
Events string `json:"events,omitempty"`
}
type TransactionsBody ¶
type TransactionsBody struct { // Base64 encoded content of the Cadence script. Script string `json:"script"` // An array containing arguments each encoded as Base64 passed in the [JSON-Cadence interchange format](https://docs.onflow.org/cadence/json-cadence-spec/). Arguments []string `json:"arguments"` ReferenceBlockId string `json:"reference_block_id"` // The limit on the amount of computation a transaction is allowed to preform. GasLimit string `json:"gas_limit"` Payer string `json:"payer"` ProposalKey *models.ProposalKey `json:"proposal_key"` Authorizers []string `json:"authorizers"` PayloadSignatures []models.TransactionSignature `json:"payload_signatures"` EnvelopeSignatures []models.TransactionSignature `json:"envelope_signatures"` }
Source Files
¶
- account.go
- model_account.go
- model_account__expandable.go
- model_account_balance.go
- model_account_public_key.go
- model_account_public_keys.go
- model_compatible_range.go
- model_hashing_algorithm.go
- model_inline_response_200.go
- model_network_parameters.go
- model_node_version_info.go
- model_one_of_block_height.go
- model_scripts_body.go
- model_signing_algorithm.go
- model_transaction_result__expandable.go
- model_transactions_body.go
- network.go
- node_version_info.go