uniform api with BigInt