Skip to content

Commit d3e8746

Browse files
committed
docs(rpc): add submit field to legacy protxs
1 parent da69d88 commit d3e8746

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

docs/core/api/remote-procedure-calls-evo.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,12 +1715,24 @@ The `protx update_service_evo` RPC creates and sends a ProUpServTx to the networ
17151715
| ------------------ | ------ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17161716
| `feeSourceAddress` | string | Optional<br>(0 or 1) | If specified, the wallet will only use coins from this address to fund the ProTx. If not specified, `operatorPayoutAddress` will be used. The private key belonging to this address must be known in your wallet. |
17171717

1718-
*Result---provider update service transaction hash*
1718+
*Parameter #9---whether to submit to the network or not*
1719+
1720+
| Name | Type | Presence | Description |
1721+
| - | - | - | - |
1722+
| `submit` | bool | Optional<br>(0 or 1) | **Added in Dash Core 23.0.0**<br>If `true` (default), the resulting transaction is sent to the network. |
1723+
1724+
*Result if `submit` is not set or set to `true`---provider update service transaction hash*
17191725

17201726
| Name | Type | Presence | Description |
17211727
| -------- | ------------ | ----------------------- | ------------------------------------------------------ |
17221728
| `result` | string (hex) | Required<br>(exactly 1) | Provider update service transaction (ProUpServTx) hash |
17231729

1730+
*Result if `submit` is set to `false`---serialized transaction*
1731+
1732+
| Name | Type | Presence | Description |
1733+
| - | - | - | - |
1734+
| `result` | string (hex) | Required<br>(exactly 1) | The serialized signed ProUpServTx in hex format |
1735+
17241736
*Example from Dash Core 20.0.0*
17251737

17261738
```bash
@@ -1954,11 +1966,23 @@ The `protx update_registrar_legacy` RPC creates and sends a ProUpRegTx to the ne
19541966
| ------------------ | ------ | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19551967
| `feeSourceAddress` | string | Optional<br>(0 or 1) | If specified, the wallet will only use coins from this address to fund ProTx. If not specified, payoutAddress is the one that is going to be used. The private key belonging to this address must be known in your wallet. |
19561968

1957-
*Result---provide transaction ID*
1969+
*Parameter #6---whether to submit to the network or not*
1970+
1971+
| Name | Type | Presence | Description |
1972+
| - | - | - | - |
1973+
| `submit` | bool | Optional<br>(0 or 1) | **Added in Dash Core 23.0.0**<br>If `true` (default), the resulting transaction is sent to the network. |
1974+
1975+
*Result if `submit` is not set or set to `true`---provider update registrar transaction hash*
19581976

19591977
| Name | Type | Presence | Description |
19601978
| -------- | ------------ | ----------------------- | ---------------------- |
1961-
| `result` | string (hex) | Required<br>(exactly 1) | Receive transaction ID |
1979+
| `result` | string (hex) | Required<br>(exactly 1) | Provider update registrar transaction (ProUpRegTx) hash |
1980+
1981+
*Result if `submit` is set to `false`---serialized transaction*
1982+
1983+
| Name | Type | Presence | Description |
1984+
| - | - | - | - |
1985+
| `result` | string (hex) | Required<br>(exactly 1) | The serialized signed ProUpRegTx in hex format |
19621986

19631987
*Example from Dash Core 19.0.0*
19641988

0 commit comments

Comments
 (0)