Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigConnectorsType = ffc("config.connectors[].type", "The type of connector", "string") ConfigServerAddress = ffc("config.connectors[].server.address", "Local address for the FFCAPI connector server to listen on", "string") ConfigServerPort = ffc("config.connectors[].server.port", "Port for the FFCAPI connector server to listen on", "number") ConfigAPIPublicURL = ffc("config.connectors[].server.publicURL", "External address callers should access API over", "string") ConfigServerReadTimeout = ffc("config.connectors[].server.readTimeout", "The maximum time to wait when reading from an HTTP connection", "duration") ConfigServerWriteTimeout = ffc("config.connectors[].server.writeTimeout", "The maximum time to wait when writing to a HTTP connection", "duration") ConfigAPIShutdownTimeout = ffc("config.connectors[].server.shutdownTimeout", "The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server", i18n.TimeDurationType) ConfigEthereumURL = ffc("config.connectors[].ethereum.url", "URL of JSON/RPC endpoint for the Ethereum node/gateway", "string") ConfigEthereumProxyURL = ffc("config.connectors[].ethereum.proxy.url", "Optional HTTP proxy url", "string") ConfigEthereumDataFormat = ffc("config.connectors[].ethereum.dataFormat", "Configure the JSON data format for query output and events", "map,flat_array,self_describing") ConfigEthereumGasEstimationFactor = ffc("config.connectors[].ethereum.gasEstimationFactor", "The factor to apply to the gas estimation to determine the gas limit", "float") )
View Source
var ( MsgRequestTypeNotImplemented = ffe("FF23010", "FFCAPI request '%s' not currently supported") MsgBlockNotAvailable = ffe("FF23011", "Block not available") MsgReceiptNotAvailable = ffe("FF23012", "Receipt not available for transaction '%s'") MsgUnmarshalABIFail = ffe("FF23013", "Failed to parse method ABI: %s") MsgUnmarshalParamFail = ffe("FF23014", "Failed to parse parameter %d: %s") MsgGasPriceError = ffe("FF23015", `The gasPrice '%s' could not be parsed. Please supply a numeric string, or an object with 'gasPrice' field, or 'maxFeePerGas'/'maxPriorityFeePerGas' fields (EIP-1559)`) MsgInvalidOutputType = ffe("FF23016", "Invalid output type: %s") MsgInvalidGasPrice = ffe("FF23017", "Failed to parse gasPrice '%s': %s") MsgInvalidTXData = ffe("FF23018", "Failed to parse transaction data as hex '%s': %s") MsgInvalidFromAddress = ffe("FF23019", "Invalid 'from' address '%s': %s") MsgInvalidToAddress = ffe("FF23020", "Invalid 'to' address '%s': %s") MsgRevertedWithMessage = ffe("FF23021", "EVM reverted: %s") MsgRevertedRawRevertData = ffe("FF23022", "EVM reverted: %s") MsgReturnDataInvalid = ffe("FF23023", "EVM return data invalid: %s") MsgNotInitialized = ffe("FF23024", "Not initialized") MsgMissingBackendURL = ffe("FF23025", "URL must be set for the backend JSON/RPC endpoint") MsgBadVersion = ffe("FF23026", "Bad FFCAPI Version '%s': %s") MsgUnsupportedVersion = ffe("FF23027", "Unsupported FFCAPI Version '%s'") MsgUnsupportedRequestType = ffe("FF23028", "Unsupported FFCAPI request type '%s'") MsgMissingRequestID = ffe("FF23029", "Missing FFCAPI request id") MsgRPCRequestFailed = ffe("FF23030", "Backend RPC request failed") MsgUnknownConnector = ffe("FF23031", "Unknown connector type: '%s'") MsgBadDataFormat = ffe("FF23032", "Unknown data format option '%s' supported: %s") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.