Skip to content

Commit b4d0d48

Browse files
committed
fix(docs): correct function name for attestation request in EVM guide
1 parent 725b7c8 commit b4d0d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fdc/guides/data-connector-evm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ The next step is to request attestation on the Flare Data Connector smart contra
260260

261261
Once the attestation is requested you can calculate the `roundId` - The Data Connector round that was in the collect phase the moment the attestation was requested.
262262
When the round is finalized (this usually takes between 90-180 seconds), you will be able to extract the Merkle proof and use it to verify the attestation.
263-
To submit the attestation request, we will use the `requestAttestations` function on the `FDCHub` contract and get the `roundId` from the transaction receipt.
263+
To submit the attestation request, we will use the `requestAttestation` function on the `FDCHub` contract and get the `roundId` from the transaction receipt.
264264
We are now interacting with the blockchain directly - so we will need the ABI of the FDC and it's address.
265265
The provided script uses hardcoded ABI and address for the Coston testnet for simplicity, but anything more than a simple test should use get the address from `ContractRegistry` and the ABI from Flare' official abi library to ensure compatibility with the latest version of the contract.
266266

0 commit comments

Comments
 (0)