Documentation ¶
Index ¶
- Variables
- type APIClient
- func (c *APIClient) GetAccount(ctx context.Context, block *tlb.BlockInfo, addr *address.Address) (*Account, error)
- func (c *APIClient) GetBlockInfo(ctx context.Context) (*tlb.BlockInfo, error)
- func (c *APIClient) ListTransactions(ctx context.Context, addr *address.Address, num uint32, lt uint64, ...) ([]*tlb.Transaction, error)
- func (c *APIClient) RunGetMethod(ctx context.Context, blockInfo *tlb.BlockInfo, addr *address.Address, ...) ([]interface{}, error)
- func (c *APIClient) SendExternalMessage(ctx context.Context, addr *address.Address, msg *cell.Cell) error
- type Account
- type LiteClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMessageNotAccepted = errors.New("message was not accepted by the contract")
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewAPIClient ¶
func NewAPIClient(client LiteClient) *APIClient
func (*APIClient) GetAccount ¶ added in v0.3.0
func (*APIClient) GetBlockInfo ¶
func (*APIClient) ListTransactions ¶ added in v0.5.0
func (*APIClient) RunGetMethod ¶
type LiteClient ¶
type LiteClient interface {
Do(ctx context.Context, typeID int32, payload []byte) (*liteclient.LiteResponse, error)
}
Click to show internal directories.
Click to hide internal directories.