@@ -107,8 +107,8 @@ curl --location 'http://localhost:8545/' \
{{.JSONName}} |
{{.Label}} {{.JSONType}} |
- {{if .IsEnum}}(Enum) {{end}}{{- print "" -}}
- {{if .IsOneOf}}(OneOf) {{end}}{{- print "" -}}
+ {{if .IsEnum}}(Enum){{end}}{{- print "" -}}
+ {{if .IsOneOf}}(OneOf){{end}}{{- print "" -}}
{{if (index .Options "deprecated"|default false)}}(Deprecated) {{end}}{{- print "" -}}
{{.Description}}
{{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}{{- print "" -}}
@@ -142,8 +142,8 @@ Parameters has no fields.
| {{.Name}} |
{{.Label}} {{.JSONType}} |
- {{if .IsEnum}}(Enum) {{end}}{{- print "" -}}
- {{if .IsOneOf}}(OneOf) {{end}}{{- print "" -}}
+ {{if .IsEnum}}(Enum){{end}}{{- print "" -}}
+ {{if .IsOneOf}}(OneOf){{end}}{{- print "" -}}
{{if (index .Options "deprecated"|default false)}}(Deprecated) {{end}}{{- print "" -}}
{{.Description}}
{{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}{{- print "" -}}
@@ -162,8 +162,8 @@ Parameters has no fields.
| {{$msg0.Name}}{{if $msg0.IsRepeated}}[]{{end}}.{{.Name}} |
{{.Label}} {{.JSONType}} |
- {{if .IsEnum}}(Enum) {{end}}{{- print "" -}}
- {{if .IsOneOf}}(OneOf) {{end}}{{- print "" -}}
+ {{if .IsEnum}}(Enum){{end}}{{- print "" -}}
+ {{if .IsOneOf}}(OneOf){{end}}{{- print "" -}}
{{if (index .Options "deprecated"|default false)}}(Deprecated) {{end}}{{- print "" -}}
{{.Description}}
{{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}{{- print "" -}}
@@ -182,8 +182,8 @@ Parameters has no fields.
| {{$msg0.Name}}{{if $msg0.IsRepeated}}[]{{end}}.{{$msg1.Name}}{{if $msg1.IsRepeated}}[]{{end}}.{{.Name}} |
{{.Label}} {{.JSONType}} |
- {{if .IsEnum}}(Enum) {{end}}{{- print "" -}}
- {{if .IsOneOf}}(OneOf) {{end}}{{- print "" -}}
+ {{if .IsEnum}}(Enum){{end}}{{- print "" -}}
+ {{if .IsOneOf}}(OneOf){{end}}{{- print "" -}}
{{if (index .Options "deprecated"|default false)}}(Deprecated) {{end}}{{- print "" -}}
{{.Description}}
{{if .DefaultValue}}Default: {{.DefaultValue}}{{end}}{{- print "" -}}
diff --git a/www/grpc/gen/docs/grpc.md b/www/grpc/gen/docs/grpc.md
index 81d3ac3b5..3f512c2d6 100644
--- a/www/grpc/gen/docs/grpc.md
+++ b/www/grpc/gen/docs/grpc.md
@@ -14,7 +14,7 @@ Each PAC is equivalent to 1,000,000,000 or 109 NanoPACs.
- Transaction Service
-
+
-
GetTransaction
@@ -50,7 +50,7 @@ Each PAC is equivalent to 1,000,000,000 or 109 NanoPACs.
- Blockchain Service
-
+
-
GetBlock
@@ -98,7 +98,7 @@ Each PAC is equivalent to 1,000,000,000 or 109 NanoPACs.
- Network Service
-
+
-
GetNetworkInfo
@@ -110,7 +110,7 @@ Each PAC is equivalent to 1,000,000,000 or 109 NanoPACs.
- Utils Service
-
- Wallet Service
-
+
-
CreateWallet
@@ -198,7 +198,7 @@ parameters.
verbosity |
TransactionVerbosity |
- (Enum) The verbosity level for transaction details.
+ (Enum)The verbosity level for transaction details.
Available values:
- TRANSACTION_DATA = 0 (Request transaction data only.)
- TRANSACTION_INFO = 1 (Request detailed transaction information.)
@@ -281,7 +281,7 @@ parameters.
transaction.payload_type |
PayloadType |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
- TRANSFER_PAYLOAD = 1 (Transfer payload type.)
@@ -296,7 +296,7 @@ parameters.
transaction.transfer |
PayloadTransfer |
- (OneOf) Transfer transaction payload.
+ (OneOf)Transfer transaction payload.
|
@@ -324,7 +324,7 @@ parameters.
transaction.bond |
PayloadBond |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -359,7 +359,7 @@ parameters.
transaction.sortition |
PayloadSortition |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -380,7 +380,7 @@ parameters.
transaction.unbond |
PayloadUnbond |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -394,7 +394,7 @@ parameters.
transaction.withdraw |
PayloadWithdraw |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -465,7 +465,7 @@ and payload type.
payload_type |
PayloadType |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
- TRANSFER_PAYLOAD = 1 (Transfer payload type.)
@@ -582,28 +582,28 @@ and payload type.
transfer |
PayloadTransfer |
- (OneOf)
+ (OneOf)
|
|
bond |
PayloadBond |
- (OneOf)
+ (OneOf)
|
unbond |
PayloadUnbond |
- (OneOf)
+ (OneOf)
|
withdraw |
PayloadWithdraw |
- (OneOf)
+ (OneOf)
|
@@ -969,7 +969,7 @@ parameters.
verbosity |
BlockVerbosity |
- (Enum) The verbosity level for block information.
+ (Enum)The verbosity level for block information.
Available values:
- BLOCK_DATA = 0 (Request only block data.)
- BLOCK_INFO = 1 (Request block information and transaction IDs.)
@@ -1152,7 +1152,7 @@ BLOCK_TRANSACTIONS.
txs[].payload_type |
PayloadType |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
- TRANSFER_PAYLOAD = 1 (Transfer payload type.)
@@ -1167,7 +1167,7 @@ BLOCK_TRANSACTIONS.
txs[].transfer |
PayloadTransfer |
- (OneOf) Transfer transaction payload.
+ (OneOf)Transfer transaction payload.
|
@@ -1195,7 +1195,7 @@ BLOCK_TRANSACTIONS.
txs[].bond |
PayloadBond |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -1230,7 +1230,7 @@ BLOCK_TRANSACTIONS.
txs[].sortition |
PayloadSortition |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -1251,7 +1251,7 @@ BLOCK_TRANSACTIONS.
txs[].unbond |
PayloadUnbond |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -1265,7 +1265,7 @@ BLOCK_TRANSACTIONS.
txs[].withdraw |
PayloadWithdraw |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -1640,7 +1640,7 @@ committee.
instances[].votes[].type |
VoteType |
- (Enum) The type of the vote.
+ (Enum)The type of the vote.
Available values:
- VOTE_UNKNOWN = 0 (Unknown vote type.)
- VOTE_PREPARE = 1 (Prepare vote type.)
@@ -2053,7 +2053,7 @@ address.
payload_type |
PayloadType |
- (Enum) The type of transactions to retrieve from the transaction pool. 0 means all
+ (Enum)The type of transactions to retrieve from the transaction pool. 0 means all
types.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
@@ -2127,7 +2127,7 @@ types.
txs[].payload_type |
PayloadType |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values: | | |
@@ -2170,7 +2170,7 @@ types.
txs[].bond |
PayloadBond |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -2205,7 +2205,7 @@ types.
txs[].sortition |
PayloadSortition |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -2226,7 +2226,7 @@ types.
txs[].unbond |
PayloadUnbond |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -2240,7 +2240,7 @@ types.
txs[].withdraw |
PayloadWithdraw |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -3061,7 +3061,7 @@ public key.
address_type |
AddressType |
- (Enum) The type of address to generate.
+ (Enum)The type of address to generate.
Available values:
- ADDRESS_TYPE_TREASURY = 0 (Treasury address type.
Should not be used to generate new addresses.)
@@ -3283,7 +3283,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
.proto Type | Go | C++ | Rust | Java | Python | C# |
-
+
double |
float64 |
@@ -3292,7 +3292,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
double |
float |
double |
-
+
float |
float32 |
@@ -3301,7 +3301,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
float |
float |
float |
-
+
int32 |
int32 |
@@ -3310,7 +3310,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
int |
int |
int |
-
+
int64 |
int64 |
@@ -3319,7 +3319,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
long |
int/long |
long |
-
+
uint32 |
uint32 |
@@ -3328,7 +3328,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
int |
int/long |
uint |
-
+
uint64 |
uint64 |
@@ -3337,7 +3337,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
long |
int/long |
ulong |
-
+
sint32 |
int32 |
@@ -3346,7 +3346,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
int |
int |
int |
-
+
sint64 |
int64 |
@@ -3355,7 +3355,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
long |
int/long |
long |
-
+
fixed32 |
uint32 |
@@ -3364,7 +3364,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
int |
int |
uint |
-
+
fixed64 |
uint64 |
@@ -3373,7 +3373,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
long |
int/long |
ulong |
-
+
sfixed32 |
int32 |
@@ -3382,7 +3382,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
int |
int |
int |
-
+
sfixed64 |
int64 |
@@ -3391,7 +3391,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
long |
int/long |
long |
-
+
bool |
bool |
@@ -3400,7 +3400,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
boolean |
boolean |
bool |
-
+
string |
string |
@@ -3409,7 +3409,7 @@ Note: Generating a new Ed25519 address requires the wallet password.)
String |
str/unicode |
string |
-
+
bytes |
[]byte |
@@ -3418,6 +3418,6 @@ Note: Generating a new Ed25519 address requires the wallet password.)
ByteString |
str |
ByteString |
-
+
diff --git a/www/grpc/gen/docs/json-rpc.md b/www/grpc/gen/docs/json-rpc.md
index 5c10a8c24..060c0a0e5 100644
--- a/www/grpc/gen/docs/json-rpc.md
+++ b/www/grpc/gen/docs/json-rpc.md
@@ -65,7 +65,7 @@ curl --location 'http://localhost:8545/' \
- Transaction Service
-
- Blockchain Service
-
- Network Service
-
- Utils Service
-
- Wallet Service
-
+
-
pactus.wallet.create_wallet
@@ -249,7 +249,7 @@ parameters.
verbosity |
numeric |
- (Enum) The verbosity level for transaction details.
+ (Enum)The verbosity level for transaction details.
Available values:
- TRANSACTION_DATA = 0 (Request transaction data only.)
- TRANSACTION_INFO = 1 (Request detailed transaction information.)
@@ -332,7 +332,7 @@ parameters.
transaction.payload_type |
numeric |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values: | | |
@@ -375,7 +375,7 @@ parameters.
transaction.bond |
object |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -410,7 +410,7 @@ parameters.
transaction.sortition |
object |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -431,7 +431,7 @@ parameters.
transaction.unbond |
object |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -445,7 +445,7 @@ parameters.
transaction.withdraw |
object |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -516,7 +516,7 @@ and payload type.
payload_type |
numeric |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
- TRANSFER_PAYLOAD = 1 (Transfer payload type.)
@@ -633,28 +633,28 @@ and payload type.
transfer |
object |
- (OneOf)
+ (OneOf)
|
|
bond |
object |
- (OneOf)
+ (OneOf)
|
unbond |
object |
- (OneOf)
+ (OneOf)
|
withdraw |
object |
- (OneOf)
+ (OneOf)
|
@@ -1020,7 +1020,7 @@ parameters.
verbosity |
numeric |
- (Enum) The verbosity level for block information.
+ (Enum)The verbosity level for block information.
Available values:
- BLOCK_DATA = 0 (Request only block data.)
- BLOCK_INFO = 1 (Request block information and transaction IDs.)
@@ -1203,7 +1203,7 @@ BLOCK_TRANSACTIONS.
txs[].payload_type |
numeric |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
- TRANSFER_PAYLOAD = 1 (Transfer payload type.)
@@ -1218,7 +1218,7 @@ BLOCK_TRANSACTIONS.
txs[].transfer |
object |
- (OneOf) Transfer transaction payload.
+ (OneOf)Transfer transaction payload.
|
@@ -1246,7 +1246,7 @@ BLOCK_TRANSACTIONS.
txs[].bond |
object |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -1281,7 +1281,7 @@ BLOCK_TRANSACTIONS.
txs[].sortition |
object |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -1302,7 +1302,7 @@ BLOCK_TRANSACTIONS.
txs[].unbond |
object |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -1316,7 +1316,7 @@ BLOCK_TRANSACTIONS.
txs[].withdraw |
object |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -1691,7 +1691,7 @@ committee.
instances[].votes[].type |
numeric |
- (Enum) The type of the vote.
+ (Enum)The type of the vote.
Available values:
- VOTE_UNKNOWN = 0 (Unknown vote type.)
- VOTE_PREPARE = 1 (Prepare vote type.)
@@ -2104,7 +2104,7 @@ address.
payload_type |
numeric |
- (Enum) The type of transactions to retrieve from the transaction pool. 0 means all
+ (Enum)The type of transactions to retrieve from the transaction pool. 0 means all
types.
Available values:
- UNKNOWN = 0 (Unknown payload type.)
@@ -2178,7 +2178,7 @@ types.
txs[].payload_type |
numeric |
- (Enum) The type of transaction payload.
+ (Enum)The type of transaction payload.
Available values: | | |
@@ -2221,7 +2221,7 @@ types.
txs[].bond |
object |
- (OneOf) Bond transaction payload.
+ (OneOf)Bond transaction payload.
|
@@ -2256,7 +2256,7 @@ types.
txs[].sortition |
object |
- (OneOf) Sortition transaction payload.
+ (OneOf)Sortition transaction payload.
|
@@ -2277,7 +2277,7 @@ types.
txs[].unbond |
object |
- (OneOf) Unbond transaction payload.
+ (OneOf)Unbond transaction payload.
|
@@ -2291,7 +2291,7 @@ types.
txs[].withdraw |
object |
- (OneOf) Withdraw transaction payload.
+ (OneOf)Withdraw transaction payload.
|
@@ -3112,7 +3112,7 @@ public key.
address_type |
numeric |
- (Enum) The type of address to generate.
+ (Enum)The type of address to generate.
Available values:
- ADDRESS_TYPE_TREASURY = 0 (Treasury address type.
Should not be used to generate new addresses.)
| | | | | | | |