title | order |
---|---|
Set Options Object |
80 |
import { ExampleResponse } from "components/ExampleResponse"; import { AttributeTable } from "components/AttributeTable";
Sets an account's flags, inflation destination, signers, and home domain.
See the Set Options
errors.
- ATTRIBUTE
- DATA TYPE
- DESCRIPTION
- signer_key
- string
- The public key of the new signer.
- signer_weight
- number
- The weight of the new signer. Can range from
1
to255
.
- master_key_weight
- number
- The weight of the master key. Can range from
1
to255
.
- low_threshold
- number
- The sum weight for the low threshold.
- med_threshold
- number
- The sum weight for the medium threshold.
- high_threshold
- number
- The sum weight for the high threshold.
- home_domain
- string
- The home domain used for stellar.toml file discovery.
- set_flags
- array
- The array of numeric values of flags that has been set in this operation. Options include
1
forAUTH_REQUIRED_FLAG
,2
forAUTH_REVOCABLE_FLAG
, and4
forAUTH_IMMUTABLE_FLAG
.
- set_flags_s
- array
- The array of string values of flags that has been set in this operation. Options include
AUTH_REQUIRED_FLAG
,AUTH_REVOCABLE_FLAG
, andAUTH_IMMUTABLE_FLAG
.
- clear_flags
- array
- The array of numeric values of flags that has been cleared in this operation. Options include
1
forAUTH_REQUIRED_FLAG
,2
forAUTH_REVOCABLE_FLAG
, and4
forAUTH_IMMUTABLE_FLAG
.
- clear_flags_s
- array
- The array of string values of flags that has been cleared in this operation. Options include
AUTH_REQUIRED_FLAG
,AUTH_REVOCABLE_FLAG
, andAUTH_IMMUTABLE_FLAG
.
{
"_links": {
"self": {
"href": "https://horizon.stellar.org/operations/102125410241826819"
},
"transaction": {
"href": "https://horizon.stellar.org/transactions/e020277cf755a1c29234d34f123f546a2c4805d7b4ca9303e253667b0ff4d846"
},
"effects": {
"href": "https://horizon.stellar.org/operations/102125410241826819/effects"
},
"succeeds": {
"href": "https://horizon.stellar.org/effects?order=desc\u0026cursor=102125410241826819"
},
"precedes": {
"href": "https://horizon.stellar.org/effects?order=asc\u0026cursor=102125410241826819"
}
},
"id": "102125410241826819",
"paging_token": "102125410241826819",
"transaction_successful": true,
"source_account": "GABMKJM6I25XI4K7U6XWMULOUQIQ27BCTMLS6BYYSOWKTBUXVRJSXHYQ",
"type": "set_options",
"type_i": 5,
"created_at": "2019-05-08T21:20:34Z",
"transaction_hash": "e020277cf755a1c29234d34f123f546a2c4805d7b4ca9303e253667b0ff4d846",
"home_domain": "www.stellar.org"
}