GetFunction - Query Move Function Details
Retrieve detailed Move function information via gRPC including parameters, return types, and visibility. Essential for smart contract integration with Dwellir.
Sui RPC endpoint: endpoint URLs, plans and pricing.
Retrieve detailed Move function information via gRPC including parameters, return types, and visibility. Essential for smart contract integration with Dwellir.
Method Signature
- Service:
sui.rpc.v2.MovePackageService - Method:
GetFunction - Type: Unary RPC
grpcurl \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"package_id": "0x2",
"module_name": "transfer",
"name": "transfer"
}' \
api-sui-mainnet-full.n.dwellir.com:443 \
sui.rpc.v2.MovePackageService/GetFunctionUsage notes
The request field is name, not function_name. The response wraps the descriptor in function.
Related resources
GetDatatype
Retrieve Move struct and datatype definitions via gRPC including fields and type parameters. Essential for understanding smart contract data structures with Dwellir.
GetPackage
Retrieve comprehensive Move package information via gRPC including modules, functions, and datatypes. Essential for smart contract exploration with Dwellir.