요금GitHub대시보드

Sui

sui_getNormalizedMoveStruct20 크레딧

Return a normalized Move struct

네트워크: sui

매개변수

이름타입설명
packagestringID of the Move package.
module_namestringName of the module.
struct_namestringName of the struct.

반환값

타입

object

SuiMoveNormalizedStruct: abilities, typeParameters and fields.

코드 예제

curl https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getNormalizedMoveStruct",
  "params": [
    "0x0000000000000000000000000000000000000000000000000000000000000002",
    "coin",
    "Coin"
  ]
}'