Skip to content

Commit 665243c

Browse files
mummyhaphegitbook-bot
authored andcommitted
GITBOOK-175: No subject
1 parent 5124fb8 commit 665243c

24 files changed

Lines changed: 200 additions & 25 deletions

SUMMARY.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,7 @@
15341534
* [sui\_executeTransactionBlock](build/api-reference/sui/json/sui_executetransactionblock.md)
15351535
* [gRPC](build/api-reference/sui/grpc/README.md)
15361536
* [ExecuteTransaction](build/api-reference/sui/grpc/suix_getallbalances.md)
1537+
* [SimulateTransaction](build/api-reference/sui/grpc/suix_getallbalances-13.md)
15371538
* [BatchGetObjects](build/api-reference/sui/grpc/suix_getallbalances-1.md)
15381539
* [BatchGetTransactions](build/api-reference/sui/grpc/suix_getallbalances-2.md)
15391540
* [GetCheckpoint](build/api-reference/sui/grpc/suix_getallbalances-3.md)
@@ -1546,7 +1547,12 @@
15461547
* [ListBalances](build/api-reference/sui/grpc/suix_getallbalances-10.md)
15471548
* [ListDynamicFields](build/api-reference/sui/grpc/suix_getallbalances-11.md)
15481549
* [ListOwnedObjects](build/api-reference/sui/grpc/suix_getallbalances-12.md)
1549-
* [SimulateTransaction](build/api-reference/sui/grpc/suix_getallbalances-13.md)
1550+
* [GetPackage](build/api-reference/sui/grpc/suix_getallbalances-13-1.md)
1551+
* [GetDatatype](build/api-reference/sui/grpc/suix_getallbalances-13-2.md)
1552+
* [GetFunction](build/api-reference/sui/grpc/suix_getallbalances-13-3.md)
1553+
* [ListPackageVersions](build/api-reference/sui/grpc/suix_getallbalances-13-4.md)
1554+
* [LookupName](build/api-reference/sui/grpc/suix_getallbalances-13-5.md)
1555+
* [ReverseLookupName](build/api-reference/sui/grpc/suix_getallbalances-13-6.md)
15501556
* [SubscribeCheckpoints](build/api-reference/sui/grpc/suix_getallbalances-14.md)
15511557
* [VerifySignature](build/api-reference/sui/grpc/suix_getallbalances-15.md)
15521558
* [Solana](build/api-reference/solana/README.md)

build/api-reference/sui/grpc/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Please download the latest .proto file from the official GitHub and save it loca
1313
### TransactionExecutionService <a href="#coin-query-api" id="coin-query-api"></a>
1414

1515
* [suix\_getallbalances.md](suix_getallbalances.md "mention")
16+
* [suix\_getallbalances-13.md](suix_getallbalances-13.md "mention")
1617

1718
### LedgerService
1819

@@ -24,14 +25,25 @@ Please download the latest .proto file from the official GitHub and save it loca
2425
* [suix\_getallbalances-6.md](suix_getallbalances-6.md "mention")
2526
* [suix\_getallbalances-7.md](suix_getallbalances-7.md "mention")
2627

27-
### LiveDataService <a href="#governance-read-api" id="governance-read-api"></a>
28+
### StateService
2829

2930
* [suix\_getallbalances-8.md](suix_getallbalances-8.md "mention")
3031
* [suix\_getallbalances-9.md](suix_getallbalances-9.md "mention")
3132
* [suix\_getallbalances-10.md](suix_getallbalances-10.md "mention")
3233
* [suix\_getallbalances-11.md](suix_getallbalances-11.md "mention")
3334
* [suix\_getallbalances-12.md](suix_getallbalances-12.md "mention")
34-
* [suix\_getallbalances-13.md](suix_getallbalances-13.md "mention")
35+
36+
### MovePackageService
37+
38+
* [suix\_getallbalances-13-1.md](suix_getallbalances-13-1.md "mention")
39+
* [suix\_getallbalances-13-2.md](suix_getallbalances-13-2.md "mention")
40+
* [suix\_getallbalances-13-3.md](suix_getallbalances-13-3.md "mention")
41+
* [suix\_getallbalances-13-4.md](suix_getallbalances-13-4.md "mention")
42+
43+
### NameService
44+
45+
* [suix\_getallbalances-13-5.md](suix_getallbalances-13-5.md "mention")
46+
* [suix\_getallbalances-13-6.md](suix_getallbalances-13-6.md "mention")
3547

3648
### SubscriptionService <a href="#move-utils" id="move-utils"></a>
3749

build/api-reference/sui/grpc/suix_getallbalances-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ grpcurl -proto .sui/rpc/v2/ledger_service.proto
3333
]
3434
}
3535
}'
36-
sui.blockpi.network:443 sui.rpc.v2beta.LedgerService/BatchGetObjects
36+
sui.blockpi.network:443 sui.rpc.v2.LedgerService/BatchGetObjects
3737
```
3838
{% endcode %}

build/api-reference/sui/grpc/suix_getallbalances-10.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818

1919
{% code overflow="wrap" %}
2020
```json
21-
grpcurl -proto .sui/rpc/v2/live_data_service.proto
21+
grpcurl -proto .sui/rpc/v2/state_service.proto
2222
-H "x-token: YOUR_TOKEN_VALUE"
2323
-d
2424
'{
2525
"owner": "0x0feb54a725aa357ff2f5bc6bb023c05b310285bd861275a30521f339a434ebb3"
2626

2727
}'
28-
sui.blockpi.network:443 sui.rpc.v2beta.LiveDataService/ListBalances
28+
sui.blockpi.network:443 sui.rpc.v2.StateService/ListBalances
2929
```
3030
{% endcode %}

build/api-reference/sui/grpc/suix_getallbalances-11.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020

2121
{% code overflow="wrap" %}
2222
```json
23-
grpcurl -proto .sui/rpc/v2/live_data_service.proto
23+
grpcurl -proto .sui/rpc/v2/state_service.proto
2424
-H "x-token: YOUR_TOKEN_VALUE"
2525
-d
2626
'{
2727
"parent": "0x0feb54a725aa357ff2f5bc6bb023c05b310285bd861275a30521f339a434ebb3"
2828

2929
}'
30-
sui.blockpi.network:443 sui.rpc.v2beta.LiveDataService/ListDynamicFields
30+
sui.blockpi.network:443 sui.rpc.v2.StateService/ListDynamicFields
3131
```
3232
{% endcode %}

build/api-reference/sui/grpc/suix_getallbalances-12.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ objects - [Object](https://docs.sui.io/references/fullnode-protocol#sui-rpc-v2be
2222

2323
{% code overflow="wrap" %}
2424
```json
25-
grpcurl -proto .sui/rpc/v2/live_data_service.proto
25+
grpcurl -proto .sui/rpc/v2/state_service.proto
2626
-H "x-token: YOUR_TOKEN_VALUE"
2727
-d
2828
'{
2929
"owner": "0x0feb54a725aa357ff2f5bc6bb023c05b310285bd861275a30521f339a434ebb3"
3030

3131
}'
32-
sui.blockpi.network:443 sui.rpc.v2beta.LiveDataService/ListOwnedObjects
32+
sui.blockpi.network:443 sui.rpc.v2.StateService/ListOwnedObjects
3333
```
3434
{% endcode %}

build/api-reference/sui/grpc/suix_getallbalances-13-1.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# GetPackage
2+
3+
#### **Parameters:**
4+
5+
string package\_id - Required. The `storage_id` of the requested package.&#x20;
6+
7+
#### **Returns:**
8+
9+
Package package - The package.<br>
10+
11+
#### Example:
12+
13+
{% code overflow="wrap" %}
14+
```json
15+
grpcurl -proto .sui/rpc/v2/move_package_service.proto
16+
-H "x-token: YOUR_TOKEN_VALUE"
17+
-d
18+
'{
19+
.....
20+
}'
21+
sui.blockpi.network:443 sui.rpc.v2.MovePackageService/GetPackage
22+
```
23+
{% endcode %}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# GetDatatype
2+
3+
#### **Parameters:**
4+
5+
string package\_id - Required. The `storage_id` of the requested package.&#x20;
6+
7+
string module\_name - Required. The name of the requested module.&#x20;
8+
9+
string name - Required. The name of the requested datatype.&#x20;
10+
11+
#### **Returns:**
12+
13+
datatype - The datatype.
14+
15+
#### Example:
16+
17+
{% code overflow="wrap" %}
18+
```json
19+
grpcurl -proto .sui/rpc/v2/move_package_service.proto
20+
-H "x-token: YOUR_TOKEN_VALUE"
21+
-d
22+
'{
23+
.....
24+
25+
}'
26+
sui.blockpi.network:443 sui.rpc.v2.MovePackageService/GetDatatype
27+
```
28+
{% endcode %}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# GetFunction
2+
3+
#### **Parameters:**
4+
5+
string package\_id - Required. The `storage_id` of the requested package.&#x20;
6+
7+
string module\_name - Required. The name of the requested module.&#x20;
8+
9+
string name - Required. The name of the requested datatype.&#x20;
10+
11+
#### **Returns:**
12+
13+
function - The function.
14+
15+
#### Example:
16+
17+
{% code overflow="wrap" %}
18+
```json
19+
grpcurl -proto .sui/rpc/v2/move_package_service.proto
20+
-H "x-token: YOUR_TOKEN_VALUE"
21+
-d
22+
'{
23+
.....
24+
25+
}'
26+
sui.blockpi.network:443 sui.rpc.v2.MovePackageService/GetFunction
27+
```
28+
{% endcode %}

build/api-reference/sui/grpc/suix_getallbalances-13-4.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# ListPackageVersions
2+
3+
#### **Parameters:**
4+
5+
string package\_id - Required. The `storage_id` of any version of the package.&#x20;
6+
7+
uint32 page\_size - The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most `1000` entries will be returned. The maximum value is `10000`; values above `10000` will be coerced to `10000`.&#x20;
8+
9+
bytes page\_token - A page token, received from a previous `ListPackageVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListPackageVersions` must match the call that provided the page token.&#x20;<br>
10+
11+
#### **Returns:**
12+
13+
versions - List of all package versions, ordered by version.&#x20;
14+
15+
bytes next\_page\_token - A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.&#x20;
16+
17+
#### Example:
18+
19+
{% code overflow="wrap" %}
20+
```json
21+
grpcurl -proto .sui/rpc/v2/move_package_service.proto
22+
-H "x-token: YOUR_TOKEN_VALUE"
23+
-d
24+
'{
25+
.....
26+
27+
}'
28+
sui.blockpi.network:443 sui.rpc.v2.MovePackageService/ListPackageVersions
29+
```
30+
{% endcode %}

0 commit comments

Comments
 (0)