swapRecord

Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation