I have the following address as a hex value
0x7ffd862ad4e0 and I used the function p64 from pwn and
0x7ffd862ad4e0
to_bytes() `addr_x = addr_x.to_by
to_bytes()