swap to get chains