public class GasWithHold extends Object
| 构造器和说明 |
|---|
GasWithHold(Identity withHoldId,
List<byte[]> sigs) |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
createGasWithHold(Hash hash,
Identity identity,
List<SignerBase> signerBases)
生成完的byte数组需要放到request的extendsion里面 new Extension(4,byte[]);
|
List<byte[]> |
getSigs() |
Identity |
getWithHoldId() |
void |
setSigs(List<byte[]> sigs) |
void |
setWithHoldId(Identity withHoldId) |
byte[] |
toRlp() |
public Identity getWithHoldId()
public void setWithHoldId(Identity withHoldId)
public List<byte[]> getSigs()
public void setSigs(List<byte[]> sigs)
public byte[] toRlp()
public static byte[] createGasWithHold(Hash hash, Identity identity, List<SignerBase> signerBases)
hash - 交易hashidentity - 代扣Gas帐户的IdentitysignerBases - 代扣Gas帐户的私钥Copyright © 2022. All rights reserved.