Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M monero-site
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • monero-project
  • monero-site
  • Issues
  • #224
Closed
Open
Issue created Feb 17, 2017 by monero-project@monero-projectOwner

Daemon-rpc doc: Add correct output description for /sendrawtransaction

Created by: cryptoshrimpi

URL: https://getmonero.org/knowledge-base/developer-guides/daemon-rpc#sendrawtransaction

The output of /sendrawtransaction is described as:

Outputs:

  • status - string; General RPC error code. "OK" means everything looks good.

In Monero v0.10.1.0 the actual output for an invalid tx_as_hex input value such as 'abc' is

{ double_spend: false,
  fee_too_low: false,
  invalid_input: false,
  invalid_output: false,
  low_mixin: false,
  not_rct: false,
  not_relayed: false,
  overspend: false,
  reason: '',
  status: 'Failed',
  too_big: false }

This leads to the following type pattern:

double_spend: boolean;
fee_too_low: boolean;
invalid_input: boolean;
invalid_output: boolean;
low_mixin: boolean;
not_rct: boolean;
not_relayed: boolean;
overspend: boolean;
reason: string;
status: string;
too_big: boolean;
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking