Type Alias: IotaTransaction
type IotaTransaction =
| {
MoveCall: MoveCallIotaTransaction;
}
| {
TransferObjects: [IotaArgument[], IotaArgument];
}
| {
SplitCoins: [IotaArgument, IotaArgument[]];
}
| {
MergeCoins: [IotaArgument, IotaArgument[]];
}
| {
Publish: string[];
}
| {
Upgrade: [string[], string, IotaArgument];
}
| {
MakeMoveVec: [string | null, IotaArgument[]];
};
A single transaction in a programmable transaction block.
Type Declaration
{
MoveCall: MoveCallIotaTransaction;
}
| Name | Type |
|---|---|
MoveCall | MoveCallIotaTransaction |
A call to either an entry or a public Move function
{
TransferObjects: [IotaArgument[], IotaArgument];
}
| Name | Type |
|---|---|
TransferObjects | [IotaArgument[], IotaArgument] |
{
SplitCoins: [IotaArgument, IotaArgument[]];
}
| Name | Type |
|---|---|
SplitCoins | [IotaArgument, IotaArgument[]] |
{
MergeCoins: [IotaArgument, IotaArgument[]];
}
| Name | Type |
|---|---|
MergeCoins | [IotaArgument, IotaArgument[]] |
{
Publish: string[];
}
| Name | Type |
|---|---|
Publish | string[] |
{
Upgrade: [string[], string, IotaArgument];
}
| Name | Type |
|---|---|
Upgrade | [string[], string, IotaArgument] |
{
MakeMoveVec: [string | null, IotaArgument[]];
}
| Name | Type |
|---|---|
MakeMoveVec | [string | null, IotaArgument[]] |