Module java4ever.binding
Record Class Node.BlockchainAccount
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.gql.Node.BlockchainAccount
- All Implemented Interfaces:
Node
- Enclosing interface:
Node
public static record Node.BlockchainAccount(String id, String address, Integer acc_type, AccountStatusEnum acc_type_name, String balance, List<OtherCurrency> balance_other, String bits, String boc, String cells, String code, String code_hash, String data, String data_hash, String due_payment, String init_code_hash, Float last_paid, String last_trans_lt, String library, String library_hash, String prev_code_hash, String proof, String public_cells, Integer split_depth, String state_hash, Boolean tick, Boolean tock, Integer workchain_id)
extends Record
implements Node
**UNSTABLE**
# Account type
Recall that a smart contract and an account are the same thing in the context
of the TON Blockchain, and that these terms can be used interchangeably, at
least as long as only small (or “usual”) smart contracts are considered. A large
smart-contract may employ several accounts lying in different shardchains of
the same workchain for load balancing purposes.
An account is identified by its full address and is completely described by
its state. In other words, there is nothing else in an account apart from its
address and state.;
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.gql.Node
Node.BlockchainAccount, Node.BlockchainBlock, Node.BlockchainMessage, Node.BlockchainTransaction -
Constructor Summary
ConstructorsConstructorDescriptionBlockchainAccount(String id, String address, Integer acc_type, AccountStatusEnum acc_type_name, String balance, List<OtherCurrency> balance_other, String bits, String boc, String cells, String code, String code_hash, String data, String data_hash, String due_payment, String init_code_hash, Float last_paid, String last_trans_lt, String library, String library_hash, String prev_code_hash, String proof, String public_cells, Integer split_depth, String state_hash, Boolean tick, Boolean tock, Integer workchain_id) Creates an instance of aBlockchainAccountrecord class. -
Method Summary
Modifier and TypeMethodDescriptionacc_type()Returns the value of theacc_typerecord component.Returns the value of theacc_type_namerecord component.address()Returns the value of theaddressrecord component.balance()Returns the value of thebalancerecord component.static QueryExecutorBuilderbalance(String objectFieldsTree, BigIntFormat format) Returns the value of thebalance_otherrecord component.bits()Returns the value of thebitsrecord component.static QueryExecutorBuilderbits(String objectFieldsTree, BigIntFormat format) boc()Returns the value of thebocrecord component.cells()Returns the value of thecellsrecord component.static QueryExecutorBuildercells(String objectFieldsTree, BigIntFormat format) code()Returns the value of thecoderecord component.Returns the value of thecode_hashrecord component.data()Returns the value of thedatarecord component.Returns the value of thedata_hashrecord component.Returns the value of thedue_paymentrecord component.static QueryExecutorBuilderdue_payment(String objectFieldsTree, BigIntFormat format) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theinit_code_hashrecord component.Returns the value of thelast_paidrecord component.Returns the value of thelast_trans_ltrecord component.static QueryExecutorBuilderlast_trans_lt(String objectFieldsTree, BigIntFormat format) library()Returns the value of thelibraryrecord component.Returns the value of thelibrary_hashrecord component.Returns the value of theprev_code_hashrecord component.proof()Returns the value of theproofrecord component.Returns the value of thepublic_cellsrecord component.static QueryExecutorBuilderpublic_cells(String objectFieldsTree, BigIntFormat format) Returns the value of thesplit_depthrecord component.Returns the value of thestate_hashrecord component.tick()Returns the value of thetickrecord component.tock()Returns the value of thetockrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkchain_idrecord component.
-
Constructor Details
-
BlockchainAccount
public BlockchainAccount(String id, String address, Integer acc_type, AccountStatusEnum acc_type_name, String balance, List<OtherCurrency> balance_other, String bits, String boc, String cells, String code, String code_hash, String data, String data_hash, String due_payment, String init_code_hash, Float last_paid, String last_trans_lt, String library, String library_hash, String prev_code_hash, String proof, String public_cells, Integer split_depth, String state_hash, Boolean tick, Boolean tock, Integer workchain_id) Creates an instance of aBlockchainAccountrecord class.- Parameters:
id- the value for theidrecord componentaddress- the value for theaddressrecord componentacc_type- the value for theacc_typerecord componentacc_type_name- the value for theacc_type_namerecord componentbalance- the value for thebalancerecord componentbalance_other- the value for thebalance_otherrecord componentbits- the value for thebitsrecord componentboc- the value for thebocrecord componentcells- the value for thecellsrecord componentcode- the value for thecoderecord componentcode_hash- the value for thecode_hashrecord componentdata- the value for thedatarecord componentdata_hash- the value for thedata_hashrecord componentdue_payment- the value for thedue_paymentrecord componentinit_code_hash- the value for theinit_code_hashrecord componentlast_paid- the value for thelast_paidrecord componentlast_trans_lt- the value for thelast_trans_ltrecord componentlibrary- the value for thelibraryrecord componentlibrary_hash- the value for thelibrary_hashrecord componentprev_code_hash- the value for theprev_code_hashrecord componentproof- the value for theproofrecord componentpublic_cells- the value for thepublic_cellsrecord componentsplit_depth- the value for thesplit_depthrecord componentstate_hash- the value for thestate_hashrecord componenttick- the value for thetickrecord componenttock- the value for thetockrecord componentworkchain_id- the value for theworkchain_idrecord component
-
-
Method Details
-
balance
-
bits
-
cells
-
due_payment
-
last_trans_lt
-
public_cells
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
address
Returns the value of theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
acc_type
Returns the value of theacc_typerecord component.- Returns:
- the value of the
acc_typerecord component
-
acc_type_name
Returns the value of theacc_type_namerecord component.- Returns:
- the value of the
acc_type_namerecord component
-
balance
Returns the value of thebalancerecord component.- Returns:
- the value of the
balancerecord component
-
balance_other
Returns the value of thebalance_otherrecord component.- Returns:
- the value of the
balance_otherrecord component
-
bits
Returns the value of thebitsrecord component.- Returns:
- the value of the
bitsrecord component
-
boc
Returns the value of thebocrecord component.- Returns:
- the value of the
bocrecord component
-
cells
Returns the value of thecellsrecord component.- Returns:
- the value of the
cellsrecord component
-
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
code_hash
Returns the value of thecode_hashrecord component.- Returns:
- the value of the
code_hashrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
data_hash
Returns the value of thedata_hashrecord component.- Returns:
- the value of the
data_hashrecord component
-
due_payment
Returns the value of thedue_paymentrecord component.- Returns:
- the value of the
due_paymentrecord component
-
init_code_hash
Returns the value of theinit_code_hashrecord component.- Returns:
- the value of the
init_code_hashrecord component
-
last_paid
Returns the value of thelast_paidrecord component.- Returns:
- the value of the
last_paidrecord component
-
last_trans_lt
Returns the value of thelast_trans_ltrecord component.- Returns:
- the value of the
last_trans_ltrecord component
-
library
Returns the value of thelibraryrecord component.- Returns:
- the value of the
libraryrecord component
-
library_hash
Returns the value of thelibrary_hashrecord component.- Returns:
- the value of the
library_hashrecord component
-
prev_code_hash
Returns the value of theprev_code_hashrecord component.- Returns:
- the value of the
prev_code_hashrecord component
-
proof
Returns the value of theproofrecord component.- Returns:
- the value of the
proofrecord component
-
public_cells
Returns the value of thepublic_cellsrecord component.- Returns:
- the value of the
public_cellsrecord component
-
split_depth
Returns the value of thesplit_depthrecord component.- Returns:
- the value of the
split_depthrecord component
-
state_hash
Returns the value of thestate_hashrecord component.- Returns:
- the value of the
state_hashrecord component
-
tick
Returns the value of thetickrecord component.- Returns:
- the value of the
tickrecord component
-
tock
Returns the value of thetockrecord component.- Returns:
- the value of the
tockrecord component
-
workchain_id
Returns the value of theworkchain_idrecord component.- Returns:
- the value of the
workchain_idrecord component
-