Documentation ¶
Index ¶
- type Member
- type SDK
- func (sdk *SDK) AddMigrationAddresses(migrationAddresses []string) (string, error)
- func (sdk *SDK) CreateMember() (*Member, string, error)
- func (sdk *SDK) DoRequest(urls *ringBuffer, user *requester.UserConfigJSON, method string, ...) (*requester.ContractResult, error)
- func (sdk *SDK) GetBalance(m *Member) (*big.Int, error)
- func (sdk *SDK) GetFeeMember() *Member
- func (sdk *SDK) SetLogLevel(logLevel string) error
- func (sdk *SDK) Transfer(amount string, from *Member, to *Member) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SDK ¶
type SDK struct {
// contains filtered or unexported fields
}
SDK is used to send messages to API
func (*SDK) AddMigrationAddresses ¶ added in v0.9.0
addMigrationAddresses method add burn addresses
func (*SDK) CreateMember ¶
CreateMember api request creates member with new random keys
func (*SDK) DoRequest ¶ added in v0.9.0
func (sdk *SDK) DoRequest(urls *ringBuffer, user *requester.UserConfigJSON, method string, params map[string]interface{}) (*requester.ContractResult, error)
func (*SDK) GetBalance ¶
GetBalance returns current balance of the given member.
func (*SDK) GetFeeMember ¶ added in v0.9.2
func (*SDK) SetLogLevel ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.