Versions in this module Expand all Collapse all v0 v0.4.0 Apr 4, 2024 v0.3.0 Feb 28, 2024 Changes in this version + const BalancePath + const FeeCreditPath + const InfoPath + const ListBillsPath + const RoundNumberPath + const TransactionsPath + const TxHistoryPath + const UnitsPath + type MoneyBackendClient struct + BaseUrl *url.URL + HttpClient http.Client + func New(baseUrl string, observe Observability) (*MoneyBackendClient, error) + func (c *MoneyBackendClient) GetBalance(ctx context.Context, pubKey []byte, includeDCBills bool) (uint64, error) + func (c *MoneyBackendClient) GetBills(ctx context.Context, pubKey []byte) ([]*sdk.Bill, error) + func (c *MoneyBackendClient) GetFeeCreditBill(ctx context.Context, unitID types.UnitID) (*sdk.Bill, error) + func (c *MoneyBackendClient) GetInfo(ctx context.Context) (*sdk.InfoResponse, error) + func (c *MoneyBackendClient) GetRoundNumber(ctx context.Context) (*sdk.RoundNumber, error) + func (c *MoneyBackendClient) GetTxHistory(ctx context.Context, pubKey sdk.PubKey, offset string, limit int) ([]*sdk.TxHistoryRecord, string, error) + func (c *MoneyBackendClient) GetTxProof(ctx context.Context, unitID types.UnitID, txHash sdk.TxHash) (*sdk.Proof, error) + func (c *MoneyBackendClient) ListBills(ctx context.Context, pubKey []byte, includeDCBills bool, offsetKey string, ...) (*backend.ListBillsResponse, error) + func (c *MoneyBackendClient) PostTransactions(ctx context.Context, pubKey sdk.PubKey, txs *sdk.Transactions) error + type Observability interface + TracerProvider func() trace.TracerProvider