com.casper.sdk.model.transaction.entrypoint.TransferEntryPoint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.
The newest version!
package com.casper.sdk.model.transaction.entrypoint;
/**
* The `transfer` native entry point, used to transfer `Motes` from a source purse to a target
* purse.
*
* Requires the following runtime args:
*
- source": `URef`
* - "target": `URef`
* - "amount": `U512`
*
* The following optional runtime args can also be provided:
*
- to": `Option(AccountHash)`
* - "id": `Option(u64)`
*
* @author [email protected]
*/
public class TransferEntryPoint extends TransactionEntryPoint {
public TransferEntryPoint() {
super((byte) TRANSFER_TAG, "Transfer");
}
}