OBJECT

mutation

link GraphQL Schema definition

  • type mutation {
  • # Add a wallet - this will create a new keypair and store it in the daemon
  • #
  • # Arguments
  • # input: [Not documented]
  • addWallet(
  • input: AddAccountInput!
  • ): AddAccountPayload! @deprecated( reason: "use createAccount instead" )
  • # Create a new account - this will create a new keypair and store it in the daemon
  • #
  • # Arguments
  • # input: [Not documented]
  • createAccount(input: AddAccountInput!): AddAccountPayload!
  • # Allow transactions to be sent from the unlocked account
  • #
  • # Arguments
  • # input: [Not documented]
  • unlockAccount(input: UnlockInput!): UnlockPayload!
  • # Allow transactions to be sent from the unlocked account
  • #
  • # Arguments
  • # input: [Not documented]
  • unlockWallet(
  • input: UnlockInput!
  • ): UnlockPayload! @deprecated( reason: "use unlockAccount instead" )
  • # Lock an unlocked account to prevent transaction being sent from it
  • #
  • # Arguments
  • # input: [Not documented]
  • lockAccount(input: LockInput!): LockPayload!
  • # Lock an unlocked account to prevent transaction being sent from it
  • #
  • # Arguments
  • # input: [Not documented]
  • lockWallet(
  • input: LockInput!
  • ): LockPayload! @deprecated( reason: "use lockAccount instead" )
  • # Delete the private key for an account that you track
  • #
  • # Arguments
  • # input: [Not documented]
  • deleteAccount(input: DeleteAccountInput!): DeleteAccountPayload!
  • # Delete the private key for an account that you track
  • #
  • # Arguments
  • # input: [Not documented]
  • deleteWallet(
  • input: DeleteAccountInput!
  • ): DeleteAccountPayload! @deprecated( reason: "use deleteAccount instead" )
  • # Reload tracked account information from disk
  • reloadAccounts: ReloadAccountsPayload!
  • # Reload tracked account information from disk
  • reloadWallets: ReloadAccountsPayload! @deprecated( reason: "use reloadAccounts instead" )
  • # Send a payment
  • #
  • # Arguments
  • # input: [Not documented]
  • sendPayment(input: SendPaymentInput!): SendPaymentPayload!
  • # Change your delegate by sending a transaction
  • #
  • # Arguments
  • # input: [Not documented]
  • sendDelegation(input: SendDelegationInput!): SendDelegationPayload!
  • # Add payment into transaction database
  • #
  • # Arguments
  • # input: [Not documented]
  • addPaymentReceipt(input: AddPaymentReceiptInput!): AddPaymentReceiptPayload
  • # Set keys you wish to stake with - silently fails if you pass keys corresponding
  • # to accounts that are either locked or in trackedAccounts
  • #
  • # Arguments
  • # input: [Not documented]
  • setStaking(input: SetStakingInput!): SetStakingPayload!
  • # Set key you wish to snark work with or disable snark working
  • #
  • # Arguments
  • # input: [Not documented]
  • setSnarkWorker(input: SetSnarkWorkerInput!): SetSnarkWorkerPayload!
  • # Set fee that you will like to receive for doing snark work
  • #
  • # Arguments
  • # input: [Not documented]
  • setSnarkWorkFee(input: SetSnarkWorkFee!): SetSnarkWorkFeePayload!
  • }

link Require by

This element is not required by anyone