Function register_product2
- register_product2(plainValue): Uint8Array
-
Parameters
-
plainValue: {
AvatarAddress: Address;
ChargeAp: boolean;
RegisterInfos: {
Asset: FungibleAssetValue;
AvatarAddress: Address;
Price: FungibleAssetValue;
Type: "Fungible" | "FungibleAssetValue" | "NonFungible";
} | {
AvatarAddress: Address;
ItemCount: number;
Price: FungibleAssetValue;
TradableId: Guid;
Type: "Fungible" | "FungibleAssetValue" | "NonFungible";
}[];
}
-
AvatarAddress: Address
-
ChargeAp: boolean
-
RegisterInfos: {
Asset: FungibleAssetValue;
AvatarAddress: Address;
Price: FungibleAssetValue;
Type: "Fungible" | "FungibleAssetValue" | "NonFungible";
} | {
AvatarAddress: Address;
ItemCount: number;
Price: FungibleAssetValue;
TradableId: Guid;
Type: "Fungible" | "FungibleAssetValue" | "NonFungible";
}[]
Returns Uint8Array