planetarium / lib9c-wasm

The experimental project to port Lib9c into JavaScript environment through WASM. Build your Nine Chronicles network transaction in your local at once.
https://planetarium.github.io/lib9c-wasm/
GNU General Public License v3.0
5 stars 2 forks source link

Support .NET types in TypeScript Manually #2

Closed moreal closed 1 year ago

moreal commented 1 year ago

For buy12 action, it requires Guid and Address but lib9c-wasm represents them as string.

{
  errors: {
    Item1: string;
    Item2: number;
  }[];
  purchaseInfos: {
    OrderId: string;
    TradableId: string;
  }[];
  buyerAvatarAddress: string;
}