Discover Packages
github.com/provenance-io/provenance
x
attribute
client
rest
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 31, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
The HTTP handler for setting account attributes.
The HTTP handler for removing account attributes.
RegisterHandlers registers the rest query and tx handlers
type AddAccountAttributeRequest struct {
BaseReq rest .BaseReq `json:"base_req"`
Name string `json:"name"`
Value string `json:"value"`
Type string `json:"type"`
Account string `json:"account"`
}
Request type for setting account attributes.
type DeleteAccountAttributeRequest struct {
BaseReq rest .BaseReq `json:"base_req"`
Name string `json:"name"`
Account string `json:"account"`
}
Request type for removing account attributes.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.