Documentation ¶
Overview ¶
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* kwil/tx/v1/account.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type BasicAuth
- type Configuration
- type ExtensionsExtensionConfig
- type GenericSwaggerError
- type RpcStatus
- type TxAccount
- type TxAccountStatus
- type TxAction
- type TxAttribute
- type TxBroadcastRequest
- type TxBroadcastResponse
- type TxBroadcastSync
- type TxCallRequest
- type TxCallRequestBody
- type TxCallResponse
- type TxChainInfoResponse
- type TxColumn
- type TxDatasetInfo
- type TxEstimatePriceRequest
- type TxEstimatePriceResponse
- type TxExtensions
- type TxForeignKey
- type TxForeignKeyAction
- type TxGetAccountResponse
- type TxGetConfigResponse
- type TxGetSchemaResponse
- type TxIndex
- type TxListDatabasesResponse
- type TxNodeInfoResponse
- type TxPingResponse
- type TxQueryRequest
- type TxQueryResponse
- type TxSchema
- type TxServiceApiService
- func (a *TxServiceApiService) TxServiceBroadcast(ctx context.Context, body TxBroadcastRequest) (TxBroadcastResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceCall(ctx context.Context, body TxCallRequest) (TxCallResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceChainInfo(ctx context.Context) (TxChainInfoResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceEstimatePrice(ctx context.Context, body TxEstimatePriceRequest) (TxEstimatePriceResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceGetAccount(ctx context.Context, identifier string, ...) (TxGetAccountResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceGetConfig(ctx context.Context) (TxGetConfigResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceGetSchema(ctx context.Context, dbid string) (TxGetSchemaResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceListDatabases(ctx context.Context, owner string) (TxListDatabasesResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServicePing(ctx context.Context, localVarOptionals *TxServiceApiTxServicePingOpts) (TxPingResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceQuery(ctx context.Context, body TxQueryRequest) (TxQueryResponse, *http.Response, error)
- func (a *TxServiceApiService) TxServiceTxQuery(ctx context.Context, body TxTxQueryRequest) (TxTxQueryResponse, *http.Response, error)
- type TxServiceApiTxServiceGetAccountOpts
- type TxServiceApiTxServicePingOpts
- type TxSignature
- type TxTable
- type TxTransaction
- type TxTransactionBody
- type TxTransactionResult
- type TxTxQueryRequest
- type TxTxQueryResponse
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { TxServiceApi *TxServiceApiService // contains filtered or unexported fields }
APIClient manages communication with the kwil/tx/v1/account.proto API vversion not set In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type TxAccountStatus ¶
type TxAccountStatus string
const ( LATEST_TxAccountStatus TxAccountStatus = "latest" PENDING_TxAccountStatus TxAccountStatus = "pending" )
List of txAccountStatus
type TxAction ¶
type TxAction struct { Name string `json:"name,omitempty"` Public bool `json:"public,omitempty"` Inputs []string `json:"inputs,omitempty"` Statements []string `json:"statements,omitempty"` Mutability string `json:"mutability,omitempty"` Auxiliaries []string `json:"auxiliaries,omitempty"` Annotations []string `json:"annotations,omitempty"` }
type TxAttribute ¶
type TxBroadcastRequest ¶
type TxBroadcastRequest struct { Tx *TxTransaction `json:"tx,omitempty"` Sync *TxBroadcastSync `json:"sync,omitempty"` }
type TxBroadcastResponse ¶
type TxBroadcastResponse struct {
TxHash string `json:"tx_hash,omitempty"`
}
type TxBroadcastSync ¶
type TxBroadcastSync string
const ( ASYNC_TxBroadcastSync TxBroadcastSync = "async" SYNC_TxBroadcastSync TxBroadcastSync = "sync" COMMIT_TxBroadcastSync TxBroadcastSync = "commit" )
List of txBroadcastSync
type TxCallRequest ¶
type TxCallRequest struct { Body *TxCallRequestBody `json:"body,omitempty"` // auth_type is the type of authenticator that will be used to derive identifier from the sender. AuthType string `json:"auth_type,omitempty"` Sender string `json:"sender,omitempty"` }
type TxCallRequestBody ¶
type TxCallRequestBody struct {
Payload string `json:"payload,omitempty"`
}
type TxCallResponse ¶
type TxCallResponse struct {
Result string `json:"result,omitempty"`
}
type TxChainInfoResponse ¶
type TxColumn ¶
type TxColumn struct { Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Attributes []TxAttribute `json:"attributes,omitempty"` }
type TxDatasetInfo ¶
type TxEstimatePriceRequest ¶
type TxEstimatePriceRequest struct {
Tx *TxTransaction `json:"tx,omitempty"`
}
type TxEstimatePriceResponse ¶
type TxEstimatePriceResponse struct {
Price string `json:"price,omitempty"`
}
type TxExtensions ¶
type TxExtensions struct { Name string `json:"name,omitempty"` Initialization []ExtensionsExtensionConfig `json:"initialization,omitempty"` Alias string `json:"alias,omitempty"` }
type TxForeignKey ¶
type TxForeignKey struct { ChildKeys []string `json:"child_keys,omitempty"` ParentKeys []string `json:"parent_keys,omitempty"` ParentTable string `json:"parent_table,omitempty"` Actions []TxForeignKeyAction `json:"actions,omitempty"` }
type TxForeignKeyAction ¶
type TxGetAccountResponse ¶
type TxGetAccountResponse struct {
Account *TxAccount `json:"account,omitempty"`
}
type TxGetConfigResponse ¶
type TxGetSchemaResponse ¶
type TxGetSchemaResponse struct {
Schema *TxSchema `json:"schema,omitempty"`
}
type TxListDatabasesResponse ¶
type TxListDatabasesResponse struct {
Databases []TxDatasetInfo `json:"databases,omitempty"`
}
type TxNodeInfoResponse ¶
type TxNodeInfoResponse struct { NodeId string `json:"node_id,omitempty"` PublicKey string `json:"public_key,omitempty"` P2pAddress string `json:"p2p_address,omitempty"` }
NodeInfoResponse is a node's information.
type TxPingResponse ¶
type TxPingResponse struct {
Message string `json:"message,omitempty"`
}
type TxQueryRequest ¶
type TxQueryResponse ¶
type TxQueryResponse struct {
Result string `json:"result,omitempty"`
}
type TxSchema ¶
type TxSchema struct { Owner string `json:"owner,omitempty"` Name string `json:"name,omitempty"` Tables []TxTable `json:"tables,omitempty"` Actions []TxAction `json:"actions,omitempty"` Extensions []TxExtensions `json:"extensions,omitempty"` }
type TxServiceApiService ¶
type TxServiceApiService service
func (*TxServiceApiService) TxServiceBroadcast ¶
func (a *TxServiceApiService) TxServiceBroadcast(ctx context.Context, body TxBroadcastRequest) (TxBroadcastResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TxBroadcastResponse
func (*TxServiceApiService) TxServiceCall ¶
func (a *TxServiceApiService) TxServiceCall(ctx context.Context, body TxCallRequest) (TxCallResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TxCallResponse
func (*TxServiceApiService) TxServiceChainInfo ¶
func (a *TxServiceApiService) TxServiceChainInfo(ctx context.Context) (TxChainInfoResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TxChainInfoResponse
func (*TxServiceApiService) TxServiceEstimatePrice ¶
func (a *TxServiceApiService) TxServiceEstimatePrice(ctx context.Context, body TxEstimatePriceRequest) (TxEstimatePriceResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TxEstimatePriceResponse
func (*TxServiceApiService) TxServiceGetAccount ¶
func (a *TxServiceApiService) TxServiceGetAccount(ctx context.Context, identifier string, localVarOptionals *TxServiceApiTxServiceGetAccountOpts) (TxGetAccountResponse, *http.Response, error)
func (*TxServiceApiService) TxServiceGetConfig ¶
func (a *TxServiceApiService) TxServiceGetConfig(ctx context.Context) (TxGetConfigResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return TxGetConfigResponse
func (*TxServiceApiService) TxServiceGetSchema ¶
func (a *TxServiceApiService) TxServiceGetSchema(ctx context.Context, dbid string) (TxGetSchemaResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param dbid
@return TxGetSchemaResponse
func (*TxServiceApiService) TxServiceListDatabases ¶
func (a *TxServiceApiService) TxServiceListDatabases(ctx context.Context, owner string) (TxListDatabasesResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param owner
@return TxListDatabasesResponse
func (*TxServiceApiService) TxServicePing ¶
func (a *TxServiceApiService) TxServicePing(ctx context.Context, localVarOptionals *TxServiceApiTxServicePingOpts) (TxPingResponse, *http.Response, error)
func (*TxServiceApiService) TxServiceQuery ¶
func (a *TxServiceApiService) TxServiceQuery(ctx context.Context, body TxQueryRequest) (TxQueryResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TxQueryResponse
func (*TxServiceApiService) TxServiceTxQuery ¶
func (a *TxServiceApiService) TxServiceTxQuery(ctx context.Context, body TxTxQueryRequest) (TxTxQueryResponse, *http.Response, error)
TxServiceApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return TxTxQueryResponse
type TxSignature ¶
type TxTable ¶
type TxTable struct { Name string `json:"name,omitempty"` Columns []TxColumn `json:"columns,omitempty"` Indexes []TxIndex `json:"indexes,omitempty"` ForeignKeys []TxForeignKey `json:"foreign_keys,omitempty"` }
type TxTransaction ¶
type TxTransaction struct { Body *TxTransactionBody `json:"body,omitempty"` Signature *TxSignature `json:"signature,omitempty"` Sender string `json:"sender,omitempty"` Serialization string `json:"serialization,omitempty"` }
type TxTransactionBody ¶
type TxTransactionResult ¶
type TxTransactionResult struct { Code int64 `json:"code,omitempty"` Log string `json:"log,omitempty"` GasUsed string `json:"gas_used,omitempty"` GasWanted string `json:"gas_wanted,omitempty"` // Data contains the output of the transaction. Data string `json:"data,omitempty"` Events []string `json:"events,omitempty"` }
type TxTxQueryRequest ¶
type TxTxQueryRequest struct {
TxHash string `json:"tx_hash,omitempty"`
}
type TxTxQueryResponse ¶
type TxTxQueryResponse struct { Hash string `json:"hash,omitempty"` Height string `json:"height,omitempty"` Tx *TxTransaction `json:"tx,omitempty"` TxResult *TxTransactionResult `json:"tx_result,omitempty"` }
Source Files ¶
- api_tx_service.go
- client.go
- configuration.go
- model_extensions_extension_config.go
- model_rpc_status.go
- model_tx_account.go
- model_tx_account_status.go
- model_tx_action.go
- model_tx_attribute.go
- model_tx_broadcast_request.go
- model_tx_broadcast_response.go
- model_tx_broadcast_sync.go
- model_tx_call_request.go
- model_tx_call_request_body.go
- model_tx_call_response.go
- model_tx_chain_info_response.go
- model_tx_column.go
- model_tx_dataset_info.go
- model_tx_estimate_price_request.go
- model_tx_estimate_price_response.go
- model_tx_extensions.go
- model_tx_foreign_key.go
- model_tx_foreign_key_action.go
- model_tx_get_account_response.go
- model_tx_get_config_response.go
- model_tx_get_schema_response.go
- model_tx_index.go
- model_tx_list_databases_response.go
- model_tx_node_info_response.go
- model_tx_ping_response.go
- model_tx_query_request.go
- model_tx_query_response.go
- model_tx_schema.go
- model_tx_signature.go
- model_tx_table.go
- model_tx_transaction.go
- model_tx_transaction_body.go
- model_tx_transaction_result.go
- model_tx_tx_query_request.go
- model_tx_tx_query_response.go
- response.go