Signature
Parameters
Returns
Updated onchain earnings dataReturn Type
All earnings values are decimal strings (e.g.
"421.315354"), not numbers. Parse them with parseFloat() or a BigNumber library when doing arithmetic.