Steem Developer logo

Steem Developer Portal

Returns the simulated curve for payouts. Parameters: curve:string; var1:string

Note: The rewards_api plugin is for testing purposes only, do not run in production.

curve (string) var1 (string)  
"quadratic" “2000000000000”  
"bounded_curation" “2000000000000”  
"linear" “2000000000000”  
"square_root" “2000000000000”  
"convergent_linear" “2000000000000”  
"convergent_square_root" “2000000000000”  

See: #3325

rewards_api.simulate_curve_payouts

Query Parameters JSON
{"curve": "quadratic", "var1": "2000000000000"}
Expected Response JSON
{"recent_claims": "", "payouts": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "quadratic", "var1": "2000000000000"}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "bounded_curation", "var1": "2000000000000"}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "linear", "var1": "2000000000000"}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "square_root", "var1": "2000000000000"}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "convergent_linear", "var1": "2000000000000"}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"rewards_api.simulate_curve_payouts", "params": {"curve": "convergent_square_root", "var1": "2000000000000"}, "id":1}' https://api.steemit.com