add payload length to getPrecheckPayload