This performs the same validation chain previously used by the CLI/action:
Ensure basic wallet requirements (FIL for gas, USDFC balance)
Confirm or configure WarmStorage allowances
Validate that the current deposit can cover the upload
The function only mutates state when autoConfigureAllowances is enabled
(default), in which case it will call setMaxAllowances as needed.
Session Key Authentication: When using session key authentication,
autoConfigureAllowances is automatically disabled since payment operations
require the owner wallet to sign. Allowances must be configured separately
by the owner wallet before uploads can proceed.
Check readiness for uploading a CAR file.
This performs the same validation chain previously used by the CLI/action:
The function only mutates state when
autoConfigureAllowancesis enabled (default), in which case it will call setMaxAllowances as needed.Session Key Authentication: When using session key authentication,
autoConfigureAllowancesis automatically disabled since payment operations require the owner wallet to sign. Allowances must be configured separately by the owner wallet before uploads can proceed.