Visit forta.org to learn more about Forta. See the developer documentation at docs.forta.network
We have a bug bounty program on Immunefi. Please report any security issues you find through the Immunefi dashboard, or reach out to tech@forta.org
filterLog as standalone utility functionTransactionEvent.addresses fielduniqueKey field in labelshealthCheck method to report bot healthsendAlerts SDK methodhandleAlerthandleAlerthandleAlertFinding.unique_key parsingget_labelsuniqueKey and source to findingslongDescription, licenseUrl, promoUrlgetLabels method to query the Forta API for labelsstake CLI command to stake on a detection botrun command to improve reliability of running bots locallyrun command to wait 60 seconds between alert queries for bots using handleAlert locallyalert.chainId fieldremove field for Labelsfilter_function bug in Python SDKfetchJwt SDK method to return mock value during developmentfetchJwt JS SDK method to return string instead of objectrepository URL to starter project package.jsonrun --file command to also accept hashesalert and sequence npm commands to starter projectsBotSubscription to make alertId optional and also allow passing alertIdshandleAlert handlerrunHandlersOnBlock and runHandlersOnTransaction methodssha3 dependency from Python SDKfetch_jwt method in the Python sdkfetchJwt, decodeJwt and verifyJwt to Typescript sdk for generating and verifying a jwt token from a scan nodefetch_jwt, decode_jwt, and verify_jwt to Python sdk for generating and verifying a jwt token from a scan nodeinfo commandgetAlerts to Typescript sdk to that fetches alerts using forta's alert graphql apiget_alerts to Python sdk to that fetches alerts using forta's alert graphql apirun command to print out warning instead of throwing errorinfo and logs commands as npm scripts of starter projectsuploadImage function to accept image tag suffixinfo and logschainIds arraypublish command when querying account balanceFinding.addressesaddresses field to Findingpublish CLI commandlogIndex in result of TransactionEvent.filterLogaddress in result of TransactionEvent.filterFunctionFinding.from alias method for Finding.fromObjectcontextPath when building imagechainIds to starter project package.jsonTransactionEvent.Receiptreceipt, status and gasUsed properties from TransactionEventgetTransactionReceipt convenience method to SDKrun command to not fetch transaction receiptsjsonRpcUrl to https://cloudflare-eth.comconfigureContainer methodinit command to also run npm installinit commandkeyfilePassword config field for CI/CD pipelinesipfsGatewayUrl to https://ipfs.forta.networkgetJsonRpcUrl to not throw error when running unit testsdescription field to agent manifest from package.jsonfilterLog and filterFunction commands--nocache option to forta-agent run command to disable writing to cacheforta-agent run command to process blocks sequentially when listening for realtime datachainIds in package.jsonsetPrivateFindings methodeverestId attribute of FindingfilterEvent method of TransactionEventforta-agent run commandforta-agent run commandgetEthersBatchProvider utility function to Javascript SDKkeccak256 utility function from Javascript and Python SDKaddress field to result of filterLog methodfrom property in agent manifestnetwork value in Python SDKnode12-alpineethers object from Javascript SDKgetEthersProvider convenience method to SDKfilterLog and filterFunction convenience methods to TransactionEvent in SDKweb3 object from Python SDKget_web3_provider convenience method to Python SDKfilter_log and filter_function convenience methods to TransactionEvent in Python SDKagentId config property to support Forta Connect publishingpush command in publish.loggetFortaConfig and get_forta_config from SDKpushkeyfilekeyfile npm script to starter projectsrepository field to agent manifestagentRegistryJsonRpcUrlenable and disableBlockEvent propertiesinit command to ensure that keystore folder existsagentId (derived from name) and version to package.jsondocumentation config property and hardcode to README.mdrun command to not scan over same blockinitialize() handler to SDKoutput field to TraceResultInfo option to FindingType enumjsonRpcUrl is http(s) onlyhex_to_int Python SDK method to accept integershex_to_int Python SDK convenience methodstatus not being set correctlyhandlers config property and hardcode agent filenamekeyfile config property to specify a keyfile when publishingcreateTransactionEvent and createBlockEvent utility methods for testsinit, run and publishjest type definitions to v27.0.1BlockEventtraceRpcUrl config property--config CLI arg to specify a config fileipfsGatewayAuthHeader config property to ipfsGatewayAuthpublish npm script to starter projectgetJsonRpcUrl and getFortaConfig SDK convenience methodsTransactionEvent properties in SDKFortaConfig type from SDKinit to use existing keyfile if one exists (instead of always creating new one)forta-agent npm packageinit, run and publish