OBJECT

UserCommand

link GraphQL Schema definition

  • type UserCommand {
  • id: ID!
  • # If true, this represents a delegation of stake, otherwise it is a payment
  • isDelegation: Boolean!
  • # Nonce of the transaction
  • nonce: Int!
  • # Public key of the sender
  • from: PublicKey! @deprecated( reason: "use fromAccount field instead" )
  • # Account of the sender
  • fromAccount: Account!
  • # Public key of the receiver
  • to: PublicKey! @deprecated( reason: "use toAccount field instead" )
  • # Account of the receiver
  • toAccount: Account!
  • # Amount that sender is sending to receiver - this is 0 for delegations
  • amount: UInt64!
  • # Fee that sender is willing to pay for making the transaction
  • fee: UInt64!
  • # Short arbitrary message provided by the sender
  • memo: String!
  • }