Simulate transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates a transaction without committing it.
Expiration timestamps must have whole-second precision. Shared or party objects transferred by value are resolved as mutable; explicitly supplied mutability (or mutable when mutability is absent) is preserved. Incompatible mutability produces a failed simulation.
gRPC method: sui.rpc.v2.TransactionExecutionService.SimulateTransaction (unary).
This is a gRPC method (HTTP/2, Protocol Buffers), not a REST endpoint. The request and response bodies below are shown in the proto3 JSON form that tools such as grpcurl and Postman accept and print. Pass your NOWNodes API key as the api-key gRPC metadata header. Proto files: sui/rpc/v2/transaction_execution_service.proto.
Example grpcurl request:
grpcurl \
-insecure \
-H 'api-key: YOUR_API_KEY' \
-emit-defaults \
-proto './sui-apis-grpc/proto/sui/rpc/v2/transaction_execution_service.proto' \
-import-path './sui-apis-grpc/proto' \
-d '{"transaction": {}, "checks": "ENABLED", "doGasSelection": true}' \
'sui-grpc.nownodes.io' \
sui.rpc.v2.TransactionExecutionService.SimulateTransactionBody
Response
Successful response.
gRPC error. The status code (e.g. UNAUTHENTICATED, INVALID_ARGUMENT, NOT_FOUND) is returned in the grpc-status trailer, details in grpc-message.