Steemit icon

Steemit

Publish and manage content on Steemit

Overview

This node allows users to interact with the Steemit blockchain platform, specifically enabling them to claim their available reward balances. The "Claim Reward Balance" operation lets users either claim all their accumulated rewards at once or specify exact amounts of STEEM, SBD, and VESTS tokens to claim.

Typical use cases include:

  • Automatically claiming all pending rewards from a Steemit account as part of a scheduled workflow.
  • Claiming specific amounts of different reward types when partial claims are desired.
  • Integrating Steemit reward management into broader automation pipelines for content creators or community managers.

For example, a user might set up this node to run daily and claim all available rewards automatically, ensuring they receive their earnings without manual intervention.

Properties

Name Meaning
Claim All Available Rewards Boolean option to claim all available rewards at once (true) or specify amounts manually (false).
STEEM Amount Amount of STEEM tokens to claim if not claiming all rewards. Format: string like "0.000 STEEM".
SBD Amount Amount of SBD tokens to claim if not claiming all rewards. Format: string like "0.000 SBD".
VESTS Amount Amount of VESTS tokens to claim if not claiming all rewards. Format: string like "0.000000 VESTS".

Output

The output JSON object contains the result of the claim operation with the following structure:

  • success: Boolean indicating whether the claim was successful.
  • transaction_id: The unique identifier of the blockchain transaction that executed the claim.
  • block_num: The block number in which the transaction was included.
  • claimed: An object detailing the amounts claimed:
    • steem: Amount of STEEM tokens claimed.
    • sbd: Amount of SBD tokens claimed.
    • vests: Amount of VESTS tokens claimed.

Example output JSON:

{
  "success": true,
  "transaction_id": "abc123transactionid",
  "block_num": 12345678,
  "claimed": {
    "steem": "1.234 STEEM",
    "sbd": "0.567 SBD",
    "vests": "123.456789 VESTS"
  }
}

Dependencies

  • Requires an API key credential with posting permissions on a Steemit account.
  • Connects to the Steemit blockchain via the public API endpoint https://api.steemit.com.
  • Uses the @upvu/dsteem library for blockchain operations.
  • Requires the user's Steemit account name and private posting key for signing transactions.

Troubleshooting

  • Error: Account with username '...' not found
    This occurs if the provided Steemit username does not exist or is incorrect. Verify the username spelling and ensure the account exists on Steemit.

  • Cannot claim VESTS separately error
    The node enforces that VESTS rewards cannot be claimed independently. To claim VESTS, you must either enable "Claim All Available Rewards" or ensure STEEM/SBD rewards are also being claimed. Adjust the input properties accordingly.

  • Transaction failures or broadcast errors
    These may happen due to invalid keys, network issues, or insufficient permissions. Ensure the API credentials are correct and have posting rights. Also, check network connectivity to the Steemit API endpoint.

  • Invalid amount formats
    When specifying amounts manually, ensure the format matches the expected pattern (e.g., "0.000 STEEM"). Incorrect formatting can cause errors.

Links and References

Discussion