This is the interface for registering as a gateway.
// RegisterOss registered as oss role // - domain: domain name, can be empty // // Return: // - string: block hash // - error: error message func (c *ChainClient) RegisterOss(domain string) (string, error)
For example code, please refer to run.goarrow-up-right
Last updated 1 year ago