Documentation
¶
Index ¶
- Constants
- func NewGnoNativeServiceHandler(svc GnoNativeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type GnoNativeServiceClient
- type GnoNativeServiceHandler
- type UnimplementedGnoNativeServiceHandler
- func (UnimplementedGnoNativeServiceHandler) ActivateAccount(context.Context, *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) AddressFromBech32(context.Context, *connect.Request[_go.AddressFromBech32Request]) (*connect.Response[_go.AddressFromBech32Response], error)
- func (UnimplementedGnoNativeServiceHandler) AddressFromMnemonic(context.Context, *connect.Request[_go.AddressFromMnemonicRequest]) (*connect.Response[_go.AddressFromMnemonicResponse], error)
- func (UnimplementedGnoNativeServiceHandler) AddressToBech32(context.Context, *connect.Request[_go.AddressToBech32Request]) (*connect.Response[_go.AddressToBech32Response], error)
- func (UnimplementedGnoNativeServiceHandler) BroadcastTxCommit(context.Context, *connect.Request[_go.BroadcastTxCommitRequest], ...) error
- func (UnimplementedGnoNativeServiceHandler) Call(context.Context, *connect.Request[_go.CallRequest], ...) error
- func (UnimplementedGnoNativeServiceHandler) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) DeleteAccount(context.Context, *connect.Request[_go.DeleteAccountRequest]) (*connect.Response[_go.DeleteAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GenerateRecoveryPhrase(context.Context, *connect.Request[_go.GenerateRecoveryPhraseRequest]) (*connect.Response[_go.GenerateRecoveryPhraseResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetActivatedAccount(context.Context, *connect.Request[_go.GetActivatedAccountRequest]) (*connect.Response[_go.GetActivatedAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetActiveAccount(context.Context, *connect.Request[_go.GetActiveAccountRequest]) (*connect.Response[_go.GetActiveAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetChainID(context.Context, *connect.Request[_go.GetChainIDRequest]) (*connect.Response[_go.GetChainIDResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByAddress(context.Context, *connect.Request[_go.GetKeyInfoByAddressRequest]) (*connect.Response[_go.GetKeyInfoByAddressResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByName(context.Context, *connect.Request[_go.GetKeyInfoByNameRequest]) (*connect.Response[_go.GetKeyInfoByNameResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error)
- func (UnimplementedGnoNativeServiceHandler) GetRemote(context.Context, *connect.Request[_go.GetRemoteRequest]) (*connect.Response[_go.GetRemoteResponse], error)
- func (UnimplementedGnoNativeServiceHandler) HasKeyByAddress(context.Context, *connect.Request[_go.HasKeyByAddressRequest]) (*connect.Response[_go.HasKeyByAddressResponse], error)
- func (UnimplementedGnoNativeServiceHandler) HasKeyByName(context.Context, *connect.Request[_go.HasKeyByNameRequest]) (*connect.Response[_go.HasKeyByNameResponse], error)
- func (UnimplementedGnoNativeServiceHandler) HasKeyByNameOrAddress(context.Context, *connect.Request[_go.HasKeyByNameOrAddressRequest]) (*connect.Response[_go.HasKeyByNameOrAddressResponse], error)
- func (UnimplementedGnoNativeServiceHandler) Hello(context.Context, *connect.Request[_go.HelloRequest]) (*connect.Response[_go.HelloResponse], error)
- func (UnimplementedGnoNativeServiceHandler) HelloStream(context.Context, *connect.Request[_go.HelloStreamRequest], ...) error
- func (UnimplementedGnoNativeServiceHandler) ListKeyInfo(context.Context, *connect.Request[_go.ListKeyInfoRequest]) (*connect.Response[_go.ListKeyInfoResponse], error)
- func (UnimplementedGnoNativeServiceHandler) MakeCallTx(context.Context, *connect.Request[_go.CallRequest]) (*connect.Response[_go.MakeTxResponse], error)
- func (UnimplementedGnoNativeServiceHandler) MakeRunTx(context.Context, *connect.Request[_go.RunRequest]) (*connect.Response[_go.MakeTxResponse], error)
- func (UnimplementedGnoNativeServiceHandler) MakeSendTx(context.Context, *connect.Request[_go.SendRequest]) (*connect.Response[_go.MakeTxResponse], error)
- func (UnimplementedGnoNativeServiceHandler) QEval(context.Context, *connect.Request[_go.QEvalRequest]) (*connect.Response[_go.QEvalResponse], error)
- func (UnimplementedGnoNativeServiceHandler) Query(context.Context, *connect.Request[_go.QueryRequest]) (*connect.Response[_go.QueryResponse], error)
- func (UnimplementedGnoNativeServiceHandler) QueryAccount(context.Context, *connect.Request[_go.QueryAccountRequest]) (*connect.Response[_go.QueryAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) Render(context.Context, *connect.Request[_go.RenderRequest]) (*connect.Response[_go.RenderResponse], error)
- func (UnimplementedGnoNativeServiceHandler) Run(context.Context, *connect.Request[_go.RunRequest], ...) error
- func (UnimplementedGnoNativeServiceHandler) SelectAccount(context.Context, *connect.Request[_go.SelectAccountRequest]) (*connect.Response[_go.SelectAccountResponse], error)
- func (UnimplementedGnoNativeServiceHandler) Send(context.Context, *connect.Request[_go.SendRequest], ...) error
- func (UnimplementedGnoNativeServiceHandler) SetChainID(context.Context, *connect.Request[_go.SetChainIDRequest]) (*connect.Response[_go.SetChainIDResponse], error)
- func (UnimplementedGnoNativeServiceHandler) SetPassword(context.Context, *connect.Request[_go.SetPasswordRequest]) (*connect.Response[_go.SetPasswordResponse], error)
- func (UnimplementedGnoNativeServiceHandler) SetRemote(context.Context, *connect.Request[_go.SetRemoteRequest]) (*connect.Response[_go.SetRemoteResponse], error)
- func (UnimplementedGnoNativeServiceHandler) SignTx(context.Context, *connect.Request[_go.SignTxRequest]) (*connect.Response[_go.SignTxResponse], error)
- func (UnimplementedGnoNativeServiceHandler) UpdatePassword(context.Context, *connect.Request[_go.UpdatePasswordRequest]) (*connect.Response[_go.UpdatePasswordResponse], error)
Constants ¶
const ( // GnoNativeServiceSetRemoteProcedure is the fully-qualified name of the GnoNativeService's // SetRemote RPC. GnoNativeServiceSetRemoteProcedure = "/land.gno.gnonative.v1.GnoNativeService/SetRemote" // GnoNativeServiceGetRemoteProcedure is the fully-qualified name of the GnoNativeService's // GetRemote RPC. GnoNativeServiceGetRemoteProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetRemote" // GnoNativeServiceSetChainIDProcedure is the fully-qualified name of the GnoNativeService's // SetChainID RPC. GnoNativeServiceSetChainIDProcedure = "/land.gno.gnonative.v1.GnoNativeService/SetChainID" // GnoNativeServiceGetChainIDProcedure is the fully-qualified name of the GnoNativeService's // GetChainID RPC. GnoNativeServiceGetChainIDProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetChainID" // GnoNativeServiceGenerateRecoveryPhraseProcedure is the fully-qualified name of the // GnoNativeService's GenerateRecoveryPhrase RPC. GnoNativeServiceGenerateRecoveryPhraseProcedure = "/land.gno.gnonative.v1.GnoNativeService/GenerateRecoveryPhrase" // GnoNativeServiceListKeyInfoProcedure is the fully-qualified name of the GnoNativeService's // ListKeyInfo RPC. GnoNativeServiceListKeyInfoProcedure = "/land.gno.gnonative.v1.GnoNativeService/ListKeyInfo" // GnoNativeServiceHasKeyByNameProcedure is the fully-qualified name of the GnoNativeService's // HasKeyByName RPC. GnoNativeServiceHasKeyByNameProcedure = "/land.gno.gnonative.v1.GnoNativeService/HasKeyByName" // GnoNativeServiceHasKeyByAddressProcedure is the fully-qualified name of the GnoNativeService's // HasKeyByAddress RPC. GnoNativeServiceHasKeyByAddressProcedure = "/land.gno.gnonative.v1.GnoNativeService/HasKeyByAddress" // GnoNativeServiceHasKeyByNameOrAddressProcedure is the fully-qualified name of the // GnoNativeService's HasKeyByNameOrAddress RPC. GnoNativeServiceHasKeyByNameOrAddressProcedure = "/land.gno.gnonative.v1.GnoNativeService/HasKeyByNameOrAddress" // GnoNativeServiceGetKeyInfoByNameProcedure is the fully-qualified name of the GnoNativeService's // GetKeyInfoByName RPC. GnoNativeServiceGetKeyInfoByNameProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetKeyInfoByName" // GnoNativeServiceGetKeyInfoByAddressProcedure is the fully-qualified name of the // GnoNativeService's GetKeyInfoByAddress RPC. GnoNativeServiceGetKeyInfoByAddressProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetKeyInfoByAddress" // GnoNativeServiceGetKeyInfoByNameOrAddressProcedure is the fully-qualified name of the // GnoNativeService's GetKeyInfoByNameOrAddress RPC. GnoNativeServiceGetKeyInfoByNameOrAddressProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetKeyInfoByNameOrAddress" // GnoNativeServiceCreateAccountProcedure is the fully-qualified name of the GnoNativeService's // CreateAccount RPC. GnoNativeServiceCreateAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/CreateAccount" // GnoNativeServiceSelectAccountProcedure is the fully-qualified name of the GnoNativeService's // SelectAccount RPC. GnoNativeServiceSelectAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/SelectAccount" // GnoNativeServiceActivateAccountProcedure is the fully-qualified name of the GnoNativeService's // ActivateAccount RPC. GnoNativeServiceActivateAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/ActivateAccount" // GnoNativeServiceSetPasswordProcedure is the fully-qualified name of the GnoNativeService's // SetPassword RPC. GnoNativeServiceSetPasswordProcedure = "/land.gno.gnonative.v1.GnoNativeService/SetPassword" // GnoNativeServiceUpdatePasswordProcedure is the fully-qualified name of the GnoNativeService's // UpdatePassword RPC. GnoNativeServiceUpdatePasswordProcedure = "/land.gno.gnonative.v1.GnoNativeService/UpdatePassword" // GnoNativeServiceGetActiveAccountProcedure is the fully-qualified name of the GnoNativeService's // GetActiveAccount RPC. GnoNativeServiceGetActiveAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetActiveAccount" // GnoNativeServiceGetActivatedAccountProcedure is the fully-qualified name of the // GnoNativeService's GetActivatedAccount RPC. GnoNativeServiceGetActivatedAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/GetActivatedAccount" // GnoNativeServiceQueryAccountProcedure is the fully-qualified name of the GnoNativeService's // QueryAccount RPC. GnoNativeServiceQueryAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/QueryAccount" // GnoNativeServiceDeleteAccountProcedure is the fully-qualified name of the GnoNativeService's // DeleteAccount RPC. GnoNativeServiceDeleteAccountProcedure = "/land.gno.gnonative.v1.GnoNativeService/DeleteAccount" // GnoNativeServiceQueryProcedure is the fully-qualified name of the GnoNativeService's Query RPC. GnoNativeServiceQueryProcedure = "/land.gno.gnonative.v1.GnoNativeService/Query" // GnoNativeServiceRenderProcedure is the fully-qualified name of the GnoNativeService's Render RPC. GnoNativeServiceRenderProcedure = "/land.gno.gnonative.v1.GnoNativeService/Render" // GnoNativeServiceQEvalProcedure is the fully-qualified name of the GnoNativeService's QEval RPC. GnoNativeServiceQEvalProcedure = "/land.gno.gnonative.v1.GnoNativeService/QEval" // GnoNativeServiceCallProcedure is the fully-qualified name of the GnoNativeService's Call RPC. GnoNativeServiceCallProcedure = "/land.gno.gnonative.v1.GnoNativeService/Call" // GnoNativeServiceSendProcedure is the fully-qualified name of the GnoNativeService's Send RPC. GnoNativeServiceSendProcedure = "/land.gno.gnonative.v1.GnoNativeService/Send" // GnoNativeServiceRunProcedure is the fully-qualified name of the GnoNativeService's Run RPC. GnoNativeServiceRunProcedure = "/land.gno.gnonative.v1.GnoNativeService/Run" // GnoNativeServiceMakeCallTxProcedure is the fully-qualified name of the GnoNativeService's // MakeCallTx RPC. GnoNativeServiceMakeCallTxProcedure = "/land.gno.gnonative.v1.GnoNativeService/MakeCallTx" // GnoNativeServiceMakeSendTxProcedure is the fully-qualified name of the GnoNativeService's // MakeSendTx RPC. GnoNativeServiceMakeSendTxProcedure = "/land.gno.gnonative.v1.GnoNativeService/MakeSendTx" // GnoNativeServiceMakeRunTxProcedure is the fully-qualified name of the GnoNativeService's // MakeRunTx RPC. GnoNativeServiceMakeRunTxProcedure = "/land.gno.gnonative.v1.GnoNativeService/MakeRunTx" // GnoNativeServiceSignTxProcedure is the fully-qualified name of the GnoNativeService's SignTx RPC. GnoNativeServiceSignTxProcedure = "/land.gno.gnonative.v1.GnoNativeService/SignTx" // GnoNativeServiceBroadcastTxCommitProcedure is the fully-qualified name of the GnoNativeService's // BroadcastTxCommit RPC. GnoNativeServiceBroadcastTxCommitProcedure = "/land.gno.gnonative.v1.GnoNativeService/BroadcastTxCommit" // GnoNativeServiceAddressToBech32Procedure is the fully-qualified name of the GnoNativeService's // AddressToBech32 RPC. GnoNativeServiceAddressToBech32Procedure = "/land.gno.gnonative.v1.GnoNativeService/AddressToBech32" // GnoNativeServiceAddressFromBech32Procedure is the fully-qualified name of the GnoNativeService's // AddressFromBech32 RPC. GnoNativeServiceAddressFromBech32Procedure = "/land.gno.gnonative.v1.GnoNativeService/AddressFromBech32" // GnoNativeServiceAddressFromMnemonicProcedure is the fully-qualified name of the // GnoNativeService's AddressFromMnemonic RPC. GnoNativeServiceAddressFromMnemonicProcedure = "/land.gno.gnonative.v1.GnoNativeService/AddressFromMnemonic" // GnoNativeServiceHelloProcedure is the fully-qualified name of the GnoNativeService's Hello RPC. GnoNativeServiceHelloProcedure = "/land.gno.gnonative.v1.GnoNativeService/Hello" // GnoNativeServiceHelloStreamProcedure is the fully-qualified name of the GnoNativeService's // HelloStream RPC. GnoNativeServiceHelloStreamProcedure = "/land.gno.gnonative.v1.GnoNativeService/HelloStream" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// GnoNativeServiceName is the fully-qualified name of the GnoNativeService service.
GnoNativeServiceName = "land.gno.gnonative.v1.GnoNativeService"
)
Variables ¶
This section is empty.
Functions ¶
func NewGnoNativeServiceHandler ¶
func NewGnoNativeServiceHandler(svc GnoNativeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewGnoNativeServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type GnoNativeServiceClient ¶
type GnoNativeServiceClient interface { // Set the connection address for the remote node. If you don't call this, // the default is "127.0.0.1:26657" SetRemote(context.Context, *connect.Request[_go.SetRemoteRequest]) (*connect.Response[_go.SetRemoteResponse], error) // Get the connection address for the remote node. The response is either // the initial default, or the value which was set with SetRemote GetRemote(context.Context, *connect.Request[_go.GetRemoteRequest]) (*connect.Response[_go.GetRemoteResponse], error) // Set the chain ID for the remote node. If you don't call this, the default // is "dev" SetChainID(context.Context, *connect.Request[_go.SetChainIDRequest]) (*connect.Response[_go.SetChainIDResponse], error) // Get the chain ID for the remote node. The response is either // the initial default, or the value which was set with SetChainID GetChainID(context.Context, *connect.Request[_go.GetChainIDRequest]) (*connect.Response[_go.GetChainIDResponse], error) // Generate a recovery phrase of BIP39 mnemonic words using entropy from the // crypto library random number generator. This can be used as the mnemonic in // CreateAccount. GenerateRecoveryPhrase(context.Context, *connect.Request[_go.GenerateRecoveryPhraseRequest]) (*connect.Response[_go.GenerateRecoveryPhraseResponse], error) // Get the information for all keys in the keybase ListKeyInfo(context.Context, *connect.Request[_go.ListKeyInfoRequest]) (*connect.Response[_go.ListKeyInfoResponse], error) // Check for the key in the keybase with the given name. // In the response, set has true if the keybase has the key. HasKeyByName(context.Context, *connect.Request[_go.HasKeyByNameRequest]) (*connect.Response[_go.HasKeyByNameResponse], error) // Check for the key in the keybase with the given address. // In the response, set has true if the keybase has the key. HasKeyByAddress(context.Context, *connect.Request[_go.HasKeyByAddressRequest]) (*connect.Response[_go.HasKeyByAddressResponse], error) // Check for the key in the keybase with the given name or bech32 string address. // In the response, set has true if the keybase has the key. HasKeyByNameOrAddress(context.Context, *connect.Request[_go.HasKeyByNameOrAddressRequest]) (*connect.Response[_go.HasKeyByNameOrAddressResponse], error) // Get the information for the key in the keybase with the given name. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByName(context.Context, *connect.Request[_go.GetKeyInfoByNameRequest]) (*connect.Response[_go.GetKeyInfoByNameResponse], error) // Get the information for the key in the keybase with the given address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByAddress(context.Context, *connect.Request[_go.GetKeyInfoByAddressRequest]) (*connect.Response[_go.GetKeyInfoByAddressResponse], error) // Get the information for the key in the keybase with the given name or bech32 string address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error) // Create a new account in the keybase using the name and password specified by SetAccount. // If an account with the same name already exists in the keybase, // this replaces it. (If you don't want to replace it, then it's your responsibility // to use GetKeyInfoByName to check if it exists before calling this.) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error) // SelectAccount selects the active account to use for later operations. If the response has_password is // false, then you should set the password before using a method which needs it. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. // DEPRECATED. Use ActivateAccount. SelectAccount(context.Context, *connect.Request[_go.SelectAccountRequest]) (*connect.Response[_go.SelectAccountResponse], error) // Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is // false, then you should call SetPassword before using a method which needs it. // If the account is already activated, return its info. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. ActivateAccount(context.Context, *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error) // Set the password for the account in the keybase with the given address. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. SetPassword(context.Context, *connect.Request[_go.SetPasswordRequest]) (*connect.Response[_go.SetPasswordResponse], error) // Update the keybase to use the new password for the account in the keybase with the given address. // Before calling this, you must call SetPassword with the current password. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. UpdatePassword(context.Context, *connect.Request[_go.UpdatePasswordRequest]) (*connect.Response[_go.UpdatePasswordResponse], error) // GetActiveAccount gets the active account which was set by SelectAccount. // If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // (To check if there is an active account, use ListKeyInfo and check the // length of the result.) // DEPRECATED: Use GetActivatedAccount. GetActiveAccount(context.Context, *connect.Request[_go.GetActiveAccountRequest]) (*connect.Response[_go.GetActiveAccountResponse], error) // GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount. // If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. GetActivatedAccount(context.Context, *connect.Request[_go.GetActivatedAccountRequest]) (*connect.Response[_go.GetActivatedAccountResponse], error) // QueryAccount retrieves account information from the blockchain for a given // address. QueryAccount(context.Context, *connect.Request[_go.QueryAccountRequest]) (*connect.Response[_go.QueryAccountResponse], error) // DeleteAccount deletes the account with the given name, using the password // to ensure access. However, if skip_password is true, then ignore the // password. // If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. DeleteAccount(context.Context, *connect.Request[_go.DeleteAccountRequest]) (*connect.Response[_go.DeleteAccountResponse], error) // Make an ABCI query to the remote node. // If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest. // If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. Query(context.Context, *connect.Request[_go.QueryRequest]) (*connect.Response[_go.QueryResponse], error) // Render calls the Render function for package_path with optional args. The // package path should include the prefix like "gno.land/". This is similar to // using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have // the prefix like "gno.land/". // If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. Render(context.Context, *connect.Request[_go.RenderRequest]) (*connect.Response[_go.RenderResponse], error) // QEval evaluates the given expression with the realm code at package_path. // The package path should include the prefix like "gno.land/". The expression // is usually a function call like "GetBoardIDFromName(\"testboard\")". The // return value is a typed expression like // "(1 gno.land/r/demo/boards.BoardID)\n(true bool)". // If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. QEval(context.Context, *connect.Request[_go.QEvalRequest]) (*connect.Response[_go.QEvalResponse], error) // Call a specific realm function. Sign the transaction with the given caller_address. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. // If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest. Call(context.Context, *connect.Request[_go.CallRequest]) (*connect.ServerStreamForClient[_go.CallResponse], error) // Send currency from the account with the given caller_address to an account on the blockchain. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. Send(context.Context, *connect.Request[_go.SendRequest]) (*connect.ServerStreamForClient[_go.SendResponse], error) // Temporarily load the code in package on the blockchain and run main() which can // call realm functions and use println() to output to the "console". Sign the transaction with the given caller_address. // This returns the "console" output. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. Run(context.Context, *connect.Request[_go.RunRequest]) (*connect.ServerStreamForClient[_go.RunResponse], error) // Make an unsigned transaction to call a specific realm function. MakeCallTx(context.Context, *connect.Request[_go.CallRequest]) (*connect.Response[_go.MakeTxResponse], error) // Make an unsigned transaction to send currency to an account on the blockchain. MakeSendTx(context.Context, *connect.Request[_go.SendRequest]) (*connect.Response[_go.MakeTxResponse], error) // Make an unsigned transaction to temporarily load the code in package on the blockchain and run main(). MakeRunTx(context.Context, *connect.Request[_go.RunRequest]) (*connect.Response[_go.MakeTxResponse], error) // Sign the transaction using the account with the given address. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. SignTx(context.Context, *connect.Request[_go.SignTxRequest]) (*connect.Response[_go.SignTxResponse], error) // Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result. BroadcastTxCommit(context.Context, *connect.Request[_go.BroadcastTxCommitRequest]) (*connect.ServerStreamForClient[_go.BroadcastTxCommitResponse], error) // Convert a byte array address to a bech32 string address. AddressToBech32(context.Context, *connect.Request[_go.AddressToBech32Request]) (*connect.Response[_go.AddressToBech32Response], error) // Convert a bech32 string address to a byte array address. AddressFromBech32(context.Context, *connect.Request[_go.AddressFromBech32Request]) (*connect.Response[_go.AddressFromBech32Response], error) // Convert a mnemonic (as in CreateAccount) to a byte array address. AddressFromMnemonic(context.Context, *connect.Request[_go.AddressFromMnemonicRequest]) (*connect.Response[_go.AddressFromMnemonicResponse], error) // Hello is for debug purposes Hello(context.Context, *connect.Request[_go.HelloRequest]) (*connect.Response[_go.HelloResponse], error) // HelloStream is for debug purposes HelloStream(context.Context, *connect.Request[_go.HelloStreamRequest]) (*connect.ServerStreamForClient[_go.HelloStreamResponse], error) }
GnoNativeServiceClient is a client for the land.gno.gnonative.v1.GnoNativeService service.
func NewGnoNativeServiceClient ¶
func NewGnoNativeServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) GnoNativeServiceClient
NewGnoNativeServiceClient constructs a client for the land.gno.gnonative.v1.GnoNativeService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type GnoNativeServiceHandler ¶
type GnoNativeServiceHandler interface { // Set the connection address for the remote node. If you don't call this, // the default is "127.0.0.1:26657" SetRemote(context.Context, *connect.Request[_go.SetRemoteRequest]) (*connect.Response[_go.SetRemoteResponse], error) // Get the connection address for the remote node. The response is either // the initial default, or the value which was set with SetRemote GetRemote(context.Context, *connect.Request[_go.GetRemoteRequest]) (*connect.Response[_go.GetRemoteResponse], error) // Set the chain ID for the remote node. If you don't call this, the default // is "dev" SetChainID(context.Context, *connect.Request[_go.SetChainIDRequest]) (*connect.Response[_go.SetChainIDResponse], error) // Get the chain ID for the remote node. The response is either // the initial default, or the value which was set with SetChainID GetChainID(context.Context, *connect.Request[_go.GetChainIDRequest]) (*connect.Response[_go.GetChainIDResponse], error) // Generate a recovery phrase of BIP39 mnemonic words using entropy from the // crypto library random number generator. This can be used as the mnemonic in // CreateAccount. GenerateRecoveryPhrase(context.Context, *connect.Request[_go.GenerateRecoveryPhraseRequest]) (*connect.Response[_go.GenerateRecoveryPhraseResponse], error) // Get the information for all keys in the keybase ListKeyInfo(context.Context, *connect.Request[_go.ListKeyInfoRequest]) (*connect.Response[_go.ListKeyInfoResponse], error) // Check for the key in the keybase with the given name. // In the response, set has true if the keybase has the key. HasKeyByName(context.Context, *connect.Request[_go.HasKeyByNameRequest]) (*connect.Response[_go.HasKeyByNameResponse], error) // Check for the key in the keybase with the given address. // In the response, set has true if the keybase has the key. HasKeyByAddress(context.Context, *connect.Request[_go.HasKeyByAddressRequest]) (*connect.Response[_go.HasKeyByAddressResponse], error) // Check for the key in the keybase with the given name or bech32 string address. // In the response, set has true if the keybase has the key. HasKeyByNameOrAddress(context.Context, *connect.Request[_go.HasKeyByNameOrAddressRequest]) (*connect.Response[_go.HasKeyByNameOrAddressResponse], error) // Get the information for the key in the keybase with the given name. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByName(context.Context, *connect.Request[_go.GetKeyInfoByNameRequest]) (*connect.Response[_go.GetKeyInfoByNameResponse], error) // Get the information for the key in the keybase with the given address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByAddress(context.Context, *connect.Request[_go.GetKeyInfoByAddressRequest]) (*connect.Response[_go.GetKeyInfoByAddressResponse], error) // Get the information for the key in the keybase with the given name or bech32 string address. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error) // Create a new account in the keybase using the name and password specified by SetAccount. // If an account with the same name already exists in the keybase, // this replaces it. (If you don't want to replace it, then it's your responsibility // to use GetKeyInfoByName to check if it exists before calling this.) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error) // SelectAccount selects the active account to use for later operations. If the response has_password is // false, then you should set the password before using a method which needs it. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. // DEPRECATED. Use ActivateAccount. SelectAccount(context.Context, *connect.Request[_go.SelectAccountRequest]) (*connect.Response[_go.SelectAccountResponse], error) // Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is // false, then you should call SetPassword before using a method which needs it. // If the account is already activated, return its info. // If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. ActivateAccount(context.Context, *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error) // Set the password for the account in the keybase with the given address. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. SetPassword(context.Context, *connect.Request[_go.SetPasswordRequest]) (*connect.Response[_go.SetPasswordResponse], error) // Update the keybase to use the new password for the account in the keybase with the given address. // Before calling this, you must call SetPassword with the current password. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. UpdatePassword(context.Context, *connect.Request[_go.UpdatePasswordRequest]) (*connect.Response[_go.UpdatePasswordResponse], error) // GetActiveAccount gets the active account which was set by SelectAccount. // If no active account has been set with SelectAccount, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // (To check if there is an active account, use ListKeyInfo and check the // length of the result.) // DEPRECATED: Use GetActivatedAccount. GetActiveAccount(context.Context, *connect.Request[_go.GetActiveAccountRequest]) (*connect.Response[_go.GetActiveAccountResponse], error) // GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount. // If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. GetActivatedAccount(context.Context, *connect.Request[_go.GetActivatedAccountRequest]) (*connect.Response[_go.GetActivatedAccountResponse], error) // QueryAccount retrieves account information from the blockchain for a given // address. QueryAccount(context.Context, *connect.Request[_go.QueryAccountRequest]) (*connect.Response[_go.QueryAccountResponse], error) // DeleteAccount deletes the account with the given name, using the password // to ensure access. However, if skip_password is true, then ignore the // password. // If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. DeleteAccount(context.Context, *connect.Request[_go.DeleteAccountRequest]) (*connect.Response[_go.DeleteAccountResponse], error) // Make an ABCI query to the remote node. // If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest. // If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. Query(context.Context, *connect.Request[_go.QueryRequest]) (*connect.Response[_go.QueryResponse], error) // Render calls the Render function for package_path with optional args. The // package path should include the prefix like "gno.land/". This is similar to // using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have // the prefix like "gno.land/". // If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. Render(context.Context, *connect.Request[_go.RenderRequest]) (*connect.Response[_go.RenderResponse], error) // QEval evaluates the given expression with the realm code at package_path. // The package path should include the prefix like "gno.land/". The expression // is usually a function call like "GetBoardIDFromName(\"testboard\")". The // return value is a typed expression like // "(1 gno.land/r/demo/boards.BoardID)\n(true bool)". // If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath. QEval(context.Context, *connect.Request[_go.QEvalRequest]) (*connect.Response[_go.QEvalResponse], error) // Call a specific realm function. Sign the transaction with the given caller_address. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. // If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest. Call(context.Context, *connect.Request[_go.CallRequest], *connect.ServerStream[_go.CallResponse]) error // Send currency from the account with the given caller_address to an account on the blockchain. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. Send(context.Context, *connect.Request[_go.SendRequest], *connect.ServerStream[_go.SendResponse]) error // Temporarily load the code in package on the blockchain and run main() which can // call realm functions and use println() to output to the "console". Sign the transaction with the given caller_address. // This returns the "console" output. // If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. Run(context.Context, *connect.Request[_go.RunRequest], *connect.ServerStream[_go.RunResponse]) error // Make an unsigned transaction to call a specific realm function. MakeCallTx(context.Context, *connect.Request[_go.CallRequest]) (*connect.Response[_go.MakeTxResponse], error) // Make an unsigned transaction to send currency to an account on the blockchain. MakeSendTx(context.Context, *connect.Request[_go.SendRequest]) (*connect.Response[_go.MakeTxResponse], error) // Make an unsigned transaction to temporarily load the code in package on the blockchain and run main(). MakeRunTx(context.Context, *connect.Request[_go.RunRequest]) (*connect.Response[_go.MakeTxResponse], error) // Sign the transaction using the account with the given address. // If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount. // If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed. SignTx(context.Context, *connect.Request[_go.SignTxRequest]) (*connect.Response[_go.SignTxResponse], error) // Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result. BroadcastTxCommit(context.Context, *connect.Request[_go.BroadcastTxCommitRequest], *connect.ServerStream[_go.BroadcastTxCommitResponse]) error // Convert a byte array address to a bech32 string address. AddressToBech32(context.Context, *connect.Request[_go.AddressToBech32Request]) (*connect.Response[_go.AddressToBech32Response], error) // Convert a bech32 string address to a byte array address. AddressFromBech32(context.Context, *connect.Request[_go.AddressFromBech32Request]) (*connect.Response[_go.AddressFromBech32Response], error) // Convert a mnemonic (as in CreateAccount) to a byte array address. AddressFromMnemonic(context.Context, *connect.Request[_go.AddressFromMnemonicRequest]) (*connect.Response[_go.AddressFromMnemonicResponse], error) // Hello is for debug purposes Hello(context.Context, *connect.Request[_go.HelloRequest]) (*connect.Response[_go.HelloResponse], error) // HelloStream is for debug purposes HelloStream(context.Context, *connect.Request[_go.HelloStreamRequest], *connect.ServerStream[_go.HelloStreamResponse]) error }
GnoNativeServiceHandler is an implementation of the land.gno.gnonative.v1.GnoNativeService service.
type UnimplementedGnoNativeServiceHandler ¶
type UnimplementedGnoNativeServiceHandler struct{}
UnimplementedGnoNativeServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedGnoNativeServiceHandler) ActivateAccount ¶ added in v1.8.0
func (UnimplementedGnoNativeServiceHandler) ActivateAccount(context.Context, *connect.Request[_go.ActivateAccountRequest]) (*connect.Response[_go.ActivateAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) AddressFromBech32 ¶
func (UnimplementedGnoNativeServiceHandler) AddressFromBech32(context.Context, *connect.Request[_go.AddressFromBech32Request]) (*connect.Response[_go.AddressFromBech32Response], error)
func (UnimplementedGnoNativeServiceHandler) AddressFromMnemonic ¶ added in v1.4.0
func (UnimplementedGnoNativeServiceHandler) AddressFromMnemonic(context.Context, *connect.Request[_go.AddressFromMnemonicRequest]) (*connect.Response[_go.AddressFromMnemonicResponse], error)
func (UnimplementedGnoNativeServiceHandler) AddressToBech32 ¶
func (UnimplementedGnoNativeServiceHandler) AddressToBech32(context.Context, *connect.Request[_go.AddressToBech32Request]) (*connect.Response[_go.AddressToBech32Response], error)
func (UnimplementedGnoNativeServiceHandler) BroadcastTxCommit ¶ added in v1.6.0
func (UnimplementedGnoNativeServiceHandler) BroadcastTxCommit(context.Context, *connect.Request[_go.BroadcastTxCommitRequest], *connect.ServerStream[_go.BroadcastTxCommitResponse]) error
func (UnimplementedGnoNativeServiceHandler) Call ¶
func (UnimplementedGnoNativeServiceHandler) Call(context.Context, *connect.Request[_go.CallRequest], *connect.ServerStream[_go.CallResponse]) error
func (UnimplementedGnoNativeServiceHandler) CreateAccount ¶
func (UnimplementedGnoNativeServiceHandler) CreateAccount(context.Context, *connect.Request[_go.CreateAccountRequest]) (*connect.Response[_go.CreateAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) DeleteAccount ¶
func (UnimplementedGnoNativeServiceHandler) DeleteAccount(context.Context, *connect.Request[_go.DeleteAccountRequest]) (*connect.Response[_go.DeleteAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) GenerateRecoveryPhrase ¶
func (UnimplementedGnoNativeServiceHandler) GenerateRecoveryPhrase(context.Context, *connect.Request[_go.GenerateRecoveryPhraseRequest]) (*connect.Response[_go.GenerateRecoveryPhraseResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetActivatedAccount ¶ added in v1.8.0
func (UnimplementedGnoNativeServiceHandler) GetActivatedAccount(context.Context, *connect.Request[_go.GetActivatedAccountRequest]) (*connect.Response[_go.GetActivatedAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetActiveAccount ¶
func (UnimplementedGnoNativeServiceHandler) GetActiveAccount(context.Context, *connect.Request[_go.GetActiveAccountRequest]) (*connect.Response[_go.GetActiveAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetChainID ¶
func (UnimplementedGnoNativeServiceHandler) GetChainID(context.Context, *connect.Request[_go.GetChainIDRequest]) (*connect.Response[_go.GetChainIDResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByAddress ¶
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByAddress(context.Context, *connect.Request[_go.GetKeyInfoByAddressRequest]) (*connect.Response[_go.GetKeyInfoByAddressResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByName ¶
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByName(context.Context, *connect.Request[_go.GetKeyInfoByNameRequest]) (*connect.Response[_go.GetKeyInfoByNameResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByNameOrAddress ¶
func (UnimplementedGnoNativeServiceHandler) GetKeyInfoByNameOrAddress(context.Context, *connect.Request[_go.GetKeyInfoByNameOrAddressRequest]) (*connect.Response[_go.GetKeyInfoByNameOrAddressResponse], error)
func (UnimplementedGnoNativeServiceHandler) GetRemote ¶
func (UnimplementedGnoNativeServiceHandler) GetRemote(context.Context, *connect.Request[_go.GetRemoteRequest]) (*connect.Response[_go.GetRemoteResponse], error)
func (UnimplementedGnoNativeServiceHandler) HasKeyByAddress ¶
func (UnimplementedGnoNativeServiceHandler) HasKeyByAddress(context.Context, *connect.Request[_go.HasKeyByAddressRequest]) (*connect.Response[_go.HasKeyByAddressResponse], error)
func (UnimplementedGnoNativeServiceHandler) HasKeyByName ¶
func (UnimplementedGnoNativeServiceHandler) HasKeyByName(context.Context, *connect.Request[_go.HasKeyByNameRequest]) (*connect.Response[_go.HasKeyByNameResponse], error)
func (UnimplementedGnoNativeServiceHandler) HasKeyByNameOrAddress ¶
func (UnimplementedGnoNativeServiceHandler) HasKeyByNameOrAddress(context.Context, *connect.Request[_go.HasKeyByNameOrAddressRequest]) (*connect.Response[_go.HasKeyByNameOrAddressResponse], error)
func (UnimplementedGnoNativeServiceHandler) Hello ¶
func (UnimplementedGnoNativeServiceHandler) Hello(context.Context, *connect.Request[_go.HelloRequest]) (*connect.Response[_go.HelloResponse], error)
func (UnimplementedGnoNativeServiceHandler) HelloStream ¶
func (UnimplementedGnoNativeServiceHandler) HelloStream(context.Context, *connect.Request[_go.HelloStreamRequest], *connect.ServerStream[_go.HelloStreamResponse]) error
func (UnimplementedGnoNativeServiceHandler) ListKeyInfo ¶
func (UnimplementedGnoNativeServiceHandler) ListKeyInfo(context.Context, *connect.Request[_go.ListKeyInfoRequest]) (*connect.Response[_go.ListKeyInfoResponse], error)
func (UnimplementedGnoNativeServiceHandler) MakeCallTx ¶ added in v1.6.0
func (UnimplementedGnoNativeServiceHandler) MakeCallTx(context.Context, *connect.Request[_go.CallRequest]) (*connect.Response[_go.MakeTxResponse], error)
func (UnimplementedGnoNativeServiceHandler) MakeRunTx ¶ added in v1.6.0
func (UnimplementedGnoNativeServiceHandler) MakeRunTx(context.Context, *connect.Request[_go.RunRequest]) (*connect.Response[_go.MakeTxResponse], error)
func (UnimplementedGnoNativeServiceHandler) MakeSendTx ¶ added in v1.6.0
func (UnimplementedGnoNativeServiceHandler) MakeSendTx(context.Context, *connect.Request[_go.SendRequest]) (*connect.Response[_go.MakeTxResponse], error)
func (UnimplementedGnoNativeServiceHandler) QEval ¶
func (UnimplementedGnoNativeServiceHandler) QEval(context.Context, *connect.Request[_go.QEvalRequest]) (*connect.Response[_go.QEvalResponse], error)
func (UnimplementedGnoNativeServiceHandler) Query ¶
func (UnimplementedGnoNativeServiceHandler) Query(context.Context, *connect.Request[_go.QueryRequest]) (*connect.Response[_go.QueryResponse], error)
func (UnimplementedGnoNativeServiceHandler) QueryAccount ¶
func (UnimplementedGnoNativeServiceHandler) QueryAccount(context.Context, *connect.Request[_go.QueryAccountRequest]) (*connect.Response[_go.QueryAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) Render ¶
func (UnimplementedGnoNativeServiceHandler) Render(context.Context, *connect.Request[_go.RenderRequest]) (*connect.Response[_go.RenderResponse], error)
func (UnimplementedGnoNativeServiceHandler) Run ¶
func (UnimplementedGnoNativeServiceHandler) Run(context.Context, *connect.Request[_go.RunRequest], *connect.ServerStream[_go.RunResponse]) error
func (UnimplementedGnoNativeServiceHandler) SelectAccount ¶
func (UnimplementedGnoNativeServiceHandler) SelectAccount(context.Context, *connect.Request[_go.SelectAccountRequest]) (*connect.Response[_go.SelectAccountResponse], error)
func (UnimplementedGnoNativeServiceHandler) Send ¶
func (UnimplementedGnoNativeServiceHandler) Send(context.Context, *connect.Request[_go.SendRequest], *connect.ServerStream[_go.SendResponse]) error
func (UnimplementedGnoNativeServiceHandler) SetChainID ¶
func (UnimplementedGnoNativeServiceHandler) SetChainID(context.Context, *connect.Request[_go.SetChainIDRequest]) (*connect.Response[_go.SetChainIDResponse], error)
func (UnimplementedGnoNativeServiceHandler) SetPassword ¶
func (UnimplementedGnoNativeServiceHandler) SetPassword(context.Context, *connect.Request[_go.SetPasswordRequest]) (*connect.Response[_go.SetPasswordResponse], error)
func (UnimplementedGnoNativeServiceHandler) SetRemote ¶
func (UnimplementedGnoNativeServiceHandler) SetRemote(context.Context, *connect.Request[_go.SetRemoteRequest]) (*connect.Response[_go.SetRemoteResponse], error)
func (UnimplementedGnoNativeServiceHandler) SignTx ¶ added in v1.6.0
func (UnimplementedGnoNativeServiceHandler) SignTx(context.Context, *connect.Request[_go.SignTxRequest]) (*connect.Response[_go.SignTxResponse], error)
func (UnimplementedGnoNativeServiceHandler) UpdatePassword ¶ added in v1.7.0
func (UnimplementedGnoNativeServiceHandler) UpdatePassword(context.Context, *connect.Request[_go.UpdatePasswordRequest]) (*connect.Response[_go.UpdatePasswordResponse], error)