Last updated 10 months ago
Was this helpful?
This is the interface for storage miners to update their earnings account.
// UpdateBeneficiary updates earnings account for storage miner // // - earnings: earnings account // // Return: // - string: block hash // - error: error message func (c *ChainClient) UpdateBeneficiary(earnings string) (string, error)
For example code, please refer to