Search Results for

    Show / Hide Table of Contents

    Class ContractQuery

    Rpc query to access contract data

    Inheritance
    System.Object
    RpcQuery
    RpcObject
    ContractQuery
    Inherited Members
    RpcObject.GetAsync()
    RpcObject.GetAsync<T>()
    RpcQuery.ToString()
    Namespace: Netezos.Rpc.Queries
    Assembly: Netezos.dll
    Syntax
    public class ContractQuery : RpcObject

    Properties

    | Improve this Doc View Source

    AllTicketBalances

    Gets the query to the complete list of tickets owned by the given contract by scanning the contract's storage.

    Declaration
    public RpcObject AllTicketBalances { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Balance

    Gets the query to the spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'spendable' RPC.

    Declaration
    public RpcObject Balance { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    BalanceAndFrozenBonds

    Gets the query to the sum (in mutez) of the spendable balance and frozen bonds of a contract. Corresponds to the contract's full balance from which staked funds and unstake requests have been excluded. Identical to the 'spendable_and_frozen_bonds' RPC.

    Declaration
    public RpcObject BalanceAndFrozenBonds { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    BigMap

    Gets the query to the value associated with a key in the big map storage of the contract

    Declaration
    public BigMapQuery BigMap { get; }
    Property Value
    Type Description
    BigMapQuery
    | Improve this Doc View Source

    Counter

    Gets the query to the counter of a contract, if any

    Declaration
    public RpcObject Counter { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Delegatable

    Gets the query to the flag, indicating if the contract delegate can be changed

    Declaration
    public RpcObject Delegatable { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Delegate

    Gets the query to the delegate of a contract, if any

    Declaration
    public RpcObject Delegate { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Entrypoints

    Return the list of entrypoints of the contract

    Declaration
    public EntrypointsQuery Entrypoints { get; }
    Property Value
    Type Description
    EntrypointsQuery
    | Improve this Doc View Source

    EstimatedOwnPendingSlashedAmount

    Gets the query to the estimated own pending slashed amount (in mutez) of a contract.

    Declaration
    public RpcObject EstimatedOwnPendingSlashedAmount { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    FrozenBonds

    Gets the query to the frozen bonds of a contract.

    Declaration
    public RpcObject FrozenBonds { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    FullBalance

    Gets the query to the full balance (in mutez) of the contract. Includes its spendable balance, staked tez, unstake requests, and frozen bonds. Even if the contract is a delegate, it does not include any staked or delegated tez owned by external delegators.

    Declaration
    public RpcObject FullBalance { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Manager

    Gets the query to the manager of a contract

    Declaration
    public RpcObject Manager { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    ManagerKey

    Gets the query to the manager of a contract and his key

    Declaration
    public RpcObject ManagerKey { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Script

    Gets the query to the code and data of the contract

    Declaration
    public ScriptQuery Script { get; }
    Property Value
    Type Description
    ScriptQuery
    | Improve this Doc View Source

    Spendable

    Gets the query to the spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'balance' RPC.

    Declaration
    public RpcObject Spendable { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    SpendableAndFrozenBonds

    Gets the query to the sum (in mutez) of the spendable balance and frozen bonds of a contract. Corresponds to the contract's full balance from which staked funds and unstake requests have been excluded. Identical to the 'balance_and_frozen_bonds' RPC.

    Declaration
    public RpcObject SpendableAndFrozenBonds { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    StakedBalance

    Gets the query to the staked balance of a contract (in mutez). Returns None if the contract is originated, or neither delegated nor a delegate.

    Declaration
    public RpcObject StakedBalance { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    Storage

    Gets the query to the data of the contract's storage

    Declaration
    public StorageQuery Storage { get; }
    Property Value
    Type Description
    StorageQuery
    | Improve this Doc View Source

    TicketBalance

    Gets the contract's balance of ticket with specified ticketer, content type, and content.

    Declaration
    public TicketBalanceQuery TicketBalance { get; }
    Property Value
    Type Description
    TicketBalanceQuery
    | Improve this Doc View Source

    UnstakedFinalizableBalance

    Gets the balance of a contract that was requested for an unstake operation, and is no longer frozen, which means it will appear in the spendable balance of the contract after any stake/unstake/finalize_unstake operation. Returns None if the contract is originated.

    Declaration
    public RpcObject UnstakedFinalizableBalance { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    UnstakedFrozenBalance

    Gets the balance of a contract that was requested for an unstake operation, but is still frozen for the duration of the slashing period. Returns None if the contract is originated.

    Declaration
    public RpcObject UnstakedFrozenBalance { get; }
    Property Value
    Type Description
    RpcObject
    | Improve this Doc View Source

    UnstakeRequests

    Gets the unstake requests of the contract. The requests that appear in the finalizable field can be finalized, which means that the contract can transfer these (no longer frozen) funds to their spendable balance with a [finalize_unstake] operation call.

    Declaration
    public RpcObject UnstakeRequests { get; }
    Property Value
    Type Description
    RpcObject
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © Baking Bad