GetEstimatedFee()

Summary

RouteTypeExample
Monitor/GetEstimatedFeePOSThttp://apinode.credits.com/api/monitor/getestimatedfee

Description

Get transaction fee.

Request

Request Structure

JSON
Copy

Request Parameters

int: transactionSize - Transaction size in bytes

int: trType- Transaction type. 0 - normal, 1 - token transfer, 2 - contract deploy, 3 - contract execute

Response

JSON output depends on the request type and its success.

If there’s an error, request returns to the node basic Result:

  • Success: False
  • Message:

If successful, requested information is returned.

Response Structure

JSON
Copy

Example Code

Python
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard