接口 Contract.TransactionOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Contract.Transaction, Contract.Transaction.Builder
封闭类:
Contract

public static interface Contract.TransactionOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • 方法详细资料

    • getTxid

      String getTxid()
       txid is the id of this transaction
       
      string txid = 1;
      返回:
      The txid.
    • getTxidBytes

      com.google.protobuf.ByteString getTxidBytes()
       txid is the id of this transaction
       
      string txid = 1;
      返回:
      The bytes for txid.
    • getBlockid

      String getBlockid()
       the blockid the transaction belong to
       
      string blockid = 2;
      返回:
      The blockid.
    • getBlockidBytes

      com.google.protobuf.ByteString getBlockidBytes()
       the blockid the transaction belong to
       
      string blockid = 2;
      返回:
      The bytes for blockid.
    • getTxInputsList

      List<Contract.TxInput> getTxInputsList()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
    • getTxInputs

      Contract.TxInput getTxInputs​(int index)
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
    • getTxInputsCount

      int getTxInputsCount()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
    • getTxInputsOrBuilderList

      List<? extends Contract.TxInputOrBuilder> getTxInputsOrBuilderList()
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
    • getTxInputsOrBuilder

      Contract.TxInputOrBuilder getTxInputsOrBuilder​(int index)
       Transaction input list
       
      repeated .xchain.contract.sdk.TxInput tx_inputs = 3;
    • getTxOutputsList

      List<Contract.TxOutput> getTxOutputsList()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
    • getTxOutputs

      Contract.TxOutput getTxOutputs​(int index)
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
    • getTxOutputsCount

      int getTxOutputsCount()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
    • getTxOutputsOrBuilderList

      List<? extends Contract.TxOutputOrBuilder> getTxOutputsOrBuilderList()
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
    • getTxOutputsOrBuilder

      Contract.TxOutputOrBuilder getTxOutputsOrBuilder​(int index)
       Transaction output list
       
      repeated .xchain.contract.sdk.TxOutput tx_outputs = 4;
    • getDesc

      com.google.protobuf.ByteString getDesc()
       Transaction description or system contract
       
      bytes desc = 6;
      返回:
      The desc.
    • getInitiator

      String getInitiator()
       权限系统新增字段
       交易发起者, 可以是一个Address或者一个Account
       
      string initiator = 26;
      返回:
      The initiator.
    • getInitiatorBytes

      com.google.protobuf.ByteString getInitiatorBytes()
       权限系统新增字段
       交易发起者, 可以是一个Address或者一个Account
       
      string initiator = 26;
      返回:
      The bytes for initiator.
    • getAuthRequireList

      List<String> getAuthRequireList()
       交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
       
      repeated string auth_require = 27;
      返回:
      A list containing the authRequire.
    • getAuthRequireCount

      int getAuthRequireCount()
       交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
       
      repeated string auth_require = 27;
      返回:
      The count of authRequire.
    • getAuthRequire

      String getAuthRequire​(int index)
       交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
       
      repeated string auth_require = 27;
      参数:
      index - The index of the element to return.
      返回:
      The authRequire at the given index.
    • getAuthRequireBytes

      com.google.protobuf.ByteString getAuthRequireBytes​(int index)
       交易发起需要被收集签名的AddressURL集合信息,包括用于utxo转账和用于合约调用
       
      repeated string auth_require = 27;
      参数:
      index - The index of the value to return.
      返回:
      The bytes of the authRequire at the given index.