func (a *Client) GetWasmContractsContractAddress(params *GetWasmContractsContractAddressParams) (*GetWasmContractsContractAddressOK, error) {
	if params == nil {
		params = NewGetWasmContractsContractAddressParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetWasmContractsContractAddress",
		Method:             "GET",
		PathPattern:        "/wasm/contracts/{contractAddress}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetWasmContractsContractAddressReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetWasmContractsContractAddressOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetWasmContractsContractAddress: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
/*
GetWasmContractsContractAddress gets contract info of the contract address
package wasm
import (
	"fmt"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
type ClientService interface {
	GetWasmCodesCodeID(params *GetWasmCodesCodeIDParams) (*GetWasmCodesCodeIDOK, error)
	GetWasmContractsContractAddress(params *GetWasmContractsContractAddressParams) (*GetWasmContractsContractAddressOK, error)
	GetWasmContractsContractAddressStore(params *GetWasmContractsContractAddressStoreParams) (*GetWasmContractsContractAddressStoreOK, error)
	GetWasmContractsContractAddressStoreRaw(params *GetWasmContractsContractAddressStoreRawParams) (*GetWasmContractsContractAddressStoreRawOK, error)
	GetWasmParameters(params *GetWasmParametersParams) (*GetWasmParametersOK, error)
	PostWasmCodes(params *PostWasmCodesParams) (*PostWasmCodesOK, error)
	PostWasmCodesCodeID(params *PostWasmCodesCodeIDParams) (*PostWasmCodesCodeIDOK, error)
	PostWasmContractsContractAddress(params *PostWasmContractsContractAddressParams) (*PostWasmContractsContractAddressOK, error)
	PostWasmContractsContractAddressMigrate(params *PostWasmContractsContractAddressMigrateParams) (*PostWasmContractsContractAddressMigrateOK, error)
	PostWasmContractsContractAddressOwner(params *PostWasmContractsContractAddressOwnerParams) (*PostWasmContractsContractAddressOwnerOK, error)
	SetTransport(transport runtime.ClientTransport)
}
func (a *Client) GetWasmCodesCodeID(params *GetWasmCodesCodeIDParams) (*GetWasmCodesCodeIDOK, error) {
	if params == nil {
		params = NewGetWasmCodesCodeIDParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetWasmCodesCodeID",
		Method:             "GET",
		PathPattern:        "/wasm/codes/{codeID}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetWasmCodesCodeIDReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetWasmCodesCodeIDOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetWasmCodesCodeID: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}