Skip to content

Commit 713318f

Browse files
committed
v1.15.17
1 parent 258dbe7 commit 713318f

File tree

3 files changed

+110
-38
lines changed

3 files changed

+110
-38
lines changed

api/openapi.yaml

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2343,6 +2343,18 @@ paths:
23432343
- asc
23442344
- desc
23452345
type: string
2346+
- description: Chain id
2347+
in: query
2348+
name: chain_id
2349+
schema:
2350+
type: string
2351+
- description: Creator address
2352+
in: query
2353+
name: creator
2354+
schema:
2355+
maxLength: 47
2356+
minLength: 47
2357+
type: string
23462358
responses:
23472359
"200":
23482360
content:
@@ -2522,24 +2534,36 @@ paths:
25222534
- asc
25232535
- desc
25242536
type: string
2525-
- description: Client id
2537+
- description: Channel id
25262538
in: query
2527-
name: client_id
2539+
name: channel_id
25282540
schema:
25292541
type: string
2530-
- description: Connection id
2542+
- description: Chain id
25312543
in: query
2532-
name: connection_id
2544+
name: chain_id
25332545
schema:
25342546
type: string
2535-
- description: Channel status
2547+
- description: Receiver address
25362548
in: query
2537-
name: status
2549+
name: receiver
25382550
schema:
2539-
enum:
2540-
- initialization
2541-
- opened
2542-
- closed
2551+
maxLength: 47
2552+
minLength: 47
2553+
type: string
2554+
- description: Sender address
2555+
in: query
2556+
name: sender
2557+
schema:
2558+
maxLength: 47
2559+
minLength: 47
2560+
type: string
2561+
- description: "Address: receiver or sender"
2562+
in: query
2563+
name: address
2564+
schema:
2565+
maxLength: 47
2566+
minLength: 47
25432567
type: string
25442568
responses:
25452569
"200":

api_ibc.go

Lines changed: 58 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/IbcAPI.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ No authorization required
232232

233233
## GetIbcClients
234234

235-
> []ResponsesIbcClient GetIbcClients(ctx).Limit(limit).Offset(offset).Sort(sort).Execute()
235+
> []ResponsesIbcClient GetIbcClients(ctx).Limit(limit).Offset(offset).Sort(sort).ChainId(chainId).Creator(creator).Execute()
236236
237237
Get ibc clients info
238238

@@ -254,10 +254,12 @@ func main() {
254254
limit := int32(56) // int32 | Count of requested entities (optional)
255255
offset := int32(56) // int32 | Offset (optional)
256256
sort := "sort_example" // string | Sort order. Default: desc (optional)
257+
chainId := "chainId_example" // string | Chain id (optional)
258+
creator := "creator_example" // string | Creator address (optional)
257259

258260
configuration := openapiclient.NewConfiguration()
259261
apiClient := openapiclient.NewAPIClient(configuration)
260-
resp, r, err := apiClient.IbcAPI.GetIbcClients(context.Background()).Limit(limit).Offset(offset).Sort(sort).Execute()
262+
resp, r, err := apiClient.IbcAPI.GetIbcClients(context.Background()).Limit(limit).Offset(offset).Sort(sort).ChainId(chainId).Creator(creator).Execute()
261263
if err != nil {
262264
fmt.Fprintf(os.Stderr, "Error when calling `IbcAPI.GetIbcClients``: %v\n", err)
263265
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -281,6 +283,8 @@ Name | Type | Description | Notes
281283
**limit** | **int32** | Count of requested entities |
282284
**offset** | **int32** | Offset |
283285
**sort** | **string** | Sort order. Default: desc |
286+
**chainId** | **string** | Chain id |
287+
**creator** | **string** | Creator address |
284288

285289
### Return type
286290

@@ -444,7 +448,7 @@ No authorization required
444448

445449
## GetIbcTransfers
446450

447-
> []ResponsesIbcTransfer GetIbcTransfers(ctx).Limit(limit).Offset(offset).Sort(sort).ClientId(clientId).ConnectionId(connectionId).Status(status).Execute()
451+
> []ResponsesIbcTransfer GetIbcTransfers(ctx).Limit(limit).Offset(offset).Sort(sort).ChannelId(channelId).ChainId(chainId).Receiver(receiver).Sender(sender).Address(address).Execute()
448452
449453
Get ibc transfers info
450454

@@ -466,13 +470,15 @@ func main() {
466470
limit := int32(56) // int32 | Count of requested entities (optional)
467471
offset := int32(56) // int32 | Offset (optional)
468472
sort := "sort_example" // string | Sort order. Default: desc (optional)
469-
clientId := "clientId_example" // string | Client id (optional)
470-
connectionId := "connectionId_example" // string | Connection id (optional)
471-
status := "status_example" // string | Channel status (optional)
473+
channelId := "channelId_example" // string | Channel id (optional)
474+
chainId := "chainId_example" // string | Chain id (optional)
475+
receiver := "receiver_example" // string | Receiver address (optional)
476+
sender := "sender_example" // string | Sender address (optional)
477+
address := "address_example" // string | Address: receiver or sender (optional)
472478

473479
configuration := openapiclient.NewConfiguration()
474480
apiClient := openapiclient.NewAPIClient(configuration)
475-
resp, r, err := apiClient.IbcAPI.GetIbcTransfers(context.Background()).Limit(limit).Offset(offset).Sort(sort).ClientId(clientId).ConnectionId(connectionId).Status(status).Execute()
481+
resp, r, err := apiClient.IbcAPI.GetIbcTransfers(context.Background()).Limit(limit).Offset(offset).Sort(sort).ChannelId(channelId).ChainId(chainId).Receiver(receiver).Sender(sender).Address(address).Execute()
476482
if err != nil {
477483
fmt.Fprintf(os.Stderr, "Error when calling `IbcAPI.GetIbcTransfers``: %v\n", err)
478484
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -496,9 +502,11 @@ Name | Type | Description | Notes
496502
**limit** | **int32** | Count of requested entities |
497503
**offset** | **int32** | Offset |
498504
**sort** | **string** | Sort order. Default: desc |
499-
**clientId** | **string** | Client id |
500-
**connectionId** | **string** | Connection id |
501-
**status** | **string** | Channel status |
505+
**channelId** | **string** | Channel id |
506+
**chainId** | **string** | Chain id |
507+
**receiver** | **string** | Receiver address |
508+
**sender** | **string** | Sender address |
509+
**address** | **string** | Address: receiver or sender |
502510

503511
### Return type
504512

0 commit comments

Comments
 (0)