sui icon indicating copy to clipboard operation
sui copied to clipboard

Inconsistent type of Sui

Open BladeRunner713 opened this issue 3 years ago • 0 comments

I got Sui type as 0000000000000000000000000000000000000002::sui::SUI using move function type_name::get<T>(), T here is SUi. However, I got 0x2::sui::SUI using ts-SDK Coin.getCoinTypeArg().

I know they are both correct, but is there a way to get a consistent type?

BladeRunner713 avatar Nov 05 '22 07:11 BladeRunner713