package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The functions in this module are considered too costly to be used in the protocol. They are meant to be used only to answer RPC calls.

Returns the full 'balance' of the implicit contract associated to a given key, i.e. the sum of the spendable balance (given by balance or Contract_storage.get_balance) and of the frozen balance. The frozen balance is composed of all frozen bonds associated to the contract (given by Contract_storage.get_frozen_bonds) and of the part of the frozen deposits (given by frozen_deposits) that belongs to the delegate.

Only use this function for RPCs: this is expensive.

OCaml

Innovation. Community. Security.