Scan API related questions

Hi, I’ve encountered a issue with the Canton blockchain: When depositing funds into our platform from an external platform, our query program can retrieve transaction data from our self-built node. Then, I try to retrieve data from the official scan API, specifically:

https://scan.sv-1.global.canton.network.sync.global/api/scan/v2/updates/122098d8fc7b8d6dd3f844ed72ad441944b858b3c8a6f7edb5cd04de500e65fa627b

However, the first few queries failed, but after about 10 seconds, the data was retrieved. This indicates a data delay with https://scan.sv-1.global.canton.network.sync.global/api/scan.

My questions are:

1. Is a data delay with the scan API normal?

2. As a valiater node, can we build our own scan API? If we set it up, wouldn’t the real-time performance be higher?

1. Is a data delay with the scan API normal?

Yes some delay is expected.

2. As a valiater node, can we build our own scan API? If we set it up, wouldn’t the real-time performance be higher?

You can’t build a scan API. Your validator only observes transactions visible to parties hosted on your node whereas scan provides everything visible to the DSO party which is only visible to the super validators and then exposed through scan.

However, for the case of a deposit I would actually expect that this is visible to your validator so you should be able to query that through the ledger API update service on your own validator