OSDN Git Service
(root)
/
bytom
/
bytom-java-sdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57378c1
)
add retire setArbitrary
author
wyjDoraemon
<wyjDoraemon@163.com>
Fri, 4 Jan 2019 02:25:37 +0000
(10:25 +0800)
committer
wyjDoraemon
<wyjDoraemon@163.com>
Fri, 4 Jan 2019 02:25:37 +0000
(10:25 +0800)
src/main/java/io/bytom/api/Transaction.java
patch
|
blob
|
history
diff --git
a/src/main/java/io/bytom/api/Transaction.java
b/src/main/java/io/bytom/api/Transaction.java
index
d848986
..
42accee
100644
(file)
--- a/
src/main/java/io/bytom/api/Transaction.java
+++ b/
src/main/java/io/bytom/api/Transaction.java
@@
-824,7
+824,14
@@
public class Transaction {
this.put("asset_id", id);
return this;
}
-
+ /**
+ * @param arbitrary message to be on the chain (must be hexadecimal)
+ * @return updated action object
+ */
+ public Retire setArbitrary(String arbitrary){
+ this.put("arbitrary",arbitrary);
+ return this;
+ }
public Retire setAccountAlias(String alias) {
this.put("account_alias", alias);
return this;