feat: support commitment in getConfirmed methods