Add Sui Mainnet RPC URL & Update README.md

This commit is contained in:
0xblockhash
2023-05-06 17:30:38 +08:00
parent 02232a5d8f
commit 2efc0046d1
10 changed files with 869 additions and 173 deletions

View File

@@ -47,6 +47,13 @@ type SuiObjectResponseQuery struct {
Options SuiObjectDataOptions `json:"options"`
}
type SuiGetObjectRequest struct {
// the ID of the queried object
ObjectId string `json:"ObjectId"`
// config which fields to include in the response, by default only digest is included
Options SuiObjectDataOptions `json:"options"`
}
type SuiXGetOwnedObjectsRequest struct {
// the owner's Sui address
Address string `json:"address" validate:"checkAddress"`