OBJECT
Mutation
link GraphQL Schema definition
- type Mutation {
- # Create a new account
- #
- # Arguments
- # description: The description of the account
- # passphrase: User provided passphrase used to encrypt/decrypt
- # secret during transactions
- # trust_auth_required: Set the flag requiring other trustors to
- # be authorized before trusting this account's assets
- # pre_authorize_transactions: Set the flag requiring this account
- # to use pre-authorized transactions
- # home_domain: Set the home domain for the account
- (
- : String,
- : String!,
- : Boolean,
- : Boolean,
- : String
- ): Account
- # Create a new account from an existing Account
- #
- # Arguments
- # description: The description of the account
- # source_public_key: Public Key of the source account
- # source_secret: Secret of the source account
- # passphrase: User provided passphrase used to encrypt/decrypt
- # secret during transactions
- # initial_balance: Initial balance to seed the account with
- # trust_auth_required: Set the flag requiring other trustors to
- # be authorized before trusting this account's assets
- # pre_authorize_transactions: Set the flag requiring this account
- # to use pre-authorized transactions
- # home_domain: Set the home domain for the account
- (
- : String,
- : String!,
- : String!,
- : String!,
- : String!,
- : Boolean,
- : Boolean,
- : String
- ): Account
- # Create a new asset owned by an existing Account
- #
- # Arguments
- # asset_code: Alphanumeric code that uniquely identifies the
- # asset
- # asset_issuer: Public key of the asset issuer (creator)
- # description: The description of the asset
- (
- : String!,
- : String!,
- : String
- ): Asset
- # Initiate a signer transaction
- #
- # Arguments
- # public_key: Public key of the owner of the account
- # signer: Public key of the signer to add to the account
- # weight: Weight assigned to the added signer for transactions on
- # this account
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : Int!,
- : Boolean
- ): Transaction
- # Initiate a transaction for establishing thresholds and weights for account
- # transactions
- #
- # Arguments
- # public_key: Public key of the owner of the account
- # weight: Master key signing weight for the account
- # low: Signing weight for low threshold transactions on the
- # account
- # medium: Signing weight for medium threshold transactions on the
- # account
- # high: Signing weight for high threshold transactions on the
- # account
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : Int!,
- : Int!,
- : Int!,
- : Int!,
- : Boolean
- ): Transaction
- # Create a payment for a given account
- #
- # Arguments
- # sender_public_key: Public key of the owner of the account
- # receiver_public_key: Public key of the recipient of the poyment
- # asset_code: Alphanumeric code that uniquely identifies the
- # asset
- # asset_issuer: Public key of the issuer of the asset
- # amount: Amount of the asset to distribute
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : String!,
- : Boolean
- ): Transaction
- # Initiate a transaction for allowing trust of a given asset
- #
- # Arguments
- # asset_issuer: Public key of the issuer of the asset
- # asset_code: Alphanumeric code that uniquely identifies the
- # asset
- # trustor_public_key: Public key of the trustor of the asset
- # authorize_trust: Boolean indicating whether or not to allow
- # (revoke) trust
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : Boolean!,
- : Boolean
- ): Transaction
- # Initiate a transaction for establishing trust for a given asset
- #
- # Arguments
- # trustor_public_key: Public key of the owner of the account
- # asset_code: Alphanumeric code that uniquely identifies the
- # asset
- # asset_issuer: Public key of the issuer of the asset
- # limit: Maximum amount of the asset to trust
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : String!,
- : Boolean
- ): Transaction
- # Initiate a transaction for creating an offer to buy/sell/exchange an asset
- #
- # Arguments
- # public_key: Public key of the account
- # sell_asset_code: Alphanumeric code that identifies the asset
- # being sold
- # sell_asset_issuer: Public key issuer of the asset being offered
- # for sale
- # sell_amount: Amount of the asset being offered for sale
- # buy_asset_code: Alphanumeric code that identifies the asset
- # being bought
- # buy_asset_issuer: Public key issuer of the asset being bought
- # buy_amount: Amount of the asset being bought
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String,
- : String!,
- : String!,
- : String,
- : String!,
- : Boolean
- ): Transaction
- # Initiate a transaction for updating an existing offer to buy/sell/exchange an
- # asset
- #
- # Arguments
- # public_key: Public key of the account
- # offer_id: Offer ID of the existing offer that is being updated
- # sell_asset_code: Alphanumeric code that identifies the asset
- # being sold
- # sell_asset_issuer: Public key issuer of the asset being offered
- # for sale
- # sell_amount: Amount of the asset being offered for sale
- # buy_asset_code: Alphanumeric code that identifies the asset
- # being bought
- # buy_asset_issuer: Public key issuer of the asset being bought
- # buy_amount: Amount of the asset being bought
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : String,
- : String!,
- : String!,
- : String,
- : String!,
- : Boolean
- ): Transaction
- # Initiate a transaction for deleting an existing offer to buy/sell/exchange an
- # asset
- #
- # Arguments
- # public_key: Public key of the account
- # offer_id: Offer ID of the existing offer that is being deleted
- # sell_asset_code: Alphanumeric code that identifies the asset
- # being sold
- # sell_asset_issuer: Public key issuer of the asset being offered
- # for sale
- # buy_asset_code: Alphanumeric code that identifies the asset
- # being bought
- # buy_asset_issuer: Public key issuer of the asset being bought
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : String,
- : String!,
- : String,
- : Boolean
- ): Transaction
- # Arguments
- # public_key: Public key of the account
- # flag_operation: Flag operation
- # flag_to_set: Flag to set
- # pre_authorize_transaction: Optional flag making this a
- # pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : Boolean
- ): Transaction
- # Arguments
- # public_key: Public key of the owner of the transaction
- # passphrase: User provided passphrase used to decrypt account
- # secret during transactions
- # transaction_id: Transaction id that uniquely identifies the
- # transaction to sign
- (
- : String!,
- : String!,
- : String!
- ): Transaction
- # Arguments
- # public_key: Public key of the owner of the transaction
- # passphrase: User provided passphrase used to decrypt account
- # secret during transactions
- # transaction_id: Transaction id that uniquely identifies the
- # transaction to pre-authorize
- # final_approver: Public key of approver that can perform final
- # submission of pre-authorized transaction
- (
- : String!,
- : String!,
- : String!,
- : String!
- ): Transaction
- # Arguments
- # transaction_id: Transaction id that uniquely identifies the
- # pre-authorized transaction to submit
- # final_approver: Public key of approver performing final
- # submission of pre-authorized transaction
- (
- : String!,
- : String!
- ): Transaction
- }
link Require by
This element is not required by anyone