@gnolang/gnonative 3.0.5 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/Makefile +20 -3
  2. package/android/libs/gnocore-sources.jar +0 -0
  3. package/android/libs/gnocore.aar +0 -0
  4. package/android/src/main/java/land/gno/gnonative/GnonativeModule.kt +0 -13
  5. package/build/GoBridge.d.ts +0 -1
  6. package/build/GoBridge.d.ts.map +1 -1
  7. package/build/GoBridge.js +0 -3
  8. package/build/GoBridge.js.map +1 -1
  9. package/build/api/GnoNativeApi.d.ts +5 -5
  10. package/build/api/GnoNativeApi.d.ts.map +1 -1
  11. package/build/api/GnoNativeApi.js +15 -10
  12. package/build/api/GnoNativeApi.js.map +1 -1
  13. package/build/api/types.d.ts +4 -4
  14. package/build/api/types.d.ts.map +1 -1
  15. package/build/api/types.js.map +1 -1
  16. package/build/api/vendor/gnonativetypes_pb.d.ts +1513 -0
  17. package/build/api/vendor/gnonativetypes_pb.d.ts.map +1 -0
  18. package/build/api/vendor/gnonativetypes_pb.js +2506 -0
  19. package/build/api/vendor/gnonativetypes_pb.js.map +1 -0
  20. package/build/api/vendor/rpc_connect.d.ts +461 -0
  21. package/build/api/vendor/rpc_connect.d.ts.map +1 -0
  22. package/build/api/vendor/rpc_connect.js +465 -0
  23. package/build/api/vendor/rpc_connect.js.map +1 -0
  24. package/build/api/vendor/rpc_pb.d.ts +221 -0
  25. package/build/api/vendor/rpc_pb.d.ts.map +1 -0
  26. package/build/api/vendor/rpc_pb.js +277 -0
  27. package/build/api/vendor/rpc_pb.js.map +1 -0
  28. package/build/grpc/client.d.ts +1 -1
  29. package/build/grpc/client.d.ts.map +1 -1
  30. package/build/grpc/client.js +1 -1
  31. package/build/grpc/client.js.map +1 -1
  32. package/build/grpc/error.d.ts +1 -1
  33. package/build/grpc/error.d.ts.map +1 -1
  34. package/build/grpc/error.js +1 -1
  35. package/build/grpc/error.js.map +1 -1
  36. package/build/index.d.ts +2 -2
  37. package/build/index.d.ts.map +1 -1
  38. package/build/index.js +2 -2
  39. package/build/index.js.map +1 -1
  40. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/GnoCore +0 -0
  41. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  42. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/GnoCore +0 -0
  43. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/A/Headers/GnoGnonative.objc.h +0 -7
  44. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/GnoCore +0 -0
  45. package/ios/Frameworks/GnoCore.xcframework/ios-arm64/GnoCore.framework/Versions/Current/Headers/GnoGnonative.objc.h +0 -7
  46. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/GnoCore +0 -0
  47. package/ios/Frameworks/GnoCore.xcframework/ios-arm64_x86_64-simulator/GnoCore.framework/Headers/GnoGnonative.objc.h +0 -7
  48. package/ios/GnonativeModule.swift +0 -12
  49. package/package.json +1 -3
  50. package/src/GoBridge.ts +0 -5
  51. package/src/api/GnoNativeApi.ts +33 -16
  52. package/src/api/types.ts +12 -5
  53. package/src/api/vendor/gnonativetypes_pb.ts +3074 -0
  54. package/src/api/vendor/rpc_connect.ts +467 -0
  55. package/src/api/vendor/rpc_pb.ts +321 -0
  56. package/src/grpc/client.ts +1 -1
  57. package/src/grpc/error.ts +2 -1
  58. package/src/index.ts +2 -2
  59. package/tsconfig.json +0 -1
@@ -0,0 +1,467 @@
1
+ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
2
+ // @generated from file rpc.proto (package land.gno.gnonative.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { ActivateAccountRequest, ActivateAccountResponse, AddressFromBech32Request, AddressFromBech32Response, AddressFromMnemonicRequest, AddressFromMnemonicResponse, AddressToBech32Request, AddressToBech32Response, BroadcastTxCommitRequest, BroadcastTxCommitResponse, CallRequest, CallResponse, CreateAccountRequest, CreateAccountResponse, DeleteAccountRequest, DeleteAccountResponse, EstimateGasRequest, EstimateGasResponse, GenerateRecoveryPhraseRequest, GenerateRecoveryPhraseResponse, GetActivatedAccountRequest, GetActivatedAccountResponse, GetChainIDRequest, GetChainIDResponse, GetKeyInfoByAddressRequest, GetKeyInfoByAddressResponse, GetKeyInfoByNameOrAddressRequest, GetKeyInfoByNameOrAddressResponse, GetKeyInfoByNameRequest, GetKeyInfoByNameResponse, GetRemoteRequest, GetRemoteResponse, HasKeyByAddressRequest, HasKeyByAddressResponse, HasKeyByNameOrAddressRequest, HasKeyByNameOrAddressResponse, HasKeyByNameRequest, HasKeyByNameResponse, HelloRequest, HelloResponse, HelloStreamRequest, HelloStreamResponse, ListKeyInfoRequest, ListKeyInfoResponse, MakeTxResponse, QEvalRequest, QEvalResponse, QueryAccountRequest, QueryAccountResponse, QueryRequest, QueryResponse, RenderRequest, RenderResponse, RotatePasswordRequest, RotatePasswordResponse, RunRequest, RunResponse, SendRequest, SendResponse, SetChainIDRequest, SetChainIDResponse, SetPasswordRequest, SetPasswordResponse, SetRemoteRequest, SetRemoteResponse, SignTxRequest, SignTxResponse } from "./gnonativetypes_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * GnoNativeService is the service to interact with the Gno blockchain
11
+ *
12
+ * @generated from service land.gno.gnonative.v1.GnoNativeService
13
+ */
14
+ export const GnoNativeService = {
15
+ typeName: "land.gno.gnonative.v1.GnoNativeService",
16
+ methods: {
17
+ /**
18
+ * Set the connection address for the remote node. If you don't call this,
19
+ * the default is "127.0.0.1:26657"
20
+ *
21
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetRemote
22
+ */
23
+ setRemote: {
24
+ name: "SetRemote",
25
+ I: SetRemoteRequest,
26
+ O: SetRemoteResponse,
27
+ kind: MethodKind.Unary,
28
+ },
29
+ /**
30
+ * Get the connection address for the remote node. The response is either
31
+ * the initial default, or the value which was set with SetRemote
32
+ *
33
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetRemote
34
+ */
35
+ getRemote: {
36
+ name: "GetRemote",
37
+ I: GetRemoteRequest,
38
+ O: GetRemoteResponse,
39
+ kind: MethodKind.Unary,
40
+ },
41
+ /**
42
+ * Set the chain ID for the remote node. If you don't call this, the default
43
+ * is "dev"
44
+ *
45
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetChainID
46
+ */
47
+ setChainID: {
48
+ name: "SetChainID",
49
+ I: SetChainIDRequest,
50
+ O: SetChainIDResponse,
51
+ kind: MethodKind.Unary,
52
+ },
53
+ /**
54
+ * Get the chain ID for the remote node. The response is either
55
+ * the initial default, or the value which was set with SetChainID
56
+ *
57
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetChainID
58
+ */
59
+ getChainID: {
60
+ name: "GetChainID",
61
+ I: GetChainIDRequest,
62
+ O: GetChainIDResponse,
63
+ kind: MethodKind.Unary,
64
+ },
65
+ /**
66
+ * Generate a recovery phrase of BIP39 mnemonic words using entropy from the
67
+ * crypto library random number generator. This can be used as the mnemonic in
68
+ * CreateAccount.
69
+ *
70
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GenerateRecoveryPhrase
71
+ */
72
+ generateRecoveryPhrase: {
73
+ name: "GenerateRecoveryPhrase",
74
+ I: GenerateRecoveryPhraseRequest,
75
+ O: GenerateRecoveryPhraseResponse,
76
+ kind: MethodKind.Unary,
77
+ },
78
+ /**
79
+ * Get the information for all keys in the keybase
80
+ *
81
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ListKeyInfo
82
+ */
83
+ listKeyInfo: {
84
+ name: "ListKeyInfo",
85
+ I: ListKeyInfoRequest,
86
+ O: ListKeyInfoResponse,
87
+ kind: MethodKind.Unary,
88
+ },
89
+ /**
90
+ * Check for the key in the keybase with the given name.
91
+ * In the response, set has true if the keybase has the key.
92
+ *
93
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByName
94
+ */
95
+ hasKeyByName: {
96
+ name: "HasKeyByName",
97
+ I: HasKeyByNameRequest,
98
+ O: HasKeyByNameResponse,
99
+ kind: MethodKind.Unary,
100
+ },
101
+ /**
102
+ * Check for the key in the keybase with the given address.
103
+ * In the response, set has true if the keybase has the key.
104
+ *
105
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByAddress
106
+ */
107
+ hasKeyByAddress: {
108
+ name: "HasKeyByAddress",
109
+ I: HasKeyByAddressRequest,
110
+ O: HasKeyByAddressResponse,
111
+ kind: MethodKind.Unary,
112
+ },
113
+ /**
114
+ * Check for the key in the keybase with the given name or bech32 string address.
115
+ * In the response, set has true if the keybase has the key.
116
+ *
117
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HasKeyByNameOrAddress
118
+ */
119
+ hasKeyByNameOrAddress: {
120
+ name: "HasKeyByNameOrAddress",
121
+ I: HasKeyByNameOrAddressRequest,
122
+ O: HasKeyByNameOrAddressResponse,
123
+ kind: MethodKind.Unary,
124
+ },
125
+ /**
126
+ * Get the information for the key in the keybase with the given name.
127
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
128
+ *
129
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByName
130
+ */
131
+ getKeyInfoByName: {
132
+ name: "GetKeyInfoByName",
133
+ I: GetKeyInfoByNameRequest,
134
+ O: GetKeyInfoByNameResponse,
135
+ kind: MethodKind.Unary,
136
+ },
137
+ /**
138
+ * Get the information for the key in the keybase with the given address.
139
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
140
+ *
141
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByAddress
142
+ */
143
+ getKeyInfoByAddress: {
144
+ name: "GetKeyInfoByAddress",
145
+ I: GetKeyInfoByAddressRequest,
146
+ O: GetKeyInfoByAddressResponse,
147
+ kind: MethodKind.Unary,
148
+ },
149
+ /**
150
+ * Get the information for the key in the keybase with the given name or bech32 string address.
151
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
152
+ *
153
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetKeyInfoByNameOrAddress
154
+ */
155
+ getKeyInfoByNameOrAddress: {
156
+ name: "GetKeyInfoByNameOrAddress",
157
+ I: GetKeyInfoByNameOrAddressRequest,
158
+ O: GetKeyInfoByNameOrAddressResponse,
159
+ kind: MethodKind.Unary,
160
+ },
161
+ /**
162
+ * Create a new account in the keybase using the name and password specified by SetAccount.
163
+ * If an account with the same name already exists in the keybase,
164
+ * this replaces it. (If you don't want to replace it, then it's your responsibility
165
+ * to use GetKeyInfoByName to check if it exists before calling this.)
166
+ *
167
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.CreateAccount
168
+ */
169
+ createAccount: {
170
+ name: "CreateAccount",
171
+ I: CreateAccountRequest,
172
+ O: CreateAccountResponse,
173
+ kind: MethodKind.Unary,
174
+ },
175
+ /**
176
+ * Find the account in the keybase with the given name_or_bech32 and activate it. If the response has_password is
177
+ * false, then you should call SetPassword before using a method which needs it.
178
+ * If the account is already activated, return its info.
179
+ * If the key doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
180
+ *
181
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.ActivateAccount
182
+ */
183
+ activateAccount: {
184
+ name: "ActivateAccount",
185
+ I: ActivateAccountRequest,
186
+ O: ActivateAccountResponse,
187
+ kind: MethodKind.Unary,
188
+ },
189
+ /**
190
+ * Set the password for the account in the keybase with the given address.
191
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
192
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
193
+ *
194
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SetPassword
195
+ */
196
+ setPassword: {
197
+ name: "SetPassword",
198
+ I: SetPasswordRequest,
199
+ O: SetPasswordResponse,
200
+ kind: MethodKind.Unary,
201
+ },
202
+ /**
203
+ * Rotate the password of a key to a new password for the accounts in the keybase with the given addresses.
204
+ * Before calling this, you must call SetPassword with the current password for each account.
205
+ * If there is an error, then roll back all accounts to the current password.
206
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
207
+ *
208
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.RotatePassword
209
+ */
210
+ rotatePassword: {
211
+ name: "RotatePassword",
212
+ I: RotatePasswordRequest,
213
+ O: RotatePasswordResponse,
214
+ kind: MethodKind.Unary,
215
+ },
216
+ /**
217
+ * GetActivatedAccount gets the info of the account by address which has been activated by ActivateAccount.
218
+ * If there the given address is not specified, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidAddress.
219
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
220
+ *
221
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.GetActivatedAccount
222
+ */
223
+ getActivatedAccount: {
224
+ name: "GetActivatedAccount",
225
+ I: GetActivatedAccountRequest,
226
+ O: GetActivatedAccountResponse,
227
+ kind: MethodKind.Unary,
228
+ },
229
+ /**
230
+ * QueryAccount retrieves account information from the blockchain for a given
231
+ * address.
232
+ *
233
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QueryAccount
234
+ */
235
+ queryAccount: {
236
+ name: "QueryAccount",
237
+ I: QueryAccountRequest,
238
+ O: QueryAccountResponse,
239
+ kind: MethodKind.Unary,
240
+ },
241
+ /**
242
+ * DeleteAccount deletes the account with the given name, using the password
243
+ * to ensure access. However, if skip_password is true, then ignore the
244
+ * password.
245
+ * If the account doesn't exist, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrCryptoKeyNotFound.
246
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
247
+ *
248
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.DeleteAccount
249
+ */
250
+ deleteAccount: {
251
+ name: "DeleteAccount",
252
+ I: DeleteAccountRequest,
253
+ O: DeleteAccountResponse,
254
+ kind: MethodKind.Unary,
255
+ },
256
+ /**
257
+ * Make an ABCI query to the remote node.
258
+ * If the request path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.
259
+ * If the request data has a package path that is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
260
+ *
261
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Query
262
+ */
263
+ query: {
264
+ name: "Query",
265
+ I: QueryRequest,
266
+ O: QueryResponse,
267
+ kind: MethodKind.Unary,
268
+ },
269
+ /**
270
+ * Render calls the Render function for package_path with optional args. The
271
+ * package path should include the prefix like "gno.land/". This is similar to
272
+ * using a browser URL <nodeURL>/<pkgPath>:<args> where <pkgPath> doesn't have
273
+ * the prefix like "gno.land/".
274
+ * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
275
+ *
276
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Render
277
+ */
278
+ render: {
279
+ name: "Render",
280
+ I: RenderRequest,
281
+ O: RenderResponse,
282
+ kind: MethodKind.Unary,
283
+ },
284
+ /**
285
+ * QEval evaluates the given expression with the realm code at package_path.
286
+ * The package path should include the prefix like "gno.land/". The expression
287
+ * is usually a function call like "GetBoardIDFromName(\"testboard\")". The
288
+ * return value is a typed expression like
289
+ * "(1 gno.land/r/demo/boards.BoardID)\n(true bool)".
290
+ * If the request package_path is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrInvalidPkgPath.
291
+ *
292
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.QEval
293
+ */
294
+ qEval: {
295
+ name: "QEval",
296
+ I: QEvalRequest,
297
+ O: QEvalResponse,
298
+ kind: MethodKind.Unary,
299
+ },
300
+ /**
301
+ * Call a specific realm function. Sign the transaction with the given caller_address.
302
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
303
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
304
+ * If the path of a realm function call is unrecognized, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrUnknownRequest.
305
+ *
306
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Call
307
+ */
308
+ call: {
309
+ name: "Call",
310
+ I: CallRequest,
311
+ O: CallResponse,
312
+ kind: MethodKind.ServerStreaming,
313
+ },
314
+ /**
315
+ * Send currency from the account with the given caller_address to an account on the blockchain.
316
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
317
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
318
+ *
319
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Send
320
+ */
321
+ send: {
322
+ name: "Send",
323
+ I: SendRequest,
324
+ O: SendResponse,
325
+ kind: MethodKind.ServerStreaming,
326
+ },
327
+ /**
328
+ * Temporarily load the code in package on the blockchain and run main() which can
329
+ * call realm functions and use println() to output to the "console". Sign the transaction with the given caller_address.
330
+ * This returns the "console" output.
331
+ * If there is no activated account with the given caller_address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
332
+ *
333
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Run
334
+ */
335
+ run: {
336
+ name: "Run",
337
+ I: RunRequest,
338
+ O: RunResponse,
339
+ kind: MethodKind.ServerStreaming,
340
+ },
341
+ /**
342
+ * Make an unsigned transaction to call a specific realm function.
343
+ *
344
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeCallTx
345
+ */
346
+ makeCallTx: {
347
+ name: "MakeCallTx",
348
+ I: CallRequest,
349
+ O: MakeTxResponse,
350
+ kind: MethodKind.Unary,
351
+ },
352
+ /**
353
+ * Make an unsigned transaction to send currency to an account on the blockchain.
354
+ *
355
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeSendTx
356
+ */
357
+ makeSendTx: {
358
+ name: "MakeSendTx",
359
+ I: SendRequest,
360
+ O: MakeTxResponse,
361
+ kind: MethodKind.Unary,
362
+ },
363
+ /**
364
+ * Make an unsigned transaction to temporarily load the code in package on the blockchain and run main().
365
+ *
366
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.MakeRunTx
367
+ */
368
+ makeRunTx: {
369
+ name: "MakeRunTx",
370
+ I: RunRequest,
371
+ O: MakeTxResponse,
372
+ kind: MethodKind.Unary,
373
+ },
374
+ /**
375
+ * EstimateGas estimate the least amount of gas required for the transaction to go through on the chain (minimum gas wanted), with a security margin.
376
+ * If UpdateTx is true, then update the transaction with the gasWanted amount.
377
+ *
378
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.EstimateGas
379
+ */
380
+ estimateGas: {
381
+ name: "EstimateGas",
382
+ I: EstimateGasRequest,
383
+ O: EstimateGasResponse,
384
+ kind: MethodKind.Unary,
385
+ },
386
+ /**
387
+ * Sign the transaction using the account with the given address.
388
+ * If there is no activated account with the given address, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrNoActiveAccount.
389
+ * If the password is wrong, return [ErrCode](#land.gno.gnonative.v1.ErrCode).ErrDecryptionFailed.
390
+ *
391
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.SignTx
392
+ */
393
+ signTx: {
394
+ name: "SignTx",
395
+ I: SignTxRequest,
396
+ O: SignTxResponse,
397
+ kind: MethodKind.Unary,
398
+ },
399
+ /**
400
+ * Broadcast the signed transaction to the blockchain configured in GetRemote and return a stream result.
401
+ *
402
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.BroadcastTxCommit
403
+ */
404
+ broadcastTxCommit: {
405
+ name: "BroadcastTxCommit",
406
+ I: BroadcastTxCommitRequest,
407
+ O: BroadcastTxCommitResponse,
408
+ kind: MethodKind.ServerStreaming,
409
+ },
410
+ /**
411
+ * Convert a byte array address to a bech32 string address.
412
+ *
413
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressToBech32
414
+ */
415
+ addressToBech32: {
416
+ name: "AddressToBech32",
417
+ I: AddressToBech32Request,
418
+ O: AddressToBech32Response,
419
+ kind: MethodKind.Unary,
420
+ },
421
+ /**
422
+ * Convert a bech32 string address to a byte array address.
423
+ *
424
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromBech32
425
+ */
426
+ addressFromBech32: {
427
+ name: "AddressFromBech32",
428
+ I: AddressFromBech32Request,
429
+ O: AddressFromBech32Response,
430
+ kind: MethodKind.Unary,
431
+ },
432
+ /**
433
+ * Convert a mnemonic (as in CreateAccount) to a byte array address.
434
+ *
435
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.AddressFromMnemonic
436
+ */
437
+ addressFromMnemonic: {
438
+ name: "AddressFromMnemonic",
439
+ I: AddressFromMnemonicRequest,
440
+ O: AddressFromMnemonicResponse,
441
+ kind: MethodKind.Unary,
442
+ },
443
+ /**
444
+ * Hello is for debug purposes
445
+ *
446
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.Hello
447
+ */
448
+ hello: {
449
+ name: "Hello",
450
+ I: HelloRequest,
451
+ O: HelloResponse,
452
+ kind: MethodKind.Unary,
453
+ },
454
+ /**
455
+ * HelloStream is for debug purposes
456
+ *
457
+ * @generated from rpc land.gno.gnonative.v1.GnoNativeService.HelloStream
458
+ */
459
+ helloStream: {
460
+ name: "HelloStream",
461
+ I: HelloStreamRequest,
462
+ O: HelloStreamResponse,
463
+ kind: MethodKind.ServerStreaming,
464
+ },
465
+ }
466
+ } as const;
467
+