Versions in this module Expand all Collapse all v0 v0.0.2 Sep 14, 2023 v0.0.1 Apr 28, 2021 Changes in this version + type Proxy struct + func New(url string) *Proxy + func (oc *Proxy) AccountIdentifierFromPublicKey(pubKey *types.PublicKey) (*types.AccountIdentifier, error) + func (oc *Proxy) Balances(ctx context.Context, addr string, height *int64) (res *types.AccountBalanceResponse, err error) + func (oc *Proxy) BlockByHash(ctx context.Context, hash string) (*types.BlockResponse, error) + func (oc *Proxy) BlockByHeight(ctx context.Context, height int64) (*types.BlockResponse, error) + func (oc *Proxy) BlockTransactionsByHash(ctx context.Context, hash string) (*types.BlockTransactionResponse, error) + func (oc *Proxy) BlockTransactionsByHeight(ctx context.Context, height *int64) (*types.BlockTransactionResponse, error) + func (oc *Proxy) Bootstrap() error + func (oc *Proxy) ConstructionMetadataFromOptions(ctx context.Context, options map[string]interface{}) (meta map[string]interface{}, err error) + func (oc *Proxy) ConstructionPayload(ctx context.Context, req *types.ConstructionPayloadsRequest) (resp *types.ConstructionPayloadsResponse, err error) + func (oc *Proxy) CurrentBlock(ctx context.Context) (*types.BlockResponse, error) + func (oc *Proxy) GetTx(ctx context.Context, hash string) (*types.Transaction, error) + func (oc *Proxy) GetUnconfirmedTx(ctx context.Context, hash string) (*types.Transaction, error) + func (oc *Proxy) Mempool(ctx context.Context) ([]*types.TransactionIdentifier, error) + func (oc *Proxy) OperationStatuses() []*types.OperationStatus + func (oc *Proxy) Peers(ctx context.Context) ([]*types.Peer, error) + func (oc *Proxy) PostTx(txBytes []byte) (res *types.TransactionIdentifier, meta map[string]interface{}, err error) + func (oc *Proxy) PreprocessOperationsToOptions(ctx context.Context, req *types.ConstructionPreprocessRequest) (resp *types.ConstructionPreprocessResponse, err error) + func (oc *Proxy) Ready() error + func (oc *Proxy) SignedTx(ctx context.Context, txBytes []byte, sigs []*types.Signature) (signedTxBytes []byte, err error) + func (oc *Proxy) Status(ctx context.Context) (*types.SyncStatus, error) + func (oc *Proxy) SupportedOperations() []string + func (oc *Proxy) TxOperationsAndSignersAccountIdentifiers(signed bool, hexBytes []byte) (ops []*types.Operation, signers []*types.AccountIdentifier, err error) + func (oc *Proxy) Version() string