starknet_estimateMessageFeeAsk AIpost https://api.zan.top/node/v1/starknet/mainnet/{apiKey}Estimates the resources required by the l1_handler transaction induced by the message.Path ParamsapiKeystringrequiredDefaults to publicFor higher throughput, please create your own API key.Body ParamsidintegerDefaults to 1jsonrpcstringDefaults to 2.0methodstringDefaults to starknet_estimateFeeparamsarraylength ≤ 2Defaults to [object Object],latestparams message | block_idmessageblock_idfrom_addressstringrequiredThe address of the L1 contract sending the messageto_addressstringrequiredThe target L2 address the message is sent toentry_point_selectorstringrequiredThe selector of the l1_handler in invoke in the target contractpayloadarrayrequiredThe payload of the messagePayload* string string string message | block_idmessageblock_idfrom_addressstringrequiredThe address of the L1 contract sending the messageto_addressstringrequiredThe target L2 address the message is sent toentry_point_selectorstringrequiredThe selector of the l1_handler in invoke in the target contractpayloadarrayrequiredThe payload of the messagePayload*Response 200The fee estimation.Updated 5 months ago