Documentation ¶
Index ¶
- type Api
- func (this *Api) ExecuteOperations(_ context.Context, params *struct{ RawOperations string }) (bool, error)
- func (this *Api) FindOperation(_ context.Context, params *struct{ Ophash string }) (*network.Operation, error)
- func (this *Api) GetAccount(_ context.Context, params *struct{ Account uint32 }) (*network.Account, error)
- func (this *Api) GetAccountOperations(_ context.Context, params ...) ([]network.Operation, error)
- func (this *Api) GetBlock(_ context.Context, params *struct{ Block uint32 }) (*network.Block, error)
- func (this *Api) GetBlockCount(context.Context, *struct{}) (int, error)
- func (this *Api) GetBlockOperations(_ context.Context, params *struct{ Block uint32 }) ([]network.Operation, error)
- func (a *Api) GetBlockTemplate(_ context.Context, params ...) (*network.BlockTemplate, error)
- func (a *Api) GetHandlers() map[string]interface{}
- func (this *Api) GetPending(context.Context, *struct{}) ([]network.Operation, error)
- func (this *Api) GetPubKeyAccounts(_ context.Context, params *struct{ B58_pubkey string }) ([]uint32, error)
- func (a *Api) SubmitBlock(_ context.Context, params []string) (*network.SubmitBlock, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
func NewApi ¶
func NewApi(blockchain *blockchain.Blockchain) *Api
func (*Api) ExecuteOperations ¶
func (*Api) FindOperation ¶
func (*Api) GetAccount ¶
func (*Api) GetAccountOperations ¶
func (*Api) GetBlockOperations ¶
func (*Api) GetBlockTemplate ¶
func (*Api) GetHandlers ¶
func (*Api) GetPending ¶
func (*Api) GetPubKeyAccounts ¶
func (*Api) SubmitBlock ¶
Click to show internal directories.
Click to hide internal directories.