Network.Mainnet : Network
Provides a Network object that represents the ARK Mainnet
Network.Devnet : Network
Provides a Network object that represents the ARK Devnet
GetHeaders(): Mapwarmup(): BooleanleftShift(Transaction): intgetRandomPeer(): Peer
timestamp : int
When the transaction took place
recipientId : String
The id of the recipient of the transaction
amount : long
Amount associated with the transaction
fee : long
Fee charged to send the transaction
type : TransactionType
Specifies if transaction is a normal, vote, or delegate creation
vendorField : String
Data to include with a transaction
signature : String
The signature using passphrase from sender
signSignature : String
The signature using passphrase from sender
senderPublicKey : String
The senders public key
requesterPublicKey : String
The receiver public key
asset : Map<String, Object>
TODO
id : String
ID of the transaction itself
toBytes(): byte[]toObject(): Mapsign(passphrase): StringsecondSign(passphrase): StringtoJson(): StringfromJson(json): TransactioncreateTransaction(recipientId, satoshiAmount, vendorField, passphrase): TransactioncreateVote(ArrayList votes, passphrase): TransactioncreateDelegate(String username, String passphrase: TransactioncreateSecondSignature(String secondPassphrase, String passphrase): Transaction
TransactionType.NORAML: 0TransactionType.SECONDSIGNATURE: 1TransactionType.VOTE: 2TransactionType.DELEGATE: 3
getByteValue(): Byte
Returns a byte representation of the enum value.
address : String
The address of the account
publicKey : String
The public key of the account
balance : long
The balance in the account
username : String
Username associated with this account
vote : long
The id who this account is voting for
votes : List
The id's of previous votes
rate : int
TODO
applyTransaction(): booleanundoTransaction(): booleanverifyTransaction(): Verification
networkVersion : Byte
sign(Transaction t, String passphrase): ECKey.DCDSASignaturesecondSign(Transaction t, String passphrase): ECKey.DCDSASignaturesignBytes(bytes[] bytes, String passphrase): ECKey.DCDSASignatureverify(Transaction t): booleanSecondverify(Transaction t, String secondPublicKeyHex): booleanverifyBytes(bytes[] bytes, byte[] signature, byte[] publicKey): booleangetBytes(Transaction t): byte[]getId(Transaction t): StringgetKeys(String passphrase): ECKeygetAddress(ECKey keys): StringgetAddress(String publicKey): String
ip : String
port : int
protocol : String
status : String
create(String string, networkHeaders = Network.Mainnet.headers): Peerrequest(String method, String path, body = [:])): FuturegetStatus(): MappostTransaction(Transaction transaction): MapgetPeers(): MapleftShift(Transaction transaction): Map