Skip to main content

Set Options Object

Sets an account's flags, inflation destination, signers, and home domain.

See the Set Options errors.

  • ATTRIBUTEDATA TYPE

    DESCRIPTION

  • signer_keystring

    The public key of the new signer.

  • signer_weightnumber

    The weight of the new signer. Can range from 1 to 255.

  • master_key_weightnumber

    The weight of the master key. Can range from 1 to 255.

  • low_thresholdnumber

    The sum weight for the low threshold.

  • med_thresholdnumber

    The sum weight for the medium threshold.

  • high_thresholdnumber

    The sum weight for the high threshold.

  • home_domainstring

    The home domain used for stellar.toml file discovery.

  • set_flagsarray

    The array of numeric values of flags that has been set in this operation. Options include 1 for AUTH_REQUIRED_FLAG, 2 for AUTH_REVOCABLE_FLAG, and 4 for AUTH_IMMUTABLE_FLAG.

  • set_flags_sarray

    The array of string values of flags that has been set in this operation. Options include AUTH_REQUIRED_FLAG, AUTH_REVOCABLE_FLAG, and AUTH_IMMUTABLE_FLAG.

  • clear_flagsarray

    The array of numeric values of flags that has been cleared in this operation. Options include 1 for AUTH_REQUIRED_FLAG, 2 for AUTH_REVOCABLE_FLAG, and 4 for AUTH_IMMUTABLE_FLAG.

  • clear_flags_sarray

    The array of string values of flags that has been cleared in this operation. Options include AUTH_REQUIRED_FLAG, AUTH_REVOCABLE_FLAG, and AUTH_IMMUTABLE_FLAG.

  • Example
    {
    "_links": {
    "self": {
    "href": "https://horizon-testnet.stellar.org/operations/102125410241826819"
    },
    "transaction": {
    "href": "https://horizon-testnet.stellar.org/transactions/e020277cf755a1c29234d34f123f546a2c4805d7b4ca9303e253667b0ff4d846"
    },
    "effects": {
    "href": "https://horizon-testnet.stellar.org/operations/102125410241826819/effects"
    },
    "succeeds": {
    "href": "https://horizon-testnet.stellar.org/effects?order=desc\u0026cursor=102125410241826819"
    },
    "precedes": {
    "href": "https://horizon-testnet.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"
    }