That would depend on whether you are entitled to work at this time. If you are currently in H status, you would be entitled to the salary as stated on the H-1B petition. If not, you would have to wait for the approval to begin employment with the petitioner.