Builder

class Builder
Nervos script
Protobuf type TW.Nervos.Proto.Script

Functions

Link copied to clipboard
args
bytes args = 3;
Link copied to clipboard
Code hash
bytes code_hash = 1;
Link copied to clipboard
Hash type
string hash_type = 2;
Link copied to clipboard
open fun getArgs(): ByteString
args
bytes args = 3;
Link copied to clipboard
open fun getCodeHash(): ByteString
Code hash
bytes code_hash = 1;
Link copied to clipboard
open fun getHashType(): String
Hash type
string hash_type = 2;
Link copied to clipboard
open fun getHashTypeBytes(): ByteString
Hash type
string hash_type = 2;
Link copied to clipboard
open fun setArgs(value: ByteString): Nervos.Script.Builder
args
bytes args = 3;
Link copied to clipboard
open fun setCodeHash(value: ByteString): Nervos.Script.Builder
Code hash
bytes code_hash = 1;
Link copied to clipboard
Hash type
string hash_type = 2;
Link copied to clipboard
open fun setHashTypeBytes(value: ByteString): Nervos.Script.Builder
Hash type
string hash_type = 2;